Showing posts with label tricks. Show all posts
Showing posts with label tricks. Show all posts

Wednesday, 24 October 2012

How to hide Folder without any software using cmd

crackthesecurity | 08:57 | | | Be the first to comment!

Step 1

Open your command promt

Step 2 : To Hide

Now type attrib +s +h Path\Folder_Name
Eg : attrib +s +h h:\CTS

Step 3 : To UnHide

Now type attrib -s -h Path\Folder_Name
Eg : attrib -s -h h:\CTS
Note you can also view the hidden folder by



Click on YES and you can now see your hidden folder

You can also hide any files with their extension

Eg : attrib +s +h h:\CTS\a.jpg
Read More...


How to Shutdown, Restart or Log Off in Windows 8

crackthesecurity | 00:45 | | Be the first to comment!

' This script will create shortcuts in the Start Menu
' Written by Amit Agarwal - 06/03/2012
' Web: http://labnol.org/?p=20989
' Version: 0.1
'
set WshShell = WScript.CreateObject("WScript.Shell")
strStartMenu = WshShell.SpecialFolders("StartMenu")
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Shutdown.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-s -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,27"
oShellLink.Description = "Shutdown Computer (Power Off)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Log Off.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-l"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,44"
oShellLink.Description = "Log Off (Switch User)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Restart.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-r -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,176"
oShellLink.Description = "Restart Computer (Reboot)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
Wscript.Echo "Created Shutdown, Restart and Log Off buttons in your Programs Menu. You can now pin them to the Start Screen of your Windows 8 computer."
Note Now copy the above code in notepad & save it as filename.vbs 
Here is the video demo by www.labnol.org and the tutorials is also Written by Mr.Amit Agarwal
Read More...


Tuesday, 23 October 2012

An Interesting Trick to Hide the Data in Notepad.

crackthesecurity | 00:11 | | | | Be the first to comment!

Steps to hide text in a Notepad

  • Open your command prompt
  • Type cd.. to move to C:\> drive or Type cd desktop to move to your desktop.
  • Type the below code in your command prompt
notepad filename.txt:hidden
  • Write some data and save (Ctrl+s) the file.
  • Browse to the file location and Open filename.txt you cannot see any data in the file.

To retrieve the hidden data open command prompt and type the same command.

>notepad filename.txt:hidden
Read More...