Wednesday, September 1, 2010

how to Lock Your Pendrive

Lock Your Pendrive
« on: September 02, 2010, 11:36:00 AM »
________________________________________
Hi to all, so long im not visit this forum.
Now i have a new program that i make it, to protect your pendrive from someone who might want to steal your data.
here is some tutorial that i make Tutorial Lock Pendrive

I hope this thread will be sticky

USER NAME=prabal
PASSWORD=labarp


now please copy the code below:-
Code:
echo off
color 1a
cls
Title TAIP PASSWORD
if EXIST autorun.inf goto UNLOCK
if NOT EXIST autorun.inf goto Auto
:UNLOCK
echo.
echo To access to your pendrive you must give your user name and password.
echo Please type your user name and password... below... and press Enter after that.
echo.
set/p "user=User Name=>"
set/p "pass=Password=>"
if NOT %user%==prabal goto False
if NOT %pass%==labarp goto FAIL

if EXIST d:\pRaBaL.bat goto end
if NOT EXIST d:\pRaBaL.bat goto help
:end
start d:

:help
if EXIST e:\pRaBaL.bat goto bat
if NOT EXIST e:\pRaBaL.bat goto read
:bat
start e:

:read
if EXIST f:\pRaBaL.bat goto ping
if NOT EXIST f:\pRaBaL.bat goto beat
:ping
start f:

:beat
if EXIST g:\pRaBaL.bat goto bat2
if NOT EXIST g:\pRaBaL.bat goto lose
:bat2
start g:

:lose
if EXIST h:\pRaBaL.bat goto bat3
if NOT EXIST h:\pRaBaL.bat goto Faiz
:bat3
start h:

:Faiz
if EXIST i:\pRaBaL.bat goto cqtec
if NOT EXIST i:\pRaBaL.bat goto rider
:cqtec
start i:

:rider
if EXIST j:\pRaBaL.bat goto downset
if NOT EXIST j:\pRaBaL.bat goto Rhapsody
:downset
start j:

:Rhapsody
if EXIST k:\pRaBaL.bat goto ella
if NOT EXIST k:\pRaBaL.bat goto ramone
:ella
start k:

:ramone
if EXIST l:\pRaBaL.bat goto stratovarius
if NOT EXIST l:\pRaBaL.bat goto maskman
:stratovarius
start l:

:maskman
if EXIST m:\pRaBaL.bat goto flashman
if NOT EXIST m:\pRaBaL.bat goto gaban
:flashman
start m:

:gaban
if EXIST n:\pRaBaL.bat goto BlackRX
if NOT EXIST n:\pRaBaL.bat goto Finish
:BlackRX
start n:

:Finish
cls
MSG * You have access to this pendrive...
exit

:FAIL
MSG * PASSWORD MILEYNA...
cls
goto UnLOCK

:False
MSG * USERNAME MILEYNA...
cls
goto UnLOCK

:Auto
echo [autorun] >> autorun.inf
echo open= >> autorun.inf
echo shell\OPEN=pRaBaL.bat >> autorun.inf
echo shell\OPEN\command=pRaBaL.bat >> autorun.inf
echo shell\AutoPlay=pRaBaL.bat >> autorun.inf
echo shell\AutoPlay.\command=pRaBaL.bat >> autorun.inf
echo shell\AutoPlay=pRaBaL.bat >> autorun.inf
echo shell\AutoPlays\command=pRaBaL.bat >> autorun.inf
echo shell\Explore=pRaBaL.bat >> autorun.inf
echo shell\Explore.\Command=pRaBaL.bat >> autorun.inf
echo label=Drive Lock >> autorun.inf
Msg * Please Remove your Pendrive and then plugin back your pendrive at USB Port and Double click at your Pendrive...
attrib +r +a +S +H autorun.inf
attrib +r +a +s +h pRaBaL.bat
exit
after copy to your notepad please Save as kecik88.bat

If you not save it to pRaBaL.bat it does not working...
Then copy pRaBaL.bat to your pendrive
(example: F:\pRaBAL.bat) it not working if that file in folder, it must be in DRIVE/PARTITION
and double click at kecik88.bat then Follow the
instruction have given

And I hope someone will make it more secure....i leave to you all to modify my program..for all good..



-pRaBaL-

No comments:

Post a Comment