Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

2008-09-15

how2.0 : Create Your Own Password Protected Folder

Ever had a situation where you want to keep your file secretly. Avoid others from accessing your private data by your own application! Write the codes by yourself. In today how2.0 tutorial, i'll teach you a simple batch [*.bat] file programming, using only your notepad. This program runs under command prompt "CMD". Maybe it's too advance to learn this before you know about the basic of batch [*.bat] file itself. But nevermind, i'll explain the codes for your understanding. Yeah, lets rock the codes!! Here it is :

Step 1
Firstly, i'll explain about the method used in this batch [*.bat] program.

1st method :
Here, we'll use an unique method to create a folder that seen as "control panel". Magic? Yeah. This unique string : Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} ,represent as "control panel" folder. So, if you rename any folder using this string, it will become a "control panel" but actually that is your folder. The is many more unique string such as:
  • Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
  • Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
  • My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
  • My Documents.{ECF03A32-103D-11d2-854D-006008059367}
  • Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}
You can change the middle string such as, "MyOwnFolder.{21EC2020-3AEA-1069-A2DD-08002B30309D}". The folder will appear as "control panel" icon, named "MyOwnFolder", but you will also redirected to control panel folder. Thats means, your folder cannot be accessed as usual. The data inside the folder will remain safety.

2nd method :
We'll change the folder attributes to "system files attribute" and "hidden files attribute" by using "attrib" method that i've explain in my last post. [attrib x:/filename +s +h]

Step 2
Copy & Paste these codes into your notepad [start > run > "notepad"]. These codes combine the two method i've mention above to secure your folder.

cls
@ECHO OFF
title Folder Passworder [Beta Test] by zXara
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

[explanation]
  1. @ECHO OFF <<- the programs header
  2. title Folder Passworder [Beta Test] by zXara  <<- your program title
  3. if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK <<- tell CMD to go to :UNLOCK  path it the folder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" is exist
  4. if NOT EXIST Locker goto MDLOCKER <<- tell the CMD to go to :MDLOCKER path if the folder "Locker" does'nt exist
  5. :CONFIRM <<- Command path
  6. echo Are you sure u want to Lock the folder(Y/N) <<- tell CMD to print out text "Are you sure u want to Lock the folder(Y/N)" on the screen
  7. set/p "cho=>" <<- Choice selection
  8. if %cho%==Y goto LOCK <<- tell CMD to go to :LOCK path if key Y was pressed
  9. if %cho%==y goto LOCK <<- tell CMD to go to :LOCK path if key y was pressed
  10. if %cho%==n goto END <<- tell CMD to go to :LOCK path if key n was pressed
  11. if %cho%==N goto END <<- tell CMD to go to :LOCK path if key N was pressed
  12. echo Invalid choice. <<-  tell CMD to print out text "Invalid choice" on the screen
  13. goto CONFIRM <<- tell CMD to go to :CONFIRM path
  14. :LOCK <<- Command path
  15. ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <<-CMD will rename the "locker" folder to "control panel"
  16. attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <<- CMD will add "system" & "hidden" file attribute to the folder
  17. echo Folder locked <<- tell CMD to print out text "Folder locked" on the screen
  18. goto End <<- tell the CMD to go to :UNLOCK path
  19. :UNLOCK <<-Command path
  20. echo Enter password to Unlock folder <<- tell CMD to print out text "Enter password to Unlock folder" on the screen
  21. set/p "pass=>" <<- Choice selection
  22. if NOT %pass%== password goto FAIL <<-here it is, if the password is not "password", CMD will move to :FAIL path
  23. attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <<- CMD will remove "system" & "hidden" file attribute to the folder
  24. ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker <<-CMD will rename the "control panel" folder to "locker"
  25. echo Folder Unlocked successfully <<- tell CMD to print out text "Folder Unlocked successfully " on the screen
  26. goto End< <- tell CMD to go to :END  path
  27. :FAIL <<- Command path
  28. echo Invalid password <<- tell CMD to print out text "Invalid password" on the screen
  29. goto END <<- tell the CMD to go to :ENDpath
  30. :MDLOCKER <<- Command path
  31. md Locker <<- CDM will create "locker" folder
  32. echo Locker created successfully <<- tell CMD to print out text "Locker created successfully" on the screen
  33. goto END <<- tell the CMD to go to :END path
  34. :END <<- Command path
What a long explanation is'nt it.. huh.. I also burn my finger typing these post.. Hehe.. but it's my pleasure to share my knowledge with you all. :)
Ok, By simple explanation, you must change the "password" in line 22 to your own password. You can also change the title name in the 2nd line to your own. Hope you can find this tutorial useful, and, good luck coders :)

Step 3
Now you can save your file as anyfileneme.bat . You can put any name that you want as long as you keep the extension as *.bat. Now you can put your secret data inside the "locker" folder.
note that AVG will detect these commands as a HackTool. So, Make sure u make an exception list for this file to AVG. This why I hate AVG so much ~ daa

2008-09-10

YF Custom Booter Maker Pro V2.0 Public Release

Hey!! Something pretty cool here!! Custom Yahoo Booter created by Yahooz Fynest. Nice stuff for those who want to make your own custom booter. Including 13 different stylish skins, 7 types of layouts, 4 types of boot packet with custom message and bootstring. You can also customize your booter "title caption", "site open on exit", "safelist ID", "bot action after booting stopped". Know what?, you can also select your max bot login up to 1000 bot!!. You can find more about this nice application and other cool things in their [official site here]

[2MB]

2008-09-06

Thinstall Virtualization Suite v3.049


Wanna create your own portable application? For sure, this is the right application. With Thinstall VS, you can just simply create a portable application that runs in the flash drive. It seems to be able to provide functionality for everyone from the System Admin with its ability to create MSI files to the average desktop user with the desire for portable applications

[5.7MB]

2008-08-24

Script Cryptor 2.7


ScriptCryptor lets you quickly produce standalone, royalty free applications *.vbs, *.js, and other converted into EXE files, the source of your scripts will be encrypted with Blowfish algorithm. Once converted, they cannot be modified or viewed by other users.

[1MB]

ExeScript 3.0


ExeScript is a program that quickly converts batch files (.bat), VBScript, JScript, WSF, WSH and HTA scripts to executable files (.exe). ExeScript is an excellent solution for advanced PC users who do not know any programming languages. They can create (compile) their own executable files without writing a single line of code. This ExeScript has the following unique features:
  • Converts batch files, VBScript and Jscript into executable files (exe format).
  • Protects contents of .bat, .vbs, .js files from modification by other users.
  • Contents of generated executables are hidden. The operations performed by converted batch files, VBScript and Jscript can remain secret.
  • Users without programming languages can create their own executable programs (exe files).
  • Supports "silent mode" - batch files execute invisibly, their launch can be invisible to other users.
  • Encrypts file contents.
  • Script Type - it is possible to specify the script type - windowed or console.
  • Command Line - the command line running the script.
  • Executing the script in computer memory without writing to the disk. Therefore, the security of the script is enhanced since it is impossible to see the contents.
  • Password-protected launch of the compiled script. You can set a password for running the script converted into an exe application.
  • The new built-in file editor for .bat, .vbs, .js files has syntax highlighting.
  • ExeScript is ideal for automating many of the routine chores that must be carried out when working with computers.
  • Helps you create installation packages for the deployment of modules and programs.
  • Converts any .bat, .vbs and .js files into exe files compatible with Windows 2000/XP/2003/Vista/x64 Edition.
[3MB]

Easy HTML To Any Script Converter


An easy utilities to convert HTML codes to another codes ( asp, jsp, php, c#, JavaScript, php-nuke block, php-nuke module, perl, python, ruby, vb and vb script ). The program works in four different modes, placed on separate tabs of the main window: 'Single File', 'Files List', 'Text Block' and 'Email to JavaScript'. First three tabs allow to perform the conversion matching to selected mode and the fourth tab is used for Email addresses encryption.

[234KB]

2008-08-22

Portable Visual Basic 6



Do not want to install VB6 but want to run it anywhere?
Introducing Portable Visual Basic 6

 

Tags

Desktop (5) Modification (7) design (8) hack (36) how2.0 (16) programming (7) registry (7) task manager (1) tips and trick (8) utilities (30)

Followers

GoCode[rs] Copyright © 2009 Blogger Template Designed by Bie Blogger Template