Monday, 5 December 2011

How To: Use Netcat To Get All Server Information

Download NetCat…
If u r using windows XP then copy it to “C:\WINDOWS\system32″ as it is the default location of the CMD commands…
Now creat a file Get.txt in “C” drive with the following lines in it
GET / HTTP/1.0
Make sure u leave a blank line beneath it….
Now open RUN or press Windows Logo Key + R….
Then type CMD
In the command prompt type cd\
This will take u to C:\
Then type nc -v www.site.com 80 < get.txt
And press enter
Where www.site.com is the website about which u want to extract the info…..
And u will get the information…..
Alternative method….
It is much more eassy…..
open RUN or press windows logo key + R….
Then type CMD
In the command prompt type nc -v www.site.com 80
Press enter
Then type GET / HTTP/1.0
And hit a couple of returns
And u will get the required info…..
[NOTE: Remember 80 is the default port for HTTP]

No comments:

Post a Comment