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

Monday 1 September 2014

How to Write a Batch File

            How to Write a Batch File



           A batch file contains a series of DOS commands, and is commonly written to automate frequently performed tasks.A batch file may contain any command the interpreter accepts interactively at the command prompt. A batch file may also have constructs (IFGOTOLabels, CALL, etc.) that enable conditional branching and looping within the batch file.
.bat: The first filename extension used by Microsoft for batch files. This extension runs with MS-DOS and all versions of Windows, under COMMAND.COM or cmd.exe, despite the different ways the two command interpreters execute batch files.
Writing a batch file is easier than it looks; the difficult part is making sure that everything happens in the right order. Well-made batch files can save you a lot of time over the long run, especially if you deal in repetitive tasks.

Batch files run a series of DOS commands, so the commands that you can use are similar to DOS commands. Some of the more important ones include:
 ECHO - Displays text on the screen 
@ECHO OFF - Hides the text that is normally output 
START - Run a file with it's default application
REM - Inserts a comment line in the program 
MKDIR/RMDIR - Create and remove directories 
DEL - Deletes a file or files 
COPY - Copy a file or files 
XCOPY - Allows you to copy files with extra options
FOR/IN/DO - This command lets you specify files

steps to make a bat file

  1. open notepad 
  2. save it as any name you want like virus.bat


@echo off cls :start echo This is a loop set choice= set /p choice="Do you want to restart? Press 'y' and enter for Yes: " if not '%choice%'=='' set choice=%choice:~0,1% if '%choice%'=='y' goto start






save it and run it as a administrater and see what happens....!!!!!

for more tricks and diffferent visit us to scaleable.in


Monday 4 August 2014

Hide keyloggers in a .jpg file

                              Hide keyloggers in a .jpg file    




                  

Note : Only For Educational Purpose.>!!!

Through this trick you can easily hide keyloggers. First download any key logger from google i think Ardamax is best. After installing just follow these easy steps=>



1) Firstly, create a new folder and make sure that the options 'show hidden files and folders' is
checked and ‘hide extensions for known file types’ is unchecked. Basically what you need is to see
hidden files and see the extension of all your files on your pc.



2) Paste a copy of your server on the new created folder. Let's say it's called 'server.exe' (that's why
you need the extension of files showing, cause you need to see it to change it)



3) Now you’re going to rename this 'server.exe' to whatever you want, let’s say for example 'picture.jpeg'



4) Windows is going to warn you if you really want to change this extension from exe to jpeg, click YES.



5) Now create a shortcut of this 'picture.jpeg' in the same folder.



6) Now that you have a shortcut, rename it to whatever you want, for example, 'me.jpeg'.



7) Go to properties (on file me.jpeg) and now you need to do some changes there.



8) First of all delete all the text on field 'Start In' and leave it empty.



9) Then on field 'Target' you need to write the path to open the other file (the server renamed 'picture.jpeg') so you have to write this :- 'C:\WINDOWS\system32\cmd.exe / c picture.jpeg'



10) The last field, 'c picture.jpeg' is always the name of the first file. If you called the first file 'soccer.avi'
you gotta write 'C:\WINDOWS\system32\cmd.exe /c soccer.avi'.



11) So what you’re doing is when someone clicks on 'me.jpeg', a cmd will execute the other file 'picture.jpeg' and the server will run.



12) On that file 'me.jpeg' (shortcut), go to properties and you have an option to change the icon. Click
that and a new window will pop up and you have to write this :-  %SystemRoot%\system32\SHELL32.dll . Then press OK.



13) You can set the properties 'Hidden' for the first file 'picture.jpeg' if you think it’s better to get a connection from someone.



14) But don’t forget one thing, these 2 files must always be together in the same folder and to get connected to someone they must click on the shortcut created not on the first file. So rename the files to whatever you want considering the person and the knowledge they have on this matter.



15) For me for example I always want the shortcut showing first so can be the first file to be opened. So I rename the server to 'picture2.jpeg' and the shortcut to 'picture1.jpeg'. This way the shortcut will show up first. If you set hidden properties to the server 'picture.jpeg' then you don’t have to bother with this detail but I’m warning you, the hidden file will always show up inside of a Zip or a Rar file.



16) So the best way to send these files together to someone is compress them into Zip or Rar.



17) inside the Rar or Zip file you can see the files properties and even after all this work you can see that the shortcut is recognized like a shortcut but hopefully the person you sent this too doesn’t know that and is going to open it.