Showing posts with label Hack. Show all posts
Showing posts with label Hack. Show all posts

Thursday, 13 March 2014

Hack A Linux System

Now, in the world of OS, the most secure system is that of Linux. Here I am gonna show you how to break into a linux OS. Basically all you need is the root password to do anything in linux, Right! I have successfully tried it myself. The system I used was LXLE. You just need GRUB to do this trick.

Here's how you do it:
  • Interrupt linux boot. (Basically, keep Shift Key pressed)
  • Now, you have the GRUB menu, highlight the OS and press e for edit
  • Find the line which contains something on the lines
/vmlinuz -somenumber-generic
  •  At the end of said line, add 1 or s or single after a space (I tried with single and 1, but single worked)
  • Boot with the current settings (I can't exactly list how to do so, since it differs in each flavor)
  • By doing just this you may get root access
  • Now, you do whatever you want. But just in case you tried changing root password and it does not give any output. (Well, that's because SELinux is interrupting)
  • Then, type setenforce 0 to switch SELinux into permissive mode and try again. 
  • If it says something on the lines that setenforce is not installed, then install it and try again.
And that's about it. Now, you can pretty much do anything ranging from changing root password to adding new hidden accounts (I am gonna post on it soon) and even changing password of present user accounts or even deleting them.

I don't actually care why you do this. But I just have to say it, this is sweet.

If I didn't mention something or left something out, then please let me know. There are other ways of hacking a linux box which I have not mentioned, so if you do know of it let us all know.

As Always thanks for reading and please comment.

Hack Windows 7 login

At times, you find yourself locked out of your system or a friend of yours has changed your password and has left you in trouble. No matter what the case may be, you can still get you account back. Pulling this off in Windows XP was simpler but anyway here is the how-to:
  • Fire up your system.
  • When the screen states "Starting Windows", press the power button.
  •  Now restart the system, when it boots, you have a choice whether to start normally or Launch Startup Repair. Choose Launch Startup Repair.

  • Now, a pop may ask you if you want to use System Restore. Press Cancel.
  • After waiting quite some time, you will be told that Startup Repair failed. Click on the down arrow to see the problem details
  • Scroll down to the very bottom of the report and click on the link for the offline Privacy Statement

  • Notepad opens up, go to File and click on Open

  • In the Open Dialog, go to Computer -> Local Disk (This could be C: or D: or the place where you installed Windows)  -> Windows -> System32
  • Change the File Type from Text Documents to All Files
  • Find the application sethc or a file named sethc.exe
  • Right Click and rename it to sethc-bak
  • Find the application cmd  or a file named cmd.exe
  • Right Click and copy it
  • Now Paste it
  • You will get something on the lines of cmd - Copy,  right click and rename it to sethc
  • Close Notepad and Press Finish (Basically System Shutdown)
  • At the login, press Shift Key 5 times
  • Voila! You have DOS

  • Type net user. This gives you a list of all users.
  • Now, type net user username * to reset the password of account username or net user username password to change password of username account.
See this is a bit complex but still you get what you want.

As Always thanks for reading and please comment.

Stuff that most try to do