loading
A nice tool that i made while screwing around. It makes using the net send command faster and also spams a chosen computer until told to stop :O i will be explaining all the code starting in step 2. if you just want the code and don't care about learning batch (OMG SCRIPT KIDDIES :O) then just read step 1. i call it a tool because it's legal and not technically a hack.

Step 1: The Code

ok get ready for it :D

@echo off
echo Type the password.
set /p input=
if %input%=='spam' goto A
echo Access denied.....
pathping localhost -q 2 -p 50 > nul
pathping localhost -q 2 -p 50 > nul
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pause press enter to exit
exit
:A
echo ~-{EASY NET SENDER V1}-~ by PaRaDoX
echo Type the name or ip address of the target computer:
set /p target=IP/name:
cls
:menu
cls
echo What would you like to do?
echo S - Send the selected target a message
echo N - Network info (to help find people to message)
echo SP - Spam the selected target :O
echo NT - Set a new target
echo E - end.
set choice=
set /p choice=Type the letter corresponding to your choice:
if '%choice%'=='S' goto B
if '%choice%'=='NT' GOTO F
if '%choice%'=='N' goto C
if '%choice%'=='SP' goto D
if '%choice%'=='E' goto E
cls
echo INVALID ENTRY
pause Try again.....
cls
@goto menu
:B
echo Type your message:
set /p msg=Message:
cls
echo sending... ()
pathping localhost -q 2 -p 50 > nul
cls
echo sending... (())
pathping localhost -q 2 -p 50 > nul
cls
echo sending... ((()))
pathping localhost -q 2 -p 50 > nul
cls
echo Done!
net send %target% %msg%
cls
@goto menu
:C
cls
netstat -a
echo ............................................
echo ............................................
echo ............................................
echo ............................................
pause
cls
@goto menu
:D
cls
echo Set a target:
set /p target=IP/Name:
pathping localhost -q 2 -p 50 > nul
cls
set /p msg=Message:
if exist SPAM.bat del SPAM.bat
echo @echo off >> SPAM.bat
echo :top >> SPAM.bat
echo net send %target% %msg% >> SPAM.bat
echo goto top >> SPAM.bat
start SPAM.bat
cls
@goto menu
:E
cls
pathping localhost -q 2 -p 50 > nul
exit
:F
cls
echo Type the name or ip address of the target computer:
set /p target=IP/name:
cls
@goto menu

Step 2: Lets Make This Easy

here come the long winded painstaking explanations. this part is for anyone from skilled programmer to complete noob so bear with me. by the way, if you execute this and put in the password (the default is spam) then it will say "by PaRaDoX" please note that that's my alias (well, one of my many aliases anyway). it wasn't stolen off anyone :P again, thanks to killa696 for the concept :O all i really did here was change up / inprove the design a bit. (fixed the bugs n shyt, ya know, that kind of stuff)

ok for ease of reading, ill just put the whole thing here and explain what each function does (read it, you'll see what i mean)

@echo off ---- this just makes sure the user doesn't see all what you're reading xD
echo Type the password. ----this displays a message telling you to type a password
set /p input= ---- this sets a variable. the variable name is input. ill explain any tags in step 3.
%input%=='spam' goto A ----if the person types in the word spam, it grants access.
echo Access denied..... --- - if the person types the wrong word....it says denied.
pathping localhost -q 2 -p 50 > nul
pathping localhost -q 2 -p 50 > nul
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pathping localhost -q 2 -p 50 > nul
echo denied.......
pause press enter to exit ----this is the pause function. type the wrong pass. to see its use.
exit
:A ----a checkpoint kinda thing for the goto command
echo ~-{EASY NET SENDER V1}-~ by PaRaDoX ---- title :D
echo Type the name or ip address of the target computer:
set /p target=IP/name: ---- target is the variable here. IP/Name is the message you get.
cls ---- this clears the prompt window
:menu ---- another checkpoint
cls
echo What would you like to do? |
echo S - Send the selected target a message |
echo N - Network info (to help find people to message) | ---- all these are your menu options.
echo SP - Spam the selected target :O |
echo NT - Set a new target |
echo E - end. |
set choice= ----just makes the choice variable nothing. (in case another file takes it)
set /p choice=Type the letter corresponding to your choice: ----another variable.
if '%choice%'=='S' goto B ---- all these just redirect you to the corresponding
if '%choice%'=='NT' GOTO F ---- checkpoints. like GOTO F takes you to where it says :F
if '%choice%'=='N' goto C
if '%choice%'=='SP' goto D
if '%choice%'=='E' goto E
cls
echo INVALID ENTRY ----if it doesn't go to any of the above it says invalid entry and try again.
pause Try again..... ----pause is the function, forcing the user to press a button to continue.
cls
@goto menu ---- the @ is just assurance that the words goto menu don' show up.
:B ----here is another checkpoint. take note.
echo Type your message:
set /p msg=Message:
cls
echo sending... () ----haha, the fake sending message. just for fun. doesn't send till after this
pathping localhost -q 2 -p 50 > nul
cls
echo sending... (())
pathping localhost -q 2 -p 50 > nul
cls
echo sending... ((()))
pathping localhost -q 2 -p 50 > nul ---- more "lag" :D
cls
echo Done!
net send %target% %msg% ----hehe NOW it sends it. using netsend can be slow, BEWARE
cls
@goto menu ----takes you back to the menu
:C
cls
netstat -a ----shows your network info. iunnoo why. doesn't work on my computer, so i need a tester
echo ............................................
echo ............................................
echo ............................................
echo ............................................ ----free spacing.
pause
cls
@goto menu
:D
cls
echo Set a target: ----the fun function. SPAM >:D
set /p target=IP/Name: ----sets the target. just like all the other set /p commands.
pathping localhost -q 2 -p 50 > nul
cls
set /p msg=Message:
if exist SPAM.bat del SPAM.bat ---- to prevent overwriting issues
echo @echo off >> SPAM.bat ----appends commands to a new file (on your comp)
echo :top >> SPAM.bat ----creates a loop in the new file
echo net send %target% %msg% >> SPAM.bat ---- spams your target with your message
echo goto top >> SPAM.bat ---- loop (the essence of spam :D)
start SPAM.bat ----start spamming! (to stop, just exit the process spam.bat
cls
@goto menu
:E
cls
pathping localhost -q 2 -p 50 > nul
exit
:F
cls
echo Type the name or ip address of the target computer: ----just sets a new target.
set /p target=IP/name:
cls
@goto menu

big and scary? not so much.

Step 3: Those Two Tags......

heres where i explain set /p and netstat -a

set /p : set would work fine, but /p makes the spam function work properly because i THINK this was the difference, not entierly sure but i think /p makes it last even after net sender is closed. otherwise, youll just get some errors in a DOS window. (correct me if im wrong, which i most likely am.)

netstat -a: the -a? just means all. netstat -a gives more info than just netstat.

yea i know step 2 was kinda hard to read, but its the best i could do :( lol

if you like, that part in the beginning where it sets the password can be changed.
to change the password, just find that part that says if '%input%'=='spam' goto A
and change the word spam to whatever you want. thats it!

hope this instructable was helpful! :D and please help me correct any mistakes i made :P

Hey, this is a great instructable and is very informative. Just one thing is missing... pictures! It really helps a lot when trying to follow directions so you should consider taking some photographs. Once you do that and leave me a message when you have so that we can publish your work. Thanks! Thanks for the cool instructable and we hope to publish this soon!
uh just a random question. i know how to ping websites and stuff like tht... but how do i block them?
Hosts file. Google it.<br />
well i unfortunately have to answer your question with 2 of my own. 1. what do you mean 'block'? block your computer from access it or it from downloading things to your computer, etc? 2. Why would you want to do that kind of thing? if its just block website from downloading things to your computer, that can usually be done in the tools menu of your browser, depending on the browser. (i personally use firefox, its faster and noticeably safer, since it prompts almost every download)
You are my new Best Friend.
haha thanks. im always making random stuff like this. next time i make something interesting ill post it.
sweet
lol kinda hard when batch files are all text : /
haha I can see how XD

About This Instructable

538views

2favorites

License:

More by kerpaul:fun things to do with batch files how to change someone's password 
Add instructable to: