Tuesday, January 24, 2012

Blocking Intruders From Using SSH

There are number of ways through which you can achieve this:

Usually you don't need a SSH access from outside your network, so closing the SSH port (22) in your router. Thus now no one can access your system via SSH.
Or else you could use programs(OR)softwares like Fail2Ban or DenyHosts. These watches your logs for repeated failed login attempts from the same IP address, then adds that IP address to your firewall rules to block any further contact from there.
Thirdly, usually hackers assume that SSH generally runs on the default port 22, change it to some random number by editing /etc/ssh/sshd_config and change the listen directive to:

  Listen 32145 (just an example)

now restart sshd using the command service sshd restart. The only disadvantage of implementing this step is that you have to specify the new port no. everytime you need to connect using SSH, but you can use an alias to take care of that:

alias newssh ssh -p 32145 (just an example)


Thursday, September 22, 2011

Extend the Windows 7 Trial from 30 to 120 Days

Now to perform the hack to extend the windows 7 trial mode follow the steps below: 

  • You’ll have to find Command Prompt in the start menu (or search for it), and then right-click on it and choose Run as administrator. (very important)  
  • Now simply type in this command
          slmgr -rearm


  •   Within a few seconds you’ll see this dialog box show up, saying that the command has completed successfully, at which point you’ll have to reboot your system.
  •  Now after reboot, check your system properties again (you can check this by right clicking on My Computer and go to properties), you will be amazed to see this your activation period has again come back to 30 days.
ENJOY!!!




Monday, September 19, 2011

How to change root password IN linux without knowing it?

I provide this information solely for educational purpose, any misuse of this article in any case will not be my fault and responsibility. Thus, dear friends use it for good.

Steps are as follows:
1) Startup your linux machine.
2) In the GRUB Screen, press "e" for edit.
3) After pressing "e" you will be prompted with three lines. Which shows the current disk in use for booting the system, the run level in which the system will boot, etc.
4) Now highlight the second line and again press "e".
5) You will able to edit that line, now at the end of that line type "1" (or) "single"
6) After typing "1" (or) "single" press "b" for boot. This will boot the system in single user mode. In linux single user mode usually doesn't require password for login.
7) After booting the system in single user mode, in the console or terminal type "passwd", which will ask you for setting the new password for root, change the password and login again as usual.

[ROOT PASSWORD IS CHANGED SUCCESSFULLY, ENJOY!!!!]