Welcome to Sky User - The unofficial support forum for everything Sky! - Now helping over 41,800 members.

See less ads - Join SkyUser today

DG934G Source Code

This is a discussion on DG934G Source Code within the Technical discussion forums, part of the Technical help category; I wonder if there is some brave soul out there with a new (black) Netgear router that they can afford ...

Closed Thread
  LinkBack (25) Thread Tools Display Modes
  #11  
Old 08-01-08, 05:38 PM
James67's Avatar
Sky User Member
Exchange:
Broadband ISP: Max
Router: Netgear V1 DG834GT
Sky TV:
 
Join Date: Sep 2007
Posts: 1,775
Blog Entries: 3
Thanks: 2
Thanked 79 Times in 23 Posts
Re: DG934G Source Code

I wonder if there is some brave soul out there with a new (black) Netgear router that they can afford to trash (for example, if they've got two routers). I've modified the standard Sky firmware so that (hopefully) it has the telnet daemon enabled. The problem is that I don't have one of the new Netgear routers, so this firmware is completely untested. It may not work. It may render your router irreparably damaged. Please, please, please don't attempt to load it unless you can afford to run the (hopefully small) risk of it trashing your router.

Anyway, here's the modified image: DG934G-1SKUKS_V2.02.34-telnet.img

It should be possible to use the router update page on the router to load this new firmware. In fact, if that doesn't work, DON'T try and force it on the router (by, for example, using the Netgear Recovery Utility).

Once the update is complete and the router has rebooted, it should appear to be exactly as it was before, except that you can now telnet into the router. It should then be possible to extract the connection username and password by doing the following:
  1. Telnet to the router
  2. Type ps
  3. Look through the output of the ps command and find the process ID (PID) of the /usr/sbin/pppd process. The PID is the first number of each line of output.
  4. Change directory to that process's entry in the /proc directory. So, for example, if /usr/sbin/pppd has a PID of 749, then cd to the /proc/749 directory.
  5. Type cat cmdline
  6. The output will be a bit garbled because it doesn't have spaces, but the username should be visible between the words username and password, and the password should be there between the words password and mru.
And once again, this procedure is completely untested and it may render your router useless. Do NOT do it unless you know what you're doing and are not dependent on the router. You HAVE been WARNED!


SkyUser make this information available in the interests of our members. Please do not upgrade your FW unless you fully understand the risks that it could go wrong and render your router useless. Please remember also, that it is against the Terms and Conditions of Sky Broadband. You also run a high risk of having your Broadband Connection suspended as well as receiving no Technical Support.

Last edited by NewsreadeR; 09-01-08 at 08:30 PM. Reason: added disclaimer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
The Following User Says Thank You to James67 For This Useful Post:
daxing (09-05-08)
  #12  
Old 08-01-08, 05:51 PM
richone54's Avatar
Sky User Member
Exchange: watford
Broadband ISP: O2
Router: Non Sky Router
Sky TV: Sky+
 
Join Date: Aug 2007
Location: Watford
Posts: 2,555
Thanks: 2
Thanked 43 Times in 43 Posts
Send a message via MSN to richone54
Re: DG934G Source Code

James, why do you not turn off your router and phone sky saying your router has blown up, you may get the netgear as a replacement ?

(i do understand as a honest gentlemen you may not want to do something as sneaky as this, and would not like to suggest anyone does do this )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #13  
Old 08-01-08, 06:01 PM
routernoob's Avatar
Sky User Member
Exchange:
Broadband ISP: Base
Router:
Sky TV:
 
Join Date: Jan 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: DG934G Source Code

It works, the V2 Netgear was succesfully flashed using your method. And is now connected to Sky BB

Quote:

BusyBox v0.61.pre (2007.04.27-14:16+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ps
PID Uid VmSize Stat Command
1 root 1256 S init
2 root S [keventd]
3 root S [ksoftirqd_CPU0]
4 root S [kswapd]
5 root S [bdflush]
6 root S [kupdated]
7 root S [mtdblockd]
45 root 620 S /sbin/klogd
46 root 620 S /usr/sbin/utelnetd -d -l /bin/ash
74 root 684 S /usr/sbin/mini_httpd -d /www -r BSkyB DG934G -c **c
76 root 652 S /usr/sbin/udhcpd /etc/udhcpd.conf
78 root 616 S /usr/sbin/netgear_ntp -z GMT+0
125 root 1152 S wpa_auth
132 root 624 S /usr/sbin/crond
134 root 644 S /sbin/syslogd -f /etc/syslog.conf
135 root 620 S /usr/sbin/scfgmgr
139 root 604 S /usr/sbin/cmd_agent_ap
140 root 604 S /usr/sbin/pb_ap
142 root 604 S /usr/sbin/los
163 root 1256 S init
274 root 2348 S SERCOMM
302 root 1156 S dnrd -a 192.168.0.1 -m hosts -c off --timeout=0 -b -
327 root 2132 S /usr/sbin/upnpd
330 root 2132 S /usr/sbin/upnpd
333 root 2132 S /usr/sbin/upnpd
335 root 2132 S /usr/sbin/upnpd
336 root 2132 S /usr/sbin/upnpd
340 root 2132 S /usr/sbin/upnpd
506 root 636 S IGMPProxy -v -n ppp0
512 root 220 S /usr/sbin/provisioning_ap h
567 root 1260 S /bin/ash
568 root 1256 R ps
#
#

Last edited by routernoob; 08-01-08 at 06:13 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #14  
Old 08-01-08, 06:23 PM
James67's Avatar
Sky User Member
Exchange:
Broadband ISP: Max
Router: Netgear V1 DG834GT
Sky TV:
 
Join Date: Sep 2007
Posts: 1,775
Blog Entries: 3
Thanks: 2
Thanked 79 Times in 23 Posts
Re: DG934G Source Code

Dammit! They've hacked the code so that it replaces the pppd command line with the string SERCOMM.
Code:
                // Ethan hack it for SKY for hiding pppoa password 2006/10/20
                if (strstr(buffer,"pppd"))
                {
                        strncpy(buffer,"SERCOMM\0",8);
                        res=8;
                }
They're not making this easy, are they.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #15  
Old 08-01-08, 06:30 PM
HSNetwork's Avatar
Sky User Beta tester
Exchange: SLRF
Broadband ISP: Max going to O2 Pro
Router: Netgear V1 DG834GT
Sky TV: Sky Basic
 
Join Date: Dec 2007
Location: Nottinghamshire
Posts: 506
Blog Entries: 6
Thanks: 0
Thanked 11 Times in 10 Posts
Re: DG934G Source Code

Well,

I am already drawing up a tutorial on how to flash the router with this modified firmware. If you were to find a way to extract the username and password then this would be ideal as I could build this into the tutorial.

Might need a replacement netgear though
__________________
Regards,

Tom (HSNetwork)

A Word of advice :-
"Dont ever p*** of your Network/System/Server Admin. Any responsible IT Admin will know more about you than you know about yourself, just ask those that have wronged me.


How to set up Wireless on your Ipod Touch / IPhone (PDF including pictures)
How to set up Sky Emails on your Ipod Touch / Iphone (PDF including pictures)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #16  
Old 08-01-08, 06:32 PM
NewsreadeR's Avatar
Site Founder
Exchange: Marshalls Cross
Broadband ISP: o2 Standard
Router: Non Sky Router
Sky TV: Sky+ HD
 
Join Date: Aug 2006
Location: St Helens
Posts: 16,645
Blog Entries: 34
Thanks: 75
Thanked 479 Times in 417 Posts
Re: DG934G Source Code

Quote:
Originally Posted by The_Local_Ned View Post
I dont want to step on anyones toes here guys , but maybe asking the help of someone from this site...

Routertech

....could get us the answers we need , these guys produce their own firmwares for ar7 based routers using GPL. They might know some way to help us analyse the sky branded routers firmware structure.

Just an idea ?

Invite them over
__________________
~ Never, ever, argue with an idiot. They'll drag you down to their level and beat you with experience ~

You can now use Tapatalk to view or post on here, search for SkyUser.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #17  
Old 08-01-08, 07:26 PM
James67's Avatar
Sky User Member
Exchange:
Broadband ISP: Max
Router: Netgear V1 DG834GT
Sky TV:
 
Join Date: Sep 2007
Posts: 1,775
Blog Entries: 3
Thanks: 2
Thanked 79 Times in 23 Posts
Re: DG934G Source Code

Right I think I've got it now. I've updated the modified image so that the pppd program is now referred to as PPPd (it's a symbolic link to the pppd file). This should get around the piece of code that makes the pppd command line invisible, thus enabling you to see the username and password.

In the output of the ps program, there should be an line with /usr/sbin/PPPd (instead of SERCOMM).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #18  
Old 08-01-08, 07:37 PM
routernoob's Avatar
Sky User Member
Exchange:
Broadband ISP: Base
Router:
Sky TV:
 
Join Date: Jan 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: DG934G Source Code

This is after the second FW

Quote:

BusyBox v0.61.pre (2007.04.27-14:16+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ps
PID Uid VmSize Stat Command
1 root 1256 S init
2 root S [keventd]
3 root R [ksoftirqd_CPU0]
4 root S [kswapd]
5 root S [bdflush]
6 root S [kupdated]
7 root S [mtdblockd]
45 root 620 S /sbin/klogd
46 root 620 S /usr/sbin/utelnetd -d -l /bin/ash
74 root 684 S /usr/sbin/mini_httpd -d /www -r BSkyB DG934G -c **c
76 root 652 S /usr/sbin/udhcpd /etc/udhcpd.conf
78 root 616 S /usr/sbin/netgear_ntp -z GMT+0
125 root 1152 S wpa_auth
132 root 624 S /usr/sbin/crond
134 root 644 S /sbin/syslogd -f /etc/syslog.conf
135 root 620 S /usr/sbin/scfgmgr
139 root 604 S /usr/sbin/cmd_agent_ap
140 root 604 S /usr/sbin/pb_ap
142 root 604 S /usr/sbin/los
163 root 1256 S init
192 root 2348 S /usr/sbin/PPPd plugin pppoa 0.38 user removed@s
214 root 1156 S dnrd -a 192.168.0.1 -m hosts -c off --timeout=0 -b -
236 root 2124 S /usr/sbin/upnpd
241 root 2124 S /usr/sbin/upnpd
242 root 2124 S /usr/sbin/upnpd
247 root 2124 S /usr/sbin/upnpd
248 root 2124 S /usr/sbin/upnpd
252 root 2124 S /usr/sbin/upnpd
407 root 636 S IGMPProxy -v -n ppp0
413 root 216 S /usr/sbin/provisioning_ap h
417 root 1260 S /bin/ash
422 root 1256 R ps
#
#
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #19  
Old 08-01-08, 07:48 PM
James67's Avatar
Sky User Member
Exchange:
Broadband ISP: Max
Router: Netgear V1 DG834GT
Sky TV:
 
Join Date: Sep 2007
Posts: 1,775
Blog Entries: 3
Thanks: 2
Thanked 79 Times in 23 Posts
Re: DG934G Source Code

Jeez how many layers of protection does this thing have?

Don't worry though, I've still got some more ideas.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
  #20  
Old 08-01-08, 07:48 PM
HSNetwork's Avatar
Sky User Beta tester
Exchange: SLRF
Broadband ISP: Max going to O2 Pro
Router: Netgear V1 DG834GT
Sky TV: Sky Basic
 
Join Date: Dec 2007
Location: Nottinghamshire
Posts: 506
Blog Entries: 6
Thanks: 0
Thanked 11 Times in 10 Posts
Re: DG934G Source Code

Tutorial on its way to make it easy to follow

With a huge great thanks to James67
__________________
Regards,

Tom (HSNetwork)

A Word of advice :-
"Dont ever p*** of your Network/System/Server Admin. Any responsible IT Admin will know more about you than you know about yourself, just ask those that have wronged me.


How to set up Wireless on your Ipod Touch / IPhone (PDF including pictures)
How to set up Sky Emails on your Ipod Touch / Iphone (PDF including pictures)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Closed Thread

Tags
code, dg934g, source

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.skyuser.co.uk/forum/technical-discussion/19011-dg934g-source-code.html
Posted By For Type Date
Help! Can't connect PS3 to new Netgear DG834GSP v3 - PLAYSTATIONŽNetwork - Official PlayStation Community -PlayStation.com This thread Refback 11-11-08 10:44 AM
ISPreview.co.uk Forum - Sky Netgear V2 DG934G has been cracked This thread Refback 23-09-08 03:43 PM
Sky`s new netgear router has been hacked - HEXUS.community discussion forums This thread Refback 23-07-08 04:18 PM
bskyb dg934G password | BoardReader This thread Refback 30-06-08 09:40 PM
bskyb dg934G password :: BoardReader This thread Refback 25-03-08 02:49 PM
Untitled document This thread Refback 21-03-08 02:23 AM
Sky Netgear V2 DG934G has been cracked - ISPr Forum This thread Refback 04-03-08 05:01 PM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 02-03-08 08:56 PM
netgear dg934g hacking :: BoardReader This thread Refback 02-03-08 07:20 PM
dg934g :: BoardReader This thread Refback 27-02-08 08:34 AM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 23-02-08 06:32 AM
Sky Netgear V2 DG934G has been cracked - ISPr Forum This thread Refback 20-02-08 09:55 AM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 16-02-08 11:08 PM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 07-02-08 03:31 PM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 06-02-08 05:00 PM
Sky Netgear V2 DG934G has been cracked - ISPr Forum This thread Refback 21-01-08 11:06 AM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 20-01-08 08:18 PM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 14-01-08 07:33 PM
dg934g username :: BoardReader This thread Refback 10-01-08 05:48 PM
Sky Netgear V2 DG934G has been cracked - ISPr Forum This thread Refback 09-01-08 07:03 AM
Sky Netgear V2 DG934G has been cracked - ISPr Forum This thread Refback 08-01-08 10:12 PM
Sky Netgear V2 DG934G has been cracked - ISPr Forum This thread Refback 08-01-08 09:15 PM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 08-01-08 09:06 PM
V2 Netgear Hacked - Username and Password is there - Sky Broadband - Digital Spy Forums This thread Refback 08-01-08 09:03 PM
dg934g :: BoardReader This thread Refback 06-01-08 09:53 AM


All times are GMT. The time now is 06:09 PM.