Monday, September 22, 2014

Packet to open port 23 aka Telnet of BM622i 2011

FOR DEVS ONLY

If you want to make your own app to enable or open port 23(telnet) of your BM622i 2011. Here's the step by step process to do it.

1. Wait for your modem to come up. You can try to ping it or check via browser (GUI) or if you're too lazy just wait for a few seconds it will eventually come up :D

2. Connect to the modem via port 9527 then send this

1c ac ac ac 00 00 00 02 00 00 01 00 69 70 74 61
62 6c 65 73 20 2d 49 20 49 4e 50 55 54 5f 53 45
52 56 49 43 45 5f 41 43 4c 20 2d 69 20 62 72 30
20 2d 70 20 74 63 70 20 2d 6d 20 69 70 72 61 6e
67 65 20 2d 2d 73 72 63 2d 72 61 6e 67 65 20 31
39 32 2e 31 36 38 2e 31 2e 31 2d 31 39 32 2e 31
36 38 2e 32 35 35 2e 32 35 34 20 2d 2d 64 70 6f
72 74 20 32 33 20 2d 6a 20 41 43 43 45 50 54 20
32 3e 2f 64 65 76 2f 6e 75 6c 6c 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00

If you're not into packet sniffing and just curious what does it mean here's a readable "trim" version

iptables -I INPUT_SERVICE_ACL -i br0 -p tcp -m iprange --src-range 192.168.1.1-192.168.255.254 --dport 23 -j ACCEPT 2>/dev/null

3. And voila! You have opened the telnet port of your modem. If you're getting problems or it still doesn't open. You have to analyze the conversation between your computer and modem to check if you sent the right packet.

Good luck! :D

Thursday, September 18, 2014

BM622i 2011 Telnet Enabler (90kb ONLY)

FOR EDUCATIONAL PURPOSES ONLY haha!



For security reasons Huawei disabled telnet service access to their BM622i 2011 model.

Some users want to access its telnet service out of curiousity(???) not sure.. who knows lol. Currently the only way to open it is to use their own Upgrader app to trick the modem that you really are going to upgrade its firmware which obviously needs telnet access :D

This app does the same the only difference is it doesn't have the actual firmware in it which makes this app so small. It just emulates what the Upgrader does when you open it.

Download

 

Copyright 2017 Code Monkey