<![CDATA[Latest posts for the topic "Hacking the Safecom SART 2-4112 ADSL Router"]]> /hvaonline/posts/list/24.html JForum - http://www.jforum.net Hacking the Safecom SART 2-4112 ADSL Router http://www.cyberciti.biz/tips/hacking-the-dlink-502t-router.html Login:
$ telnet 192.168.1.1 Trying 192.168.1.1... Connected to 192.168.1.1. Escape character is '^]'. BCM96338 ADSL Router Login: Password: Note: If you have problem with Backspace key, please make sure you configure your terminal emulator settings. For instance, from HyperTerminal you would need to use File->Properties->Setting->Back Space key sends. Main Menu 1. ADSL Link State 2. LAN 3. WAN 4. DNS Server 5. Route Setup 6. NAT 7. Firewall 8. Quality Of Service 9. Management 10. Passwords 11. Reset to Default 12. Save and Reboot 13. Exit ->  
Get shell:
-> sh BusyBox v1.00 (2007.04.20-03:31+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. #  
Liệt kê các file và thư mục:
# echo * bin dev etc lib linuxrc mnt proc sbin usr var webs  
Lấy thêm thông tin về router:
# cat /proc/cpuinfo system type : 96338L-2M-8M processor : 0 cpu model : BCM6338 V1.0 BogoMIPS : 239.20 wait instruction : no microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : no VCED exceptions : not available VCEI exceptions : not available  
# cat /proc/meminfo MemTotal: 6148 kB MemFree: 396 kB Buffers: 104 kB Cached: 1168 kB SwapCached: 0 kB Active: 2016 kB Inactive: 208 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 6148 kB LowFree: 396 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB Mapped: 1720 kB Slab: 2044 kB Committed_AS: 4028 kB PageTables: 304 kB VmallocTotal: 1048560 kB VmallocUsed: 932 kB VmallocChunk: 1047612 kB  
# cat /proc/version Linux version 2.6.8.1 (root@localhost.localdomain) (gcc version 3.4.2) #1 Fri Apr 20 11:29:16 CST 2007  
Hiển thị các tiến trình đang chạy: Code:
# ps
Thông tin cấu hình mạng: Code:
# ifconfig
Code:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xxxx      *               255.255.255.255 UH    0      0        0 ppp_8_35_1
192.168.1.0     *               255.255.255.0   U     0      0        0 br0
default         xxxx      0.0.0.0         UG    0      0        0 ppp_8_35_1
Code:
# iptables -L -n
Code:
# cat /etc/passwd
... Mời các bạn khám phá tiếp Tham khảo thêm về một đoạn script khởi động lại ADSL Router và cách dùng autoexpect: http://www.cyberciti.biz/tips/shell-script-to-reboot-dsladsl-router.html ]]>
/hvaonline/posts/list/21857.html#129942 /hvaonline/posts/list/21857.html#129942 GMT
Re: Hacking the Safecom SART 2-4112 ADSL Router Khám phá router ZyXEL P-660H-T1:
audi ~ # telnet 192.168.1.1 Trying 192.168.1.1... Connected to 192.168.1.1. Escape character is '^]'. Password: **** Copyright (c) 1994 - 2007 ZyXEL Communications Corp. P-660H-T1>  
P-660H-T1> sys version ZyNOS version: V3.40(ALA.0) | 03/10/2007 romRasSize: 1312450 system up time: 21:34:09 (767be1 ticks) bootbase version: V1.04 | 7/4/2006 
P-660H-T1> ip ifconfig enif0: mtu 1500 inet 192.168.1.1, netmask 0xffffff00, broadcast 192.168.1.255 RIP RX:Ver 1 & 2, TX:Ver 1 compatible, [InOctets 243606] [InUnicast 1718] [InMulticast 1763] [InDiscards 236] [InErrors 0] [InUnknownProtos 207] [OutOctets 430108] [OutUnicast 1818] [OutMulticast 3869] [OutDiscards 3] [OutErrors 0] enif0:0: mtu 1500 inet 0.0.0.0, netmask 0x00000000, broadcast 0.0.0.0 RIP RX:None, TX:None, [InOctets 0] [InUnicast 0] [InMulticast 0] [InDiscards 0] [InErrors 0] [InUnknownProtos 0] [OutOctets 0] [OutUnicast 0] [OutMulticast 0] [OutDiscards 0] [OutErrors 0] enif0:1: mtu 1500 inet 0.0.0.0, netmask 0x00000000, broadcast 0.0.0.0 RIP RX:None, TX:None, [InOctets 0] [InUnicast 0] [InMulticast 0] [InDiscards 0] [InErrors 0] [InUnknownProtos 0] [OutOctets 0] [OutUnicast 0] [OutMulticast 0] [OutDiscards 0] [OutErrors 0] wanif0: mtu 1492 inet 58.186.145.145, netmask 0xffffffff, broadcast 255.255.255.255 RIP RX:None, TX:None, [InOctets 216871] [InUnicast 807] [InMulticast 0] [InDiscards 0] [InErrors 0] [InUnknownProtos 0] [OutOctets 48876] [OutUnicast 932] [OutMulticast 0] [OutDiscards 0] [OutErrors 0] 
P-660H-T1> ip traceroute www.google.com.vn Resolving www.google.com.vn... traceroute to www.google.com.vn (64.233.189.104), 30 hops max, 40 byte packet 1:210.245.31.116 (10 ms) (10 ms) (10 ms) 2:210.245.31.113 (0 ms) (10 ms) (10 ms) 3:210.245.31.97 (10 ms) (0 ms) (10 ms) 4:63.218.2.165 (pos13-1.cr02.hkg04.pccwbtn.net) (50 ms) (50 ms) (50 ms) 5:63.218.114.82 (ge1-3.br01.hkg04.pccwbtn.net) (60 ms) (60 ms) (50 ms) 6:72.14.196.133 (90 ms) (90 ms) (70 ms) 7:64.233.175.207 (60 ms) (60 ms) (120 ms) 8:66.249.94.34 (60 ms) (80 ms) (80 ms) 9:64.233.189.104 (hk-in-f104.google.com) (70 ms) (70 ms) (60 ms) traceroute done:  
P-660H-T1> sys tos display ICMP table: 0x808cee10 INDX SESSION ST TTL PROTO SOURCE DESTINATION L4 -------------------------------------------------------------------------------- IGMP table: 0x808db440 INDX SESSION ST TTL PROTO SOURCE DESTINATION L4 -------------------------------------------------------------------------------- 1 8086ed08 U 42 IGMP (2 ) 192.168.1.1 224.0.0.1 2 8086edc8 U 42 IGMP (2 ) 192.168.1.1 224.0.0.12 3 80870a48 U 43 IGMP (2 ) 192.168.1.33 239.255.255.250 TCP table: 0x808d0f18 INDX SESSION ST TTL PROTO SOURCE DESTINATION L4 -------------------------------------------------------------------------------- 1 80873e08 U 2250 TCP (6 ) 192.168.1.35:51213 192.168.1.1:23 DA UDP table: 0x808d3020 INDX SESSION ST TTL PROTO SOURCE DESTINATION L4 -------------------------------------------------------------------------------- ... 
P-660H-T1> sys cpu display CPU usage status: baseline 794956 ticks sec ticks util sec ticks util sec ticks util sec ticks util 0 748041 5.90 1 729661 8.21 2 746690 6.07 3 746017 6.15 4 754591 5.07 5 755305 4.98 6 730197 8.14 7 750159 5.63 8 752652 5.32 9 748196 5.88 10 756586 4.82 11 734221 7.64 12 748478 5.84 13 745923 6.16 14 753992 5.15 15 749108 5.76 16 735378 7.49 17 746251 6.12 18 750324 5.61 19 754746 5.05 20 745154 6.26 21 729845 8.19 22 748798 5.80 23 750998 5.52 24 754167 5.13 25 755339 4.98 26 740370 6.86 27 753518 5.21 28 756489 4.83 29 756795 4.80 30 756641 4.81 31 738892 7.05 32 755373 4.97 33 756881 4.78 34 755929 4.90 35 751947 5.41 36 741918 6.67 37 756022 4.89 38 756848 4.79 39 754667 5.06 40 744844 6.30 41 743255 6.50 42 756402 4.84 43 755305 4.98 44 755664 4.94 45 737643 7.20 46 748566 5.83 47 755656 4.94 48 756935 4.78 49 756887 4.78 50 747920 5.91 51 747821 5.92 52 756083 4.88 53 757027 4.77 54 756327 4.85 55 734473 7.60 56 749534 5.71 57 755841 4.92 58 756605 4.82 59 754313 5.11 60 746282 6.12 61 746134 6.14 62 754279 5.11  
còn nhiều lắm ;-) ]]>
/hvaonline/posts/list/21857.html#129970 /hvaonline/posts/list/21857.html#129970 GMT
Hacking the Safecom SART 2-4112 ADSL Router

quanta wrote:
Nguồn: http://www.cyberciti.biz/tips/hacking-the-dlink-502t-router.html Login:
$ telnet 192.168.1.1 Trying 192.168.1.1... Connected to 192.168.1.1. Escape character is '^]'. BCM96338 ADSL Router Login: Password: Note: If you have problem with Backspace key, please make sure you configure your terminal emulator settings. For instance, from HyperTerminal you would need to use File->Properties->Setting->Back Space key sends. Main Menu 1. ADSL Link State 2. LAN 3. WAN 4. DNS Server 5. Route Setup 6. NAT 7. Firewall 8. Quality Of Service 9. Management 10. Passwords 11. Reset to Default 12. Save and Reboot 13. Exit ->  
Get shell:
-> sh BusyBox v1.00 (2007.04.20-03:31+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. #  
Liệt kê các file và thư mục:
# echo * bin dev etc lib linuxrc mnt proc sbin usr var webs  
Lấy thêm thông tin về router:
# cat /proc/cpuinfo system type : 96338L-2M-8M processor : 0 cpu model : BCM6338 V1.0 BogoMIPS : 239.20 wait instruction : no microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : no VCED exceptions : not available VCEI exceptions : not available  
# cat /proc/meminfo MemTotal: 6148 kB MemFree: 396 kB Buffers: 104 kB Cached: 1168 kB SwapCached: 0 kB Active: 2016 kB Inactive: 208 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 6148 kB LowFree: 396 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB Mapped: 1720 kB Slab: 2044 kB Committed_AS: 4028 kB PageTables: 304 kB VmallocTotal: 1048560 kB VmallocUsed: 932 kB VmallocChunk: 1047612 kB  
# cat /proc/version Linux version 2.6.8.1 (root@localhost.localdomain) (gcc version 3.4.2) #1 Fri Apr 20 11:29:16 CST 2007  
Hiển thị các tiến trình đang chạy: Code:
# ps
Thông tin cấu hình mạng: Code:
# ifconfig
Code:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xxxx      *               255.255.255.255 UH    0      0        0 ppp_8_35_1
192.168.1.0     *               255.255.255.0   U     0      0        0 br0
default         xxxx      0.0.0.0         UG    0      0        0 ppp_8_35_1
Code:
# iptables -L -n
Code:
# cat /etc/passwd
... Mời các bạn khám phá tiếp Tham khảo thêm về một đoạn script khởi động lại ADSL Router và cách dùng autoexpect: http://www.cyberciti.biz/tips/shell-script-to-reboot-dsladsl-router.html  
em ko hiểu lắm, tại sao trên router ADSL này lại chạy được những lệnh của linux]]>
/hvaonline/posts/list/21857.html#130054 /hvaonline/posts/list/21857.html#130054 GMT
Hacking the Safecom SART 2-4112 ADSL Router

boybin86 wrote:
em ko hiểu lắm, tại sao trên router ADSL này lại chạy được những lệnh của linux 
Bởi vì những router này sử dụng hệ điều hành Linux.]]>
/hvaonline/posts/list/21857.html#130070 /hvaonline/posts/list/21857.html#130070 GMT
Re: Hacking the Safecom SART 2-4112 ADSL Router /hvaonline/posts/list/21857.html#130942 /hvaonline/posts/list/21857.html#130942 GMT Re: Hacking the Safecom SART 2-4112 ADSL Router

dtuanloc wrote:
cho em hỏi sao mà em vào Login :admin nhưng mà ở cái hàng Password: em không gõ được bất cứ chữ nào cả - giống như bàn phím bị liệt vậy nhưng mà khi ấn Enter thi nó báo là "Login incorrect . Try again." sau đó thì em lại nhập bàn phím bình thường....cho hỏi vậy là bị gì ạ? 
Hì, bạn cứ gõ password đúng như bình thường, ký tự không hiện ra đâu.]]>
/hvaonline/posts/list/21857.html#130947 /hvaonline/posts/list/21857.html#130947 GMT
Re: Hacking the Safecom SART 2-4112 ADSL Router /hvaonline/posts/list/21857.html#131565 /hvaonline/posts/list/21857.html#131565 GMT Re: Hacking the Safecom SART 2-4112 ADSL Router /hvaonline/posts/list/21857.html#177373 /hvaonline/posts/list/21857.html#177373 GMT Re: Hacking the Safecom SART 2-4112 ADSL Router

fantasticboy301 wrote:
Cho emm hỏi thế đối với ZyXEL P-660H-T1 thì làm thế nào để thực thi các lệnh trên máy đó 
trong modem ZyXEL P-660H-T1 chỉ thực hiện được vài lệnh thôi và nó cũng không phải là Linux :P]]>
/hvaonline/posts/list/21857.html#177394 /hvaonline/posts/list/21857.html#177394 GMT