cs_hax0rreh Posted April 24, 2008 Report Share Posted April 24, 2008 HelloI'm new to this forumAnd I'm a noob at programming (I don't even know the "C" of "C++" :))I was messing with Batch file few monthes agoand I found a way to use shutdown commandsI goto a school with a somewhat secured network :)This is my code:@echo onclsi -s -m \\computer-10 -t 00 -f"computer-10" is the computer I want to shutdown remotely and the computer is in the same room as me (I can't access computers in the other rooms cuz I get the "Access denied" message)AnywaysI want to loop this batchfile using "GOTO" command, like this:@echo on1:clsi -s -m \\computer-10 -t 00 -fgoto 1It worked well. So, I moved on to trying to shutdown EVERYONE's computer in the room.My friend told me about the %VAR% command so I tried this:@echo onset var=101:clsi -s -m \\computer-%var% -t 00 -fgoto 1however, I wanted to use a math arithmetic, like %var%+1, but ofcourse, It doesn't work, cuz it's not written properlyI was wondering if you guys knew how to increse the VARIABLE value by 1 everytime I repeat the batch fileor If you have any other commands that would do that, plz help me:)Thanks for your time -cs_haxorsseh Link to comment Share on other sites More sharing options...
Mike567 Posted April 24, 2008 Report Share Posted April 24, 2008 Your asking a forum to help you build a malicious batch file?Wouldn't surprise me if this gets locked to be honest.But if your new you will be better off looking into VisualBasic. Link to comment Share on other sites More sharing options...
Boris Posted April 24, 2008 Report Share Posted April 24, 2008 As Mike567 rightly says - we will not provide any assistance in creating malicious scripts.Thread locked. Link to comment Share on other sites More sharing options...
Recommended Posts