Banner Grabber: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
| + | =telnet= | ||
| + | *telnet 192.168.240.69 80 | ||
| + | <pre> | ||
| + | Trying 192.168.240.69... | ||
| + | Connected to 192.168.240.69. | ||
| + | Escape character is '^]'. | ||
| + | GET /index.html HTTP/1.1 | ||
| + | |||
| + | HTTP/1.1 400 Bad Request | ||
| + | Date: Mon, 15 Aug 2016 13:02:19 GMT | ||
| + | Server: Apache/2.4.7 (Ubuntu) | ||
| + | Content-Length: 308 | ||
| + | Connection: close | ||
| + | Content-Type: text/html; charset=iso-8859-1 | ||
| + | |||
| + | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> | ||
| + | <html><head> | ||
| + | <title>400 Bad Request</title> | ||
| + | </head><body> | ||
| + | <h1>Bad Request</h1> | ||
| + | <p>Your browser sent a request that this server could not understand.<br /> | ||
| + | </p> | ||
| + | <hr> | ||
| + | <address>Apache/2.4.7 (Ubuntu) Server at scorpia.xinux.org Port 80</address> | ||
| + | </body></html> | ||
| + | Connection closed by foreign host. | ||
| + | </pre> | ||
| + | |||
=netcat= | =netcat= | ||
*echo -e "GET /index.html HTTP/1.1\n\n" | nc 192.168.240.69 80 | grep Server | *echo -e "GET /index.html HTTP/1.1\n\n" | nc 192.168.240.69 80 | grep Server | ||
Version vom 15. August 2016, 13:03 Uhr
telnet
- telnet 192.168.240.69 80
Trying 192.168.240.69... Connected to 192.168.240.69. Escape character is '^]'. GET /index.html HTTP/1.1 HTTP/1.1 400 Bad Request Date: Mon, 15 Aug 2016 13:02:19 GMT Server: Apache/2.4.7 (Ubuntu) Content-Length: 308 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> </p> <hr> <address>Apache/2.4.7 (Ubuntu) Server at scorpia.xinux.org Port 80</address> </body></html> Connection closed by foreign host.
netcat
- echo -e "GET /index.html HTTP/1.1\n\n" | nc 192.168.240.69 80 | grep Server
Server: Apache/2.4.7 (Ubuntu) <address>Apache/2.4.7 (Ubuntu) Server at scorpia.xinux.org Port 80</address>
Bannergrabbing mit NMAP
Bannergrabbing auf Linux
- Alternativ kann auch das Bannergrabbing-Tool "p0f" verwendet werden, dass jedoch nur für Linux-Systeme zur Verfügung steht
- http://lcamtuf.coredump.cx/p0f3/