Sunday, March 22, 2009

Secret Entry To Many Websites Using Googlebot

You must have gone thourgh this many times when you ask Google to look something up; and the engine returns with a number of results, but if you try to open the ones with the most promising content, you are confronted with a registration page instead, and the stuff you were looking for will not be revealed to you unless you agree to a credit card transaction first....
The lesson you should have learned here is: Obviously Google can go where you can't.

This problem can be easily supassed by identifying urself as Google to the required website.

In fact, many sites that force users to register or even pay in order to search and use their content, leave a backdoor open for the Googlebot, because a prominent presence in Google searches is known to generate sales leads, site hits and exposure.
Examples of such sites are .Net Magazine, Nature, and many, many newspapers around the globe.

How then, can you disguise yourself as a Googlebot? Quite simple: by changing your browser's User Agent. Copy the following code segment and paste it into a fresh notepad file. Save it as Useragent.reg and merge it into your registry.

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"

You may always change it back again.... I know only one site that uses you User Agent to establish your eligibility to use its services, and that's the Windows Update site..To restore the IE6 User Agent, save the following code to NormalAgent.reg and merge with your registry:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
@="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"

Finding Open Ports in a web server

Required Software- Nmap

Step 1: Download Nmap tool from the site www.insecure.org/nmap

Step 2: Install it in ur system.

Step 3: Go to command promt and just go to the path of the drive in which nmap is installed.

E.g:- c:\nmap>

Step 4: Now this is the command to type.

For example if u want to know about the open ports of Yahoo server.

c:\nmap> nmap -sT -p 40-225 www.yahoo.com

From the above command 40-225 are the port numbers of the server that are being checked.You can give any number of port numbers that you want , just try this one and see.
netstat -n
try this command..this will giv u all the ips along port..o r connected..
or u may try netstat -a