Whatweb
WhatWeb is the perfect name for this tool. It answers the question, “What is that Website?” WhatWeb can identify a wide range of information about a live website, including:
WhatWeb offers both passive scanning and aggressive testing. Passive scanning extracts data from HTTP headers, simulating a normal visit, making it non-intrusive. Aggressive scanning digs deeper, using recursion and various types of queries to identify technologies, similar to a vulnerability scanner.
Pentesters can use WhatWeb for both reconnaissance and vulnerability scanning. It also supports various advanced features like proxy support, scan tuning, scanning IP ranges, and spidering.
Syntax:
whatweb [options] <URLs>
Note: The options are deprecated. Only the major options are listed here. For the full list, please visit the WhatWeb tool homepage.
-i /dev/stdin.The aggression level controls the trade-off between speed/stealth and reliability:
--header "Cookie: SESSID=1a2b3c;".In this lab, we perform a simple enumeration of websites to identify the technologies used in the website and webserver.
Note: Please do not use this tool against government or military websites without prior permission. The author or tool developers are not responsible for any consequences if misused.
Scenario:
Command:
whatweb www.facebook.com
To give a more verbose Output
Command: whatweb -v www.facebook.com
Practically, how we can use this information for Vulnerability Analysis is that sometimes you may get that the webserver is an outdated version of Apache or IIS. Or sometimes, the website is running an old WordPress version vulnerable to many issues. Like that, you can find out the vulns & exploits for different versions of technologies used in the website.
whatweb allows you to test for a range of IP addresses. In this lab, we test a range of IPs on a local network. This can be useful while doing Pentests inside a production network or sometimes like finding out a list of Web-UIs or cpanels on a range of IPs.
Scenario:
Internal Network : 192.168.0.0/24
Attacker: Kali Linux
command: whatweb -v 192.168.0.1/24
Interestingly, the verbose output gives out coloured strings of interesting information. Take look at all those colours in the images below & identify all modules.
Try for yourself: Remember whatweb can scan for ranges outside the LAN, on the WAN also. Find out google’s IP address, and perform a scan on it’s range.
Read more here to explore the whatweb tool.
Introduction Google Dorking is a technique where advanced search operators are used to uncover information…
Linux is renowned for its versatility, open-source nature, and security. Whether you're a beginner, developer,…
Cyber insurance helps businesses and individuals mitigate financial losses from data breaches, ransomware, extortion, legal…
Ransomware is one of the most dangerous and destructive forms of cybercrime today. With cybercriminals…
Social media is a key part of our daily lives, with millions of users sharing…
What Are Data Brokers? Data brokers are companies that collect, aggregate, and sell personal information,…