Saturday, October 17, 2009

HACK YOUR ADSL MODEM(BEETEL,DIGICOM,TP-LINK,PROLINK)



HACK YOUR ADSL MODEM(BEETEL,DIGICOM,TP-LINK,PROLINK)



Hack # 1 : How to Login into RouterLogin over telnet. This is a common feature of all router these days and this the only way to hack into box:Default IP: 192.168.1.1Default Username: adminDefault Password: passwordI have changed IP of router to 192.168.1.254 so here is my first session:$ telnet 192.168.1.254Trying 192.168.1.254...Connected to 192.168.1.254.Escape character is '^]'.BCM96338 ADSL RouterLogin: adminpassword: ********Once you are logged in you will see menu:Main Menu1. ADSL Link State2. LAN3. WAN4. DNS Server5. Route Setup6. NAT7. Firewall8. Quality Of Service9. Management10. Passwords11. Reset to Default12. Save and Reboot13. Exit->Hack # 2: Get out of this stupid shell menu script/programYup, it is stupid stuff and don't waste your time hitting CTRL+C, CTRL+D keys, to get out of this script/program (break shell script), just type sh and hit enter key at arrow prompt -> -> shAnd you will be taken to shellBusyBox v1.00 (2005.09.20-19:57+0000) Built-in shell (msh)Enter 'help' for a list of built-in commands.#Hack # 3: But where is my ls command...Type ls or dir command,# lsls: not found# dirdir: not foundThey have removed the ls and dir command. But don't worry you can use old echo command trick:# echo *bin dev etc lib linuxrc mnt proc sbin usr var websecho * is old trick which displays list of all files in current directory without using ls or dir command.Hack #4: Looking for advanced web based configuration, use main.htmlYet another stupid thing, they have removed main.html from web based configuration. Basically main.html is use to configure advanced options of router like port forwarding, DNS setting, firewall etc.Just type http://192.168.1.254/main.html (replace 192.168.1.254 with your actual router IP address) to get all advanced options.Hack # 5: Get more information about router hardware and LinuxSince this is tiny device most of the userland command such as free, uname etc are removed. However /proc file system provides all information:Display CPU Information# cat /proc/cpuinfoDisplay RAM Information# cat /proc/meminfoDisplay Linux versions# cat /proc/versionLinux version 2.6.8.1 (root@localhost.localdomain) (gcc version 3.4.2) #1 Tue Sep 20 15:52:07 EDT 2005Display list of running Processes:# ps Display list of all kernel module (drivers):# cat /proc/modulesHack # 6: Get more information about your network configurationDisplay list of network interfaces# ifconfigGet default routing information i.e. find out your ISP's router:# routeDisplay Iptables rules# iptables -L -nHack 6 : Secure your router(A) Fire web browser such as firefox and login to web based interface. Type url http://192.168.1.1/ main.html (or 192.168.1.254/main.html)(B) Enable FirewallClick on Security > Ip filtering > Outgoing or Incoming > Click add(C) Change default admin passwordClick on Tools > Select Administrator and type the password. > Click apply(D) Save changes and reboot routerClick on Management > Access Control > Password > Select Admin > Setup new passwordSave changes and reboot router.
Quick reboot router with reboot command:# reboot

0 comments:

Post a Comment

my pleasure in helping you

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Aruz Parajuli, Aruz Parajuli