Code Infinity

SAVE THE EARTH.............

Friday, October 24, 2008

understand bitwise operator in c++...

Well, a bit confusing, bt still very usefull. Bitwise operator if used properly can be very handy.
Bt before anything you have first understand it...
You all must have been familiar with AND , OR ,NOT operations in boolean algebra.
i.e 1 OR 0 = 1, 1 AND 0 = 0 etc..
Bitwise operator works in a similliar manner..
Now look at the following code snippet,

int i= 0x1;
if(i & 0x1)
cout<<"true";

Now, you must be wondering what would be the result..
I will say output will show true.. bt how.
1 & 1 = 1
thus (i & 0x1) will result 1, which means true.
So, now you must have a little bit idea of bitwise operator..
Use it in your codes to master it... 


Sunday, October 19, 2008

Bypass BIOS Password....

DISCLAIMER:
This hack is not for newbies, home hacker. So, if you do actually encounter problem with bios password you should contact professionals.

actually, there are several backdoors for cracking bios password.Bt i haven't tried all this on any laptop.

> reset cmos using jumper
> remove cmos battery for atleast 10 minutes...

I have actuallyremoved cmos battery to reset my bios password. I think it is the most easy & safest way to reset you bios password. Bt it doesn't guarantee at all, beacuse the latest motherboards use capacitors to save the password, bt you can remove the battery for atleast 24hr and then try.

Taking about reseting jumper is a bit complicated bt has higher probabilities that you can bypass the password. Actually there are jumpers on any motherboard somewhere near processor or the loaction will vary with the motherboard producers. Before resetting you should carefully read your motherboard manual. Actually what you will have to do is to reset the jumper that will name like CLEAR , CLEAR-CMOS,-CLR- or etc you got to find it on yourself and then reset the correct jumper. PLEASE TURN OFF PC BEFORE DOING ANYTHING. 

The password that we talked till now removes the password the even stops booting. What if you have to bypass password the stops you from entering the bios-setup. Well it is pretty easy.

open dos and type debug,
A hyphen (-) prompt will appear waiting for you to enter commands.
enter the following

o 70 2e
o 71 ff
q

However, after reseting some of your drivers might not work correctly. So, you got to reinstall them, & after that all will be fine..

Saturday, October 18, 2008

Speed it up!! Mozilla Firefox!!!

Open Firefox & follow the instructions,

1. Type "about :config" in the adress field.
2. Set the value of network.http.pipelining to "true".
3. Set the value of network.http.pipelining.maxrequests to "100".
4. Set the value of network.http.proxy.pipelining to "true"
5. Set the value of nglayout.initialpaint.delay to "0" (not availible in newer versions) 

Friday, October 17, 2008

speed up your bandwidth by 20%...

hey, it for all of you....
DO YOU WANT TO SPEED YOUR INTERNET SPEED BY 20% & that too without spending a paisa.
Actually windows uses 20% of your network bandwidth. SO NOW the time has come to take it back, Take back your rights..

go to run and type gpedit.msc
Computer Configuration-->Administrative Templates-->Network-->QOS Packet Scheduler-->Limit Reservable Bandwidth
you will see that this option is actually disabled. But the realty is windows IS using your 20% bandwidth. So, the trick is to enable this option & then, reduce it to zero.
Apply, it and see the change..

Please give comment, for if you succeed...

access hidden hard-drive?

Have you been encountered any situation in which you find some of the local disk drives hidden. I have also written a post on how to hide any local disk drives.
Accessing hidden drives is pretty easy without changing any registry or editing group policy, even in the case you are not administrator, I will show you,

 Just make a shortcut of the drive you want to access. 
To make a shortcut, right click > new > shortcuts,

in the path field give the address of the drive you want to access, and lo windows will open it for you.

Wednesday, October 15, 2008

stop autorun from usb

Well this just an continuation on pen-drive viruses. A very simple trick, that you can use to kiss  pen-drive viruses is to 'disable autorun option'. For that you have to just follow these things,

1. type gpedit.msc in run.
2. user configuration ->administrative template -> system -> turn off autoplay
3. enable this option for all drives.

This will actually save. But this stop types of autorun. So,  u should enable this option if u r more prone to usb viruses.

One more thing that you can do, is press shift key will entering CD or your pen-drive this will also stop autorun.

Monday, October 13, 2008

Stopping pen-drive viruses..

Hi, actually while monitoring different viruses, i found that viruses generally make a autorun.inf file to easily propagate. I have came up with a very easy idea and that is,
> format your pen-drive ( don't quick format it..)
>make a folder named "autorun.inf" (without double quotes).

now , it is quite safe for you to use your pen-drive , because now the viruse won't be able to make their autorun file and you are safe.

Frequently asked questions:

1. I cannot format?
> open task-manager and try to look out for some suspected process. We have already taked about it in the previous post. Delete those processes. If again you are unsuccessful, then definitely you have not killed the correct process, try again you will succeed.

2. I don't want to format, what should i do?
> firstly, show hidden file, enable the option for showing system files. delete all the suspected file, or folder.

3. I cannot make autorun.inf folder?
> repeat the process as described in above question.

HOW TO GET ANY WINDOWS PASSWORD

HOW TO GET ANY WINDOWS PASSWORD

ok..... here are the full details.....

this works whether its windows 2000 or windows xp or windows xp SP1 or SP2 or windows server 2003....

this works even if syskey encryption is employed...

if it is FAT filesystem...

just copy the sam file like stated in the first post to an empty floppy disk and take it home.

You can find SAM file "C:\WINDOWS\system32\config". Actually a sam file is created by windows to store all the account passwords.

 I'll tell u what to do with it later... DON'T DELETE THE ORIGINAL SAM FILE. just remove its attributes. the sam file is a file called SAM with no extension.  
To remove the attributes of any file open dos and type following:
cd c:/windows/config
attrib sam -s -r 
this will remove the attributes of read-only and system file.
YOU MUST ALSO GET.... a file called SYSTEM which is in the same folder as SAM. both files have no extensions...

if it is NTFS....

u have to download a program called NTFSPro.... it allows u to read from ntfs drives... the demo version allows read only. the full version is read-write.... you use the program to create an unbootable disk (so u will still need another bootable disk and an empty disk) that has the required files to access NTFS.

use the boot disk to get into dos, then use the disks created with ntfspro to be able to access the filesystem, then copy the SAM and SYSTEM files to another empty disk to take home....

AT HOME: u have to get a program called SAMInside. it doesn't matter if it is demo version. SAMInside will open the SAM file and extract all the user account information and their passwords, including administrator. SAMInside will ask for the SYSTEM file too if the computer you took the SAM file from has syskey enabled. syskey encrypts the SAM file. SAMInside uses SYSTEM file to decrypt the SAM file. After SAMInside finishes, u still see user accounts and hashes beside them. the hashes are the encoded passwords. Use SAMInside to export the accounts and their hashes as a pwdump file into another program, called LophtCrack. it is currently in version 5, it is named LC5. the previous version, LC4 is just as good. u need the full or cracked version of the program. LC5 uses a brute force method by trying all possible combinations of letters numbers, and unprintable characters to find the correct password from the hashes in the pwdump file imported into it from SAMInside. This process of trying all passwords might take 5 minutes if the password is easy, up to a year if the password is long and hard (really really hard). LC5 howver, unlike LC4, is almost 100 times faster. both can be configured to try dictionary and common words before using all possible combinations of everything. Once the correct password is found, it will display the passwords in clear beside each account, including administrator.

I use this method so many times. I've compromised the whole school computer infrastructure. LC4 usually took between 1 second and 10 minutes to find the passwords because they were common words found in any english dictionary. I haven't used LC5 yet.


Programs needed: SAMInside (doesn't matter which version or if demo)
LC4 or LC5 (lophtcrack)( must be full version)
NTFSPro (doesn't matter if demo)
any bootdisk maker

Saturday, October 11, 2008

Making batch viruses.....

hey, i will show you a simple way about how to make batch viruses. Actually batch viruses can be very destructive and also be very funny. Here is something that you can do,
> make a batch file , with following written in it
shutdown -r -t 00
> copy this file into the startup directory of your windows. if you are unable to find it, then you go to start>all programs>startup, double click on startup and the startup folder will be opened for you.

now, next time when you start your computer, it will automatically restart &  this will carry on.

So, what is the remedy. Very simple, you have to open windows in safe mode by pressing f8 before booting. Go to startup folder and delete your batch.

This is a real thrilling fun with those who are unaware of this. You can also make it even more strong more controlled by scheduling it and blah,blah there are thousands of things that you can do.

Tuesday, October 7, 2008

hack yahoo,rediffmail, google & orkut????

Hiii, i have written this post as to warn you against the most common tricks on internet. Actually those you have tried to hack mail servers, the newbies must have searched that on google & must have recieved pages saying 'compose a to pwd_server@yahoo.com blah,blah  with subject password retrive & in the message type your mail-id, mail-id of the victim, & your password" 

Actually i want to tell you the truth of all these mesh. Actually it is not very easy to break through mail severs and even if you could do that, then is not possible to crack the password. 
The mail you have composed actually goes to a hackers and what more you have given him your password. 
So, all you have tried this immediately change your password, otherwise you will end up in a ditch.................