Inject certs into docsis 1.1/2 modems with bcm and factory mode enabled

Anything related to script should go here.
Post Reply
thalungzz
Junior Member
Posts: 3
Joined: Wed Jul 30, 2008 6:44 pm

Inject certs into docsis 1.1/2 modems with bcm and factory mode enabled

Post by thalungzz »

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: Select all

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.
CAPONE
Junior Member
Posts: 5011
Joined: Sat Dec 27, 2008 3:25 pm

Post by CAPONE »

thalungzz wrote: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."
DISHFEAR
Junior Member
Posts: 141
Joined: Tue Jan 22, 2008 11:53 pm

Post by DISHFEAR »

This script actually answered a few new questions I had . Thanks for sharing
dennisB
Junior Member
Posts: 36
Joined: Sat Oct 22, 2011 6:08 am

inject certs

Post by dennisB »

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
thaclient
Junior Member
Posts: 20
Joined: Fri Feb 03, 2012 4:43 pm

Post by thaclient »

CAPONE wrote: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?
CAPONE
Junior Member
Posts: 5011
Joined: Sat Dec 27, 2008 3:25 pm

Post by CAPONE »

thaclient wrote: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."
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests