DIR Return Create A Forum - Home
---------------------------------------------------------
Enigma computing
HTML https://enigma.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: BAT
*****************************************************
#Post#: 25--------------------------------------------------
Shutdown Code
By: xeneo Date: October 21, 2011, 3:34 pm
---------------------------------------------------------
A classic and probably easiest of all CMD codes, this allows you
to shut down a computer with just a single line of coding, with
as much time as you want on the clock.
First, open CMD or Command Prompt. Obviously, you need this open
if you want to write anything. If you can't find Command Prompt,
or want to write it as a virus, use Notepad or Wordpad instead.
Secondly, type the following:
'shutdown -s -t (however many seconds to count down until
turning off) -c (a little message to give the victim)'. If
you're using CMD, press Enter and you're on your way, so skip go
to the end for some important info. If you're using a text
editor though, stick with me.
Use 'Save As...' and think up a name for your virus, then type
it. I'll use 'disable' in this example. Then write .bat at the
end, like with all BAT-based virus. E.g.,
'disable.bat'
(Remember to save somewhere you can find it later!!)
Run it and your victim is toast. Do you know why?
...Give up? There is no way to stop the virus! If your victim
has Windows 7, then you can hide the virus in the following
folder to be really annoying:
C:\Users\(username)\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup
This activates the virus as soon as the victim starts up their
user!
Important Bit
As I said earlier, there's no way to stop the virus. So if you
get hit by this powerful trick, you need to know what to do.
Here's a few things you can do...
[list]
[li]Open CMD and type 'shutdown -a'.[/li]
[li]Just in case, write a BAT program using the code above and
always have it on your Desktop, or somewhere else you can easily
get at it.[/li]
[li]Keep an eye out for it! If you find something, open it with
Notepad first! If it's a shortcut, find the main program and
check it out.[/li]
[/list]
Happy infecting!
-Xeneo
#Post#: 26--------------------------------------------------
Re: Shutdown Code
By: sgtbraders Date: October 22, 2011, 5:41 am
---------------------------------------------------------
Nice first entry!
And thanks for creating the board!
*****************************************************