Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies > E-Learning Center

Notices

E-Learning Center « E-Learning tutorials and competitions. »

Reply
 
Share Thread Tools Search this Thread
Old 11-07-2008   #1
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Simple Folder Locker

This thread is for educational purposes.
Inspired from this thread:
http://vcoderz.com/forum/showthread.php?t=2396&page=12
I decided to make a simple folder protector for flash memory.
This is not extremely secured, it depends on who's running your flash memory (kevin mitnick or osama bin laden :p)
Note that this does not work on Windows Vista.

First:
This is a final demo release of the software version 1.0:
http://www.4shared.com/file/70107155...8d/locker.html
The password of this demo is "linux".

Second:
How this demo was made?
This is the raw program (source code):

Code:
@echo off
color 0a
for %%x in (%1) do set path=%%~dpx
cd %path%
cls
echo Simple Folder Locker By Edgard Chammas.
echo ---------------------------------------
echo.
:CHOICE
ECHO Enter "l" To Lock Or "u" To Unlock Or "x" To Exit:
set /p CH=
if %CH%==l (
goto lock
) else if %CH%==u (
goto unlock
) else if %CH%==x (
goto bye
) else ( 
goto CHOICE
)
:lock
IF NOT EXIST secured goto FNE1
ren secured secured.{21EC2020-3AEA-1069-A2DD-08002B30309D}
echo The Folder "secured" Is Now Locked!
goto bye
:unlock
Echo Enter The Password In Order To Unlock The Folder "secured":
set /p password=
if %password%==linux (
IF NOT EXIST secured.{21EC2020-3AEA-1069-A2DD-08002B30309D} goto FNE2
ren secured.{21EC2020-3AEA-1069-A2DD-08002B30309D} secured
echo The Folder "secured" Was Unlocked Successfully!
goto bye
) else (
goto WP
)
:WP
echo You Entered A Wrong Password!
echo Cannot Unlock The Folder!
goto bye
:FNE1
echo The Folder "secured" Does Not Exists Or It Is Locked!
goto bye
:FNE2
ECHO The Folder "secured" Does Not Exists Or It Is Not Locked!
:bye
pause
This code is saved as "locker.bat"
The batch file is converted to an executable file using "Quick Batch File Compiler"
The executable file is packed using UPX 3.1




Google is offline   Reply With Quote
Reply

  Vcoderz Community > Computer Zone > Computers & Information Technologies > E-Learning Center

Tags
folder, locker, simple



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:24 PM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share