Sinisterly
[TUT] How to use NetCat to get server info - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.li/Forum-Tutorials)
+--- Thread: [TUT] How to use NetCat to get server info (/Thread-TUT-How-to-use-NetCat-to-get-server-info)



[TUT] How to use NetCat to get server info - numan_malik999 - 08-03-2011

[TUT] How to use NetCat to get server info


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]


RATE IT IF YOU LIKE