| curl ip change | |
|
|
Author | Message |
---|
rattenfunda *
Posts : 7 Join date : 2010-07-22
| Subject: curl ip change Thu 22 Jul 2010, 11:24 | |
| Hey guys, my resetIP.bat is working fine when i'm manuelly started it. But it doesn't change my Ip when i want to use MyBrutalo. resetIP.bat - Code:
-
curl "http://xxxx:xxxxxx@xxxxxxx/st_poe.cgi" -d "ConMethod=Disconnect" curl "http://xxxxxx:xxxxxx@xxxxxx/st_poe.cgi" -d "ConMethod=++Connect++" config.xml - Code:
-
<bean id="ipResetter" class="labrute.ip.ExternalIPResetter"> <property name="command" value="resetIP.bat"/>
It hangs here - Code:
-
INFO out: C:\Users\Home\Desktop\Brutalo>curl "http://admin:password@192.168.1.1/st_poe.cgi" -d "ConMethod=++Connect++" Nothing happen after that | |
|
| |
davidloko210 * * * * * * * * *
Posts : 523 Join date : 2009-09-23 Location : España
| Subject: Re: curl ip change Thu 22 Jul 2010, 11:35 | |
| What is your modem? router? | |
|
| |
Pege Tournies Mod
Posts : 2733 Join date : 2009-06-04 Age : 50 Location : GERMANY
| Subject: Re: curl ip change Thu 22 Jul 2010, 12:18 | |
| Dont use curl!!!
I have tryed 1000 mthodes but BC can´t work right with curl!
Have a look to http://www.routercontrol.de/
and check if this program supports your router! If yes, then use this one! This will work 100 % with BC! | |
|
| |
davidloko210 * * * * * * * * *
Posts : 523 Join date : 2009-09-23 Location : España
| Subject: Re: curl ip change Thu 22 Jul 2010, 12:25 | |
| - Pege wrote:
- Dont use curl!!!
I have tryed 1000 mthodes but BC can´t work right with curl!
Have a look to http://www.routercontrol.de/
and check if this program supports your router! If yes, then use this one! This will work 100 % with BC! Pege i have a dude router control is faster than telnet deluxe? | |
|
| |
Pege Tournies Mod
Posts : 2733 Join date : 2009-06-04 Age : 50 Location : GERMANY
| Subject: Re: curl ip change Thu 22 Jul 2010, 13:13 | |
| Normaly router control needs 7 -12 seconds to dis - and reconnect.
But its also depend from your provider how fast they will give you a new Ip | |
|
| |
davidloko210 * * * * * * * * *
Posts : 523 Join date : 2009-09-23 Location : España
| Subject: Re: curl ip change Thu 22 Jul 2010, 13:47 | |
| | |
|
| |
rattenfunda *
Posts : 7 Join date : 2010-07-22
| Subject: Re: curl ip change Thu 22 Jul 2010, 15:22 | |
| Have a Netgear W614v9 and Siemens Adsl Modem and Routercontrol dont support it. What can i do else? | |
|
| |
davidloko210 * * * * * * * * *
Posts : 523 Join date : 2009-09-23 Location : España
| Subject: Re: curl ip change Thu 22 Jul 2010, 15:23 | |
| | |
|
| |
Gavy™ * * * * * * * * * *
Posts : 1133 Join date : 2009-08-05 Location : Thousand Islands
| Subject: Re: curl ip change Thu 22 Jul 2010, 15:27 | |
| - rattenfunda wrote:
- Have a Netgear W614v9 and Siemens Adsl Modem and Routercontrol dont support it. What can i do else?
You can use either of this one .. edit the reconnect.bat .. state the full path of the curl ... or you can use win-automation or actionaz and run it with arguments " path of curl " .. then generate an .exe file .. | |
|
| |
rattenfunda *
Posts : 7 Join date : 2010-07-22
| Subject: Re: curl ip change Fri 23 Jul 2010, 00:01 | |
| I use them both, it works nvm. Maybe look at this Info Code - Spoiler:
WARN Not enough opponents at level 1 INFO lkdlyrhu created and saved (master: pashnator) INFO Changing IP address... INFO out: INFO out: C:\Users\Home\Desktop\Brutalo>curl "http://xxxx:xxxx@xxxxx/st_poe.cgi" -d "ConMethod=Disconnect" INFO out: <html> INFO out: <head> INFO out: <META name="description" content="WGR614V9"> INFO out: <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> INFO out: <META http-equiv="Pragma" content="no-cache"> INFO out: <META HTTP-equiv="Cache-Control" content="no-cache"> INFO out: <META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT"> INFO out: INFO out: <link rel="stylesheet" href="form.css"> INFO out: <title>PPPoE Status</title> INFO out: <script language="javascript" type="text/javascript"> INFO out: <!-- INFO out: var delay_time = 10000; INFO out: function refreshPage() INFO out: { INFO out: window.setTimeout("window.location.href='RST_st_poe.htm'", delay_time); INFO out: } INFO out: function disableConButton() INFO out: { INFO out: delay_time = 10000; INFO out: document.forms[0].Connect.disabled = true; INFO out: document.forms[0].Disconnect.disabled = true; INFO out: document.forms[0].ConMethod.value = " Connect "; INFO out: document.forms[0].submit(); INFO out: return true; INFO out: } INFO out: INFO out: function disableDisConButton() INFO out: { INFO out: delay_time = 20000; INFO out: document.forms[0].Connect.disabled = true; INFO out: document.forms[0].Disconnect.disabled = true; INFO out: document.forms[0].ConMethod.value = "Disconnect"; INFO out: document.forms[0].submit(); INFO out: return true; INFO out: } INFO out: function refreshparentpage() INFO out: { INFO out: parent.window.opener.location.href="RST_status.htm"; INFO out: return true; INFO out: } INFO out: INFO out: //--> INFO out: </script> INFO out: </head> INFO out: <body bgcolor="#ffffff" onLoad="refreshPage()"> INFO out: <form name="poe_st" method="post" action="st_poe.cgi"> INFO out: INFO out: <TABLE border=0 width="100%"> INFO out: INFO out: <TR> INFO out: <TD colspan="2" align="left" nowrap><h1>Connection Status </h1></TD> INFO out: </TR> INFO out: INFO out: </TABLE> INFO out: INFO out: <table border="0" cellpadding="0" cellspacing="3" width="100%"> INFO out: INFO out: <tr> <!-- RULE --> INFO out: <td background="liteblue.gif" height="12"> </td> INFO out: </tr> INFO out: </table> INFO out: INFO out: INFO out: <table width="100%" border=1 cellspacing=1 cellpadding=4> INFO out: <tr> INFO out: <TD NOWRAP width="50%"><B>Connection Time</B></td> INFO out: <TD NOWRAP width="50%">00:00:00</td> INFO out: </tr> INFO out: <tr> INFO out: <TD NOWRAP><B>Connecting to Server</B></td> INFO out: <TD NOWRAP>OFF</td> INFO out: </tr> INFO out: <tr> INFO out: <TD NOWRAP><B>Negotiation</B></td> INFO out: <TD NOWRAP>--</td> INFO out: </tr> INFO out: <tr> INFO out: <TD NOWRAP><B>Authentication</B></td> INFO out: <TD NOWRAP>--</td> INFO out: </tr> INFO out: <tr> INFO out: <TD NOWRAP><B>Getting IP Addresses</B></td> INFO out: <TD NOWRAP>--</td> INFO out: </tr> INFO out: <tr> INFO out: <TD NOWRAP><B>Getting Network Mask</B></td> INFO out: <TD NOWRAP>--</td> INFO out: </tr> INFO out: </table> INFO out: INFO out: INFO out: <table border="0" cellpadding="0" cellspacing="3" width="100%"> INFO out: <TR> INFO out: <TD align="center" nowrap> INFO out: <BR> INFO out: <input type="button" name="Connect" value=" Connect " onClick="return disableConButton()"> INFO out: <input type="button" name="Disconnect" value="Disconnect" onClick="alert('To re-establish the connection, please click the <Connect> button'); return disableDisConButton()"></TD> INFO out: </TR> INFO out: INFO out: <tr><td background="liteblue.gif" height="12"> </td></tr> INFO out: <TR><TD align="center"><input type=button name="close" value="Close Window" onclick="return refreshparentpage(); self.close();"></TD></TR> INFO out: </TABLE> INFO out: <input type="hidden" name="ConMethod" value="Disconnect"> INFO out: </form> INFO out: </body> INFO out: </html> INFO out: INFO out: C:\Users\Home\Desktop\Brutalo>Sleep 10 seconds INFO out: Sleep in ms: sample sleep 2000 (sleep 2 sec) INFO out: Or you can use sleep 3 (sleep 3 sec) INFO out: written by Dirk Paehl (http://www.paehl.de) INFO out: lets sleep for 10 seconds INFO out: ... finish INFO out: INFO out: C:\Users\Home\Desktop\Brutalo>curl "http://xxxxxx:xxxxx@xxxxx/st_poe.cgi" -d "ConMethod=++Connect++"
Bc creates a Brute and i get the exp. But after the IP Change it doesn't create new ppl. Have to restart BC and it works once again. | |
|
| |
Pege Tournies Mod
Posts : 2733 Join date : 2009-06-04 Age : 50 Location : GERMANY
| Subject: Re: curl ip change Fri 23 Jul 2010, 06:55 | |
| THis is the same problem like my old problem. I dont get run bc with curl. after reconnect with curl bc ever freezed. So I have made a Actionaz script that started the reconnect in a bat file without BC, then the script started bc, create a pupil, close bc and then I started again! That was my only way to make pupils with curl - Quote :
NETGEAR WGR614 Firmware 1400 Beta NETGEAR WGR614 Firmware-Version 11.23 Netgear WGR614 FW: Version 1.12 July 24 2003 Beta Netgear WGR614 v2 Firmware 2.00 Netgear WGR614 v4 Firmware 4.0_70GR Netgear WGR614 v4 Firmware 5.0_07 Netgear WGR614v1 FW 1.40 beta / Feb. 18, 2004 Netgear WGR614v5 FW V1.0.7_1.0.6 Netgear WGR614v5 FW V1.1.8 (german) Netgear WGR614v6 V2.0.14_1.0.14 (English) Netgear WGR614v6 FW V1.1.9GR_1.1.9 german Netgear WGR614v6 FW V2.1.3GR_2.1.3 austria Netgear WGR614v6 FW V2.1.3GR_2.1.3 german Netgear WGR614v7 Firmware V1.1.14_1.1.14GR Deutsch Netgear WGR614v7 V1.0.14_1.0.14 (English) Netgear WGR614v7 V1.1.14_1.1.14 (German Do you have tested Routercontrol? I think it must run! You have a newer one, but normnaly the last version of WGR614v7 must run with your version | |
|
| |
Gavy™ * * * * * * * * * *
Posts : 1133 Join date : 2009-08-05 Location : Thousand Islands
| Subject: Re: curl ip change Fri 23 Jul 2010, 08:02 | |
| No need to restart BC .. I also use curl .. best way is to use win-automation ... Run the reconnect.bat with arguments " curl.exe ..
then state there " wait for application to complete "
then generate an .exe file ..
so you don't need to estimate how many seconds does your IP change .. therefore you can put the delay to '0' or '2' ( so the connection would be stable enough) ..
OR ..
you can also use actionaz but you need to use a sleep command base on how man seconds does your IP change .. save as *.act and generate an SFX script to generate a stand alone .exe file ..
then put the *.exe inside BC folder ,, then change the config on whatever you named the .exe file you generated ..
| |
|
| |
rattenfunda *
Posts : 7 Join date : 2010-07-22
| Subject: Re: curl ip change Fri 23 Jul 2010, 13:52 | |
| So i created a .exe file with win-automation. 1. New Job 2. Job Designer 3. System -> Run DOS Command 4. .bat path and folder path 5. create exe Now i added the exe file into the config file. It changes my IP but it doesn't create any ppl more and dont work further. - Spoiler:
WARN Not enough opponents at level 1 INFO blmpqktl created and saved (master: pashnator) INFO Changing IP address...
| |
|
| |
Gavy™ * * * * * * * * * *
Posts : 1133 Join date : 2009-08-05 Location : Thousand Islands
| Subject: Re: curl ip change Fri 23 Jul 2010, 14:44 | |
| instead of DOS Command .. Run application > the path of the reconnect .. | |
|
| |
rattenfunda *
Posts : 7 Join date : 2010-07-22
| Subject: Re: curl ip change Fri 23 Jul 2010, 14:55 | |
| | |
|
| |
Sponsored content
| Subject: Re: curl ip change | |
| |
|
| |
| curl ip change | |
|