Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can sum1 make me an ip reset script plz???
#1
hey , as i dunno exactly how to write scripts i try to ask if sum1 of ya can write me an ip reset script for an Netgear Router DG834GB , i owuld be very very apreciated if sum1 could do this for me Smile
Thx in advance

Ho3rnch3n
Reply
#2
Code:
Run("cmd.exe")
Sleep(800)
Send("ipconfig /release{ENTER}")
Sleep(1200)
Send("ipconfig /renew{ENTER}")
Sleep(3600)
Send("exit{ENTER}")

there you go hope that helps
Reply
#3
Snipz_sow Wrote:
Code:
Run("cmd.exe")
Sleep(800)
Send("ipconfig /release{ENTER}")
Sleep(1200)
Send("ipconfig /renew{ENTER}")
Sleep(3600)
Send("exit{ENTER}")

there you go hope that helps

he is behind a router.....
ipconfig /release should not work

you are adsl or cable connection?
try unplug the modem for 15minute and reconnect
you should get a new ip in this way
Reply
#4
thx for this script but i dont think it works with my router
i got adsl

Ho3rnch3n
Reply
#5
Aight ill see if I can find another.

Heres one more advanced

Code:
HotKeySet("{end}", "ExitBot")
Func ExitBot()
For $i = 1 to 3
KillProcesses()
Next
Exit
EndFunc

LogIp("==========================")
$StartIp = GetIp()
LogIp("Actual IP = " & $StartIp)
run("C:\program files\internet explorer\IEXPLORE.EXE http://192.168.1.1/adslok.cgi?enblInternet=1", "C:\program files\internet explorer")
WinWait("Connect to 192.168.1.1", "", 10)
ControlClick ("Connect to 192.168.1.1", "", 1)
Sleep (90000)
KillProcesses()
Exit



Func GetIp()
Do
SplashTextOn ( "", "... WAITING FOR NEW IP ...", 300, 20, 60, 20, 1, "" , "" , "" )
$GotIp = URLDownloadToFile("http://checkip.dyndns.org/", "temp")
until $GotIp = 1
$IpFile = FileOpen ("temp",0)
$Ip = FileReadLine ($IpFile, 1)
$Ip = StringReplace ($Ip, "<html><head><title>Current IP Check</title></head><body>Current IP Address: ", "")
$Ip = StringReplace ($Ip, "</body></html>", "")
SplashTextOn ( "", "CURRENT IP : " & $Ip & " ", 300, 20, 60, 20, 1, "" , "" , "" )
FileClose ($IpFile)
FileDelete ("temp")
Return $Ip
EndFunc

Func KillProcesses()
For $i = 1 to 3
ProcessClose("iexplore.exe")
Next
EndFunc

Func LogIp($String)
$LogFile = FileOpen (@SCRIPTDIR & "\LogIp.txt", 1)
FileWriteLine ($LogFile, @MON & "/" & @MDAY & " " & @HOUR & ":" & @MIN & ":" & @SEC & "> " & $String)
FileClose ($LogFile)
EndFunc
[Image: Snipz.png]
Reply
#6
You might just have a static IP like me, I've had the same IP for 2+ years
Reply
#7
ya nothing workes 4 me iv event try to go to comcast and ask them to swich my ip that didnt help just made me buy a 2nd ip that i dont know how to use
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [D2NT Release] Druid Script skidude 20 17,272 08-25-2012, 01:20 AM
Last Post: comper
  Etal Script for Hdin please? Joel Gonzalez 19 458 08-17-2012, 07:15 AM
Last Post: comper
  elite polearm script wishyq 2 138 08-17-2012, 06:50 AM
Last Post: comper
  help with script plz kaosme69 18 297 07-26-2012, 10:02 AM
Last Post: comper
  ISO : WW Assassin script ww/ls devonfym 3 164 07-21-2012, 02:56 AM
Last Post: comper
  Kolton script wakka help 48Inches 1 136 07-09-2012, 04:44 AM
Last Post: comper
  [D2NT Release] Amazon Jav/Bow Script v1.6 skidude 25 13,089 06-19-2012, 07:05 AM
Last Post: comper
  Skele Nec script? sly- 11 300 06-10-2012, 03:48 AM
Last Post: comper
  D2NT, Any d2nt bot working after the newest reset? I only get errors. PLS help! Sayonaraa 1 354 05-09-2012, 11:13 AM
Last Post: comper
  Complete Diablo 2 Unique Pickit script for D2Nt bot Jammer74 68 32,370 05-03-2012, 07:01 AM
Last Post: comper

Forum Jump:


Users browsing this thread: 1 Guest(s)