JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 17.12.2012, 19:51
thomaz thomaz is offline
JD Adviser
 
Join Date: Sep 2009
Posts: 104
Default 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 19:58.
Reply With Quote
  #2  
Old 18.12.2012, 08:07
Freeloader
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #3  
Old 18.12.2012, 22:37
thomaz thomaz is offline
JD Adviser
 
Join Date: Sep 2009
Posts: 104
Default

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 01:26.
Reply With Quote
  #4  
Old 18.12.2012, 23:47
Freeloader
Guest
 
Posts: n/a
Default

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 01:51.
Reply With Quote
  #5  
Old 18.12.2012, 23:48
Freeloader
Guest
 
Posts: n/a
Default

try with jd2 and jd1, if it fails del cookie line, and try with jd2 only once again.

Last edited by Freeloader; 19.12.2012 at 00:43.
Reply With Quote
  #6  
Old 19.12.2012, 01:31
thomaz thomaz is offline
JD Adviser
 
Join Date: Sep 2009
Posts: 104
Default

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 02:11. Reason: removed it here as well ;)
Reply With Quote
  #7  
Old 19.12.2012, 01:52
Freeloader
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by thomaz View Post
FISRT PLEASE DO ME A FAVOUR:
replace xxxxxxxxxxxxxxx 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.
You are welcome. Done;), well glad you sorted it out

Last edited by Freeloader; 19.12.2012 at 02:11.
Reply With Quote
  #8  
Old 19.12.2012, 17:02
thomaz thomaz is offline
JD Adviser
 
Join Date: Sep 2009
Posts: 104
Default

here we go:
http://board.jdownloader.org/showthread.php?t=44728
:)
Reply With Quote
Reply

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

Forum Jump

All times are GMT +2. The time now is 01:10.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.