USB JTAG  

Go Back   USB JTAG > General > Script Forum

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-07-2012, 10:19 PM
thalungzz thalungzz is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default Inject certs into docsis 1.1/2 modems with bcm and factory mode enabled

Here is a simple script I use to inject certs, mac and serial. Just add in the values (certs and macs) after the X and also no spcaes or colons ( in the macs only characters (010203a2s3d4)

Code:
snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.4.0 x MACHERE
snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.3.0 x CPEMACHERE
snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.61.0 x USBMACHERE

snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.6.0 s "SERIALNUMBER"

pause


REM cmFactoryBigRSAPublicKey

snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.50.0 x 

pause

REM cmFactoryBigRSAPrivateKey

snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.51.0 x

pause

REM cmFactoryCMCertificate

snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.52.0 x 

pause

REM cmFactoryManCertificate

snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.53.0 x 

pause



snmpset -v2c -c mamgafds 192.168.100.1:161 1.3.6.1.4.1.1166.1.19.4.54.0 x 

pause

Paste into notepad and save as anything.bat and run it with your ip set to 192.168.100.1/255.255.255.0/1992.168.100.1 and your modem in factory mode.
Reply With Quote
  #2  
Old 11-08-2012, 04:40 AM
CAPONE CAPONE is offline
Senior Member
 
Join Date: Dec 2008
Posts: 5,083
Default

Quote:
Originally Posted by thalungzz View Post
Here is a simple script I use to inject certs, mac and serial. Just add in the values (certs and macs) after the X and also no spcaes or colons ( in the macs only characters (010203a2s3d4)

Paste into notepad and save as anything.bat and run it with your ip set to 192.168.100.1/255.255.255.0/1992.168.100.1 and your modem in factory mode.
What model Modems you use this on? Just entering the values of MAC and Serial is Not enough..... That worked well about 3 years ago.......... LMFAO
__________________
"If you give a man a fish you feed him for a day. If you teach a man to fish you feed him for a lifetime."

Last edited by CAPONE; 11-12-2012 at 11:44 AM.
Reply With Quote
  #3  
Old 11-08-2012, 04:59 PM
DISHFEAR DISHFEAR is offline
Senior Member
 
Join Date: Jan 2008
Posts: 141
Default

This script actually answered a few new questions I had . Thanks for sharing
Reply With Quote
  #4  
Old 01-26-2013, 07:45 PM
dennisB dennisB is offline
Member
 
Join Date: Oct 2011
Posts: 36
Default inject certs

Can someone please point me to how to use ujmodem to inject the certs, I have been looking and doing searchs but have not find a direction on it, I see the option to insert but am sure am not doing it right
Reply With Quote
  #5  
Old 02-16-2014, 08:35 PM
thaclient thaclient is offline
Junior Member
 
Join Date: Feb 2012
Posts: 20
Default

Quote:
Originally Posted by CAPONE View Post
What model Modems you use this on? Just entering the values of MAC and Serial is Not enough..... That worked well about 3 years ago.......... LMFAO

I think you missed the most important part about the "certs" maybe you were lmao'ing too much and missed it?
Reply With Quote
  #6  
Old 02-17-2014, 02:59 PM
CAPONE CAPONE is offline
Senior Member
 
Join Date: Dec 2008
Posts: 5,083
Default

Quote:
Originally Posted by thaclient View Post
I think you missed the most important part about the "certs" maybe you were lmao'ing too much and missed it?
And you like two F'ing years too Late. FR
__________________
"If you give a man a fish you feed him for a day. If you teach a man to fish you feed him for a lifetime."
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 08:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.