Saturday, 29 March 2014

Activate Godmode in Windows 7

Now a friend of mine asked me, how do you I view the installed updates on my system? Looking at the settings screen, one would have to click a few times, and then you finally get the settings you want.

This is tedious and boring. But let's change that. It's pretty simple. By doing so, you get most of the settings at one place. So, you would have to click only once (most of the times).

Here is the how-to:
  • Right-click on any free space on your desktop
  • Create a new folder.
  • Name that folder to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} and press Enter
And that's done. Now, open your new folder and see what Windows 7 has to offer.

Thank you for reading and as always please comment.

Compile and Run Programs in Notepad++

Yo, most of the people I know use Notepad++ and swear by it that it's the best text editor any one can use. Me, I frankly use Vim. But, I gave it a shot and it's pretty useful. It's got tons of features. This post is not about Notepad++ and it's features.

Now, back to post. The major problem any guy or gal has is that once you write your program in Notepad++, you cannot compile or interpret in it nor can you run your compiled programs in it. So, you would have to use some other application with it. But, now you don't need to (unless you want to debug). I tried that, but it did not work.

Here is the how-to:
  • Install the compiler or interpreter you want to use.
  • Install NppExec Plugin (I won't write how to install it)
  • Now, goto Plugins -> NppExec -> Execute or press F6
  • In the Execute Dialog Box, write
 For C, write
 cd "$(CURRENT_DIRECTORY)"
set obj = $(CURRENT_DIRECTORY)\$(NAME_PART)
gcc "$(FILE_NAME)" -o "$(obj).exe"
NPP_RUN "$(obj).exe"
unset obj
 For C++, you can write
 cd "$(CURRENT_DIRECTORY)"
set obj = $(CURRENT_DIRECTORY)\$(NAME_PART)
g++ "$(FILE_NAME)" -o "$(obj).exe"
NPP_RUN "$(obj).exe"
unset obj
For Java,
 cd "$(CURRENT_DIRECTORY)"
javac "$(FILE_NAME)"
java "$(NAME_PART)"
NOTE: You can write something similar for the language you want to use.
  •  Click on Save.
  • Give the name something like run@.c for C, run@.cpp for C++ and run@.java for Java. (But, keep the name same, see only the extension has changed,  because you are gonna use this property later)
  • Then, make a new script and write in it,
// Save Current File
NPP_SAVE
// Construct the script name to be called
SET Compiler = run@$(EXT_PART)
// Call the script
NPP_EXEC "$(Compiler)"
  • Save this with a name something like compile.
That's about it. Now, anytime you write you program, just run the compile script and it's done.

I haven't tried it with languages other than the ones that have been mentioned in this post. If you do try it, whether you are successful or not, please let us know.

As always thanks for reading and please comment.

Saturday, 15 March 2014

Play Breakout on Google

Have you played DX Ball 2? It is actually similar to Breakout. Breakout is an old Atari game. Now, you or anyone can play it on Google.
Well, this trick works (for now, meaning Google has not removed it). Breakout game is a classic (my opinion) and has many remakes. I don't wanna delve into the history of the game, this post is not about that, now back to basics. The board (or the player) can be moved with the mouse or the keyboard arrow keys. It is a fairly easy game and can be played by almost anyone.

To play, simply:
  • Fire up your browser.
  • Go to Google Images
  • In the search box, type
atari breakout
  • Press Enter and you are done.
Here is a small video of me playing. (Well, it is actually another trick in action)

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.

See Password behind Asterisk in Web Browser

There are several passwords one needs to remember like, for your account, the wifi password, password for hidden files and so on. But each time the popup shows or the web browser asks you to enter your password, all you see when you type the darn thing is a bunch of dots.Even in the modem configuration page, the password for the account is a just a bunch of dots.

This post will tell you a way to actually see those passwords. Now, you would be thinking this is crazy, why would I want to do that. Beats me! I don't know why you want to use this trick but you are here none the less.

So, here is the how:
  • Go to the page that requires the password
  • Type in the password
  • Right click in the password field and select Inspect Element


  • Find the line which reads something like type = password



  • Change password to text and press Enter
  • Voila! You can now see the password
It was that simple. So go ahead and try it out.

NOTE: I have only tried it out using Google Chrome and Mozilla Firefox. If you are using some other web browser, then the trick may need to be modified a little. (Sorry, can't tell you the details of every web browser present on the planet on such a little post, now can I)

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.

Sunday, 9 March 2014

No Sound in Linux

This is the most common problem, I have come across. Basically it boils down to this. No matter what I do, I cannot get the sound to work.

So, in this scenario, here's what to do:
  • Install pavucontrol (I am not gonna tell you how! Linux has many flavors and each one can use multiple methods)
  • Start pavucontrol (Basically done through terminal)
  • Check the sliders and increase them to the level you want but keep them below 90%.
 
I know most of you will say, been there done that. But wait, there is more.
Here are couple of links, if the above mentioned does not work:

I hope this helps.

As Always thanks for reading and please comment.

Stuff that most try to do