Sunday, 26 October 2014

Pranks Using Batch File : Part 2

  • Shutdown System With Message
         By this trick victim's system will be shutdown after display message. 
         This happens after victim click on OK button, then bat file force the system to shutdown.
         Steps:
  1. Open Notepad
  2. Copy and paste the below code into Notepad
         @echo off
          cls
          msg * Ha HA Ha
          shutdown -s -c "ERROR! YOU ARE TRAPED"
          Save this file with .bat extension and close it.
          You can then stop executing this file smartly by typing "shutdown -a" in RUN dialog box.
  • Continuously Repeat Message
         By this trick you can be the annoying person for anyone. Because this forces victim to Log Off by creating an infinite cycle of message in the system.
         Steps:
  1. Open Notepad
  2. Copy below text in your Notepad File.
         @echo off 
         :BEGIN 
         msg * Welcome 
         msg * To 
         msg * SPIDER WEB
         begins msg * Thanks for visiting 
         goto BEGIN 
         Save above text with .bat extension.
         Open file by Double Click.  
  • Matrix Effect
         Breathtaking matrix effect happen in your DOS window.
         Steps :
  1. Open Notepad
  2. Copy below text in your notepad file
        @echo off
         color 02 
         :start echo %random% %random% %random% 
         %random% HACKING begins %random% %random% %random% 
         %random% %random% %random% 
         goto start

         Save this with .bat extension. You can also change color and text.



NOTE : Some of the following tricks can cause system damage or can lead process in infinite cycle. So do not try on your own system.

Sunday, 12 October 2014

Notepad Tricks : Part 1

Hi friends, let's see some notepad tricks. These tricks are harmless and are useful.


  • Test Your Anti-Virus 

You can also test your anti virus program for its effectiveness using a simple notepad trick. Steps: 
  1. Open Notepad.
  2. Copy following code
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
      3.Save it with an .exe extension like testvirus.exe

This test is also known as EICAR (European Institute for Computer Antivirus Research) test file.
The file is simply a text file of either 68 or 70 bytes that is a legitimate executable file called a COM file that can be run by Microsoft operating systems and some work-alikes (except for 64-bit due to 16-bit limitations), including OS/2. When executed, it will print “EICAR-STANDARD-ANTIVIRUS-TEST-FILE!” and then stop. The test string was specifically engineered to consist of ASCII human-readable characters, easily created using a standard computer keyboard. It makes use of self-modifying code to work around technical issues that this constraint makes on the execution of the test string.


  • Make your Computer Speak

  1. Open Notepad file
  2. Copy and paste the mentioned code :
Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message
 
 
     3.Save this file with any name with .vbs as extension. For eg. Speak.vbs



       Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK.

    This Notepad trick allows you to create Notepad Diary in such a way that whenever you edit your note, it will get saved with date and timestamp automatically.

    •  Make your Computer Welcome you
    With this trick, you can make your Computer welcome you in its computerized voice. You can make your Windows based computer say "Welcome to your PC, Username."
    Make Windows Greet you with a Custom Voice Message at Startup
    Steps : 
    1. Open Notepad.
    2. Copy and paste following code 
    Dim speaks, speech
    speaks="Welcome to your PC, Username"
    Set speech=CreateObject("sapi.spvoice")
    speech.Speak speaks

         3.  Replace Username with your own name.
         4.  Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Welcome.vbs or "*.vbs".
         5.  Copy the saved file.
         6.  Navigate to C:\Documents and Settings\All Users\Start Menu\Programs\Startup (in Windows XP) and to C:\Users\ {User-Name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (in Windows 7, Windows 8 and above and Windows Vista) if C: is your System drive. AppData is a hidden folder. So, you will need to select showing hidden folders in Folder options to locate it.
         7.  Paste the file.

    Now when the next time you start your computer, Windows will welcome you in its own computerized voice.

    Note: For best results, it is recommended to change sound scheme to No Sounds.
    You can change the sound scheme to No Sounds by following the steps given below:-
    1.      Go to Control Panel.
    2.      Then click on Switch to Classic View.
    3.      Then Click on Sounds and Audio Devices.
    4.      Then Click on the Sounds Tab.
    5.      Select No Sounds from the Sound Scheme option.
    6.      If you wish to save your Previous Sound Scheme, you can save it by clicking Yes in the popup menu.
    7.      Click on OK.
    Try it yourself to see how it works. In my personal opinion, this is an excellent trick. Whenever I start my PC in front of anybody and the PC welcomes me, the fellow is left wondering how brilliant a computer do I have.