Jump to content

Banner Grabbing


Sniper
 Share

Recommended Posts

As far as I am aware, netcat is just a low level tool for piping data over network connections. You could use it to do banner grabbing but it would work in exactly the same way as using telnet, just with more work involved. Telnet is pretty much a perfect for the job.

Link to comment
Share on other sites

Banner gabbing http data with Telnet is as easy as opening port 80 and giving it the HEAD command.

HEAD / HTTP/1.1

GET would return the page, but not the server info, like Apache, PHP, etc, which is in the header. Its also easy to run wireshark and just look at the output, as its the same information, but with more detailed.

I personally use wget to do banner grabs myself. Here is what I use to grab the banner(header) as well as the page and cookies(no certificates):

ECHO [Wget Webpage (with Headers + Cookies) from what site?]
SET /P website="[example: www.google.com] : "

wget -d -o debug.txt --save-headers --save-cookies "%website%".cookie.txt "%website%" --user-agent="Opera/9.51 Beta (Microsoft Windows; PPC; Opera Mobi/1718; U; en)" --no-check-certificate

Save it in a bat file and run it(just don't name it wget.bat since its the same command it calls). It prompts you for the site you want to grab, just enter the website url and it does the rest. You can change the User Agent to anything, I just change it because some sites block the "wget" user agent.

http://gnuwin32.sourceforge.net/packages/wget.htm

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...