#1
|
|||
|
|||
Help with MAC Change and Shibbys Tomato Firmware needed !
i want to make a mac change and reboot cable modem script under windows.
this is a screen of the cmd execution area in shibbys tomato firmware: theoretical the script must paste the text ( pastebin.com/7rvdVL3x ) into the window and then click "execute". but how can i do that with jd ? jds reconnect recorder doesn't record anything useful. :( Last edited by thomaz; 17.12.2012 at 18:58. |
#2
|
|||
|
|||
Hıımm why is the mac changing option UIles, doesnt the device have mac cloning feature?
Record the procedure with httpliveheaders mozilla addon and send me the full liveheaders log, paste it on pastebin and make sure its clean. Also make sure you dont have any nasty scripts running in the background too, or else liveheaders will log them too. Perhaps it'll work have to try |
#3
|
|||
|
|||
this is what the ff addon records:
Code:
**External links are only visible to Support Staff** POST /shell.cgi HTTP/1.1 Host: 192.168.1.254 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate DNT: 1 Connection: keep-alive Referer: **External links are only visible to Support Staff** Content-Length: 311 Content-Type: text/plain; charset=UTF-8 Cookie: tomato_menu_status=overview.asp; tomato_status_overview_refresh=3; tomato_menu_tools=shell.asp; tomato_shellcmd=MAC%3D%60%28date%3B%20cat%20/proc/interrupts%29%20%7C%20md5sum%20%7C%20sed%20-r%20%27s/%5E%28.%7B10%7D%29.*%24/%5C1/%3B%20s/%28%5B0-9a-f%5D%7B2%7D%29/%5C1%3A/g%3B%20s/%3A%24//%3B%27%60%0Anvram%20set%20mac_wan%3D%2200%3A%24%7BMAC%7D%22%0Aservice%20wan%20restart Authorization: Basic YWRtaW46dDF0dDNuZjFjaw== Pragma: no-cache Cache-Control: no-cache action=execute&command=MAC%3D%60%28date%3B%20cat%20/proc/interrupts%29%20%7C%20md5sum%20%7C%20sed%20-r%20%27s/%5E%28.%7B10%7D%29.*%24/%5C1/%3B%20s/%28%5B0-9a-f%5D%7B2%7D%29/%5C1%3A/g%3B%20s/%3A%24//%3B%27%60%0Anvram%20set%20mac_wan%3D%2200%3A%24%7BMAC%7D%22%0Aservice%20wan%20restart&_http_id=XXXXXXXXXXXXXXXXXX HTTP/1.0 200 OK Date: Tue, 18 Dec 2012 20:28:00 GMT Content-Type: text/javascript Cache-Control: no-cache, no-store, must-revalidate, private Expires: Thu, 31 Dec 1970 00:00:00 GMT Pragma: no-cache Connection: close ---------------------------------------------------------- Last edited by thomaz; 19.12.2012 at 00:26. |
#4
|
|||
|
|||
Code:
[[[HSRC]]] [[[STEP]]] [[[REQUEST]]] POST /shell.cgi HTTP/1.1 Host: %%%routerip%%% DNT: 1 Connection: keep-alive Referer: **External links are only visible to Support Staff**Content-Length: 311 Content-Type: text/plain; charset=UTF-8 Cookie: tomato_menu_status=overview.asp; tomato_status_overview_refresh=3; tomato_menu_tools=shell.asp; tomato_shellcmd=MAC%3D%60%28date%3B%20cat%20/proc/interrupts%29%20%7C%20md5sum%20%7C%20sed%20-r%20%27s/%5E%28.%7B10%7D%29.*%24/%5C1/%3B%20s/%28%5B0-9a-f%5D%7B2%7D%29/%5C1%3A/g%3B%20s/%3A%24//%3B%27%60%0Anvram%20set%20mac_wan%3D%2200%3A%24%7BMAC%7D%22%0Aservice%20wan%20restart Authorization: Basic YWRtaW46dDF0dDNuZjFjaw== Pragma: no-cache action=execute&command=MAC%3D%60%28date%3B%20cat%20/proc/interrupts%29%20%7C%20md5sum%20%7C%20sed%20-r%20%27s/%5E%28.%7B10%7D%29.*%24/%5C1/%3B%20s/%28%5B0-9a-f%5D%7B2%7D%29/%5C1%3A/g%3B%20s/%3A%24//%3B%27%60%0Anvram%20set%20mac_wan%3D%2200%3A%24%7BMAC%7D%22%0Aservice%20wan%20restart&_http_id=XXXXXXXXXXXXXXXXXX [[[/REQUEST]]] [[[/STEP]]] [[[/HSRC]]] Last edited by Freeloader; 19.12.2012 at 00:51. |
#5
|
|||
|
|||
try with jd2 and jd1, if it fails del cookie line, and try with jd2 only once again.
Last edited by Freeloader; 18.12.2012 at 23:43. |
#6
|
|||
|
|||
FISRT PLEASE DO ME A FAVOUR:
replace "deleted" with "XXXXXXXXXXXXXXXXXX" in your post please. otherwise i have a working liveheader script now for cisco cablemodem and tomato 1.28 router. will post a howto in an own thread tomorrow. thx a lot for your help. Last edited by Freeloader; 19.12.2012 at 01:11. Reason: removed it here as well ;) |
#7
|
|||
|
|||
You are welcome. Done;), well glad you sorted it out
Last edited by Freeloader; 19.12.2012 at 01:11. |
#8
|
|||
|
|||
|
Thread Tools | |
Display Modes | |
|
|