Pages

Friday, February 7, 2014

How to Hack Root Password in Linux


Today I am going to tell you the trick to hack your root password in Linux if you are too forgetful to remember it or you have legal permission to enter a server run by a different admin and by any chance he forgot to give you the root password.

Those Who Have GRUB boot-loader.

  • The first step is to reboot server.Upon Linux booting up to GRUB loader GUI, move the arrow key up/down to highlight and select the Linux kernel and press e to edit the GRUB commands before booting.
  • Next, move the arrow key up/down and select the Linux kernel and press e again Give a single space and then type the word single at the end of edited line, Press the ENTER key. Keep the Linux kernel highlighted and press b to boot up with the single keyword, which will boot Linux into single user maintenance mode (You did nothing but to grant yourself the booting facility of a single user that is otherwise not visible while you enter the server as a root in a proper way)
  • Once the Linux boot up completely into single user maintenance mode, the Linux command prompt is ready to execute command. Type passwd to reset the forgotten root password - without prompting for old root password, just type a new root password and re-type to confirm it and you are done. You have successfully changed or reset the old password without having known the old one.
  • Type reboot or exit to reboot. On next boot up, you can login with the new root password!  Remember, it is for those who have GRUB bootloaders. 


Those who have LILO boot loader
  • First reboot the server When you see the LILO: prompt type linux single and hit enter. This will log you in as root in single user mode.
  • Once booting is complete, you can change your password with this passwd followed by the new password you want to assign. You are done.

Thursday, August 22, 2013

How to Hide files and folders from Command Prompt

By default, Windows provides Graphical facility to hide files. Simply you have to select the file you wanted to hide and go to property and check mark the Hidden option and Done.

But there is a falls in this technique and if someone know little bit about computer might open your hidden files and folders by selecting the option "Show hidden files, folders and drive" from the folder option dialog.

But here i will show you the trick that wan't show your data though you selected above option from folder option dialog box.

Follow the Step:

Step 1 : Open the Run dialog by pressing the Window button + R and then write cmd.


Step 2 : After opening the command prompt go to the location of the file or folder you want to hide.


Step 3 : Write the following command.
             attrib +h +s "Hide"



Step 4 : It's Done. Now your folder Hide want be shown even you select the show hidden files,folder option.
             To hide file same procedure.



Step 5 : To unhide your file simple replace "-" with "+".



Now you can hide any file and folder you want.