Module 1.3 - Basic Scanning
Module 1.3 - Basic Scanning
Basic Scanning
1.3.1 - Port Scanning
Web Hacking
• Connect Scan
– $ nmap -sT -p80,443 target.org
• Stealth Scan
• $ nmap -sS -p80,443 target.org
• Script Scan
• $ nmap -sC -p80,443 target.org
1.3.3 Nmap
Web Hacking
Scan Engine (NSE)
• The Nmap Scripting Engine (NSE) is one of Nmap's most powerful and flexible features.
It allows users to write (and share) simple scripts (using the Lua programming language )
to automate a wide variety of networking tasks.
• Those scripts are executed in parallel with the speed and efficiency you expect from
Nmap. Users can rely on the growing and diverse set of scripts distributed with Nmap, or
write their own to meet custom needs.
• To reflect those different uses and to simplify the choice of which scripts to run, each
script contains a field associating it with one or more categories. Categories include are
auth, broadcast, default. discovery, dos, exploit, external, fuzzer, intrusive, malware, safe,
version, and vuln.
1.3.3 -
Web Hacking
NSE useful info
• Introduction to Shodan.io
• Interesting Searches
• Various Search Parameters
• Demo
1.3.5 – Shodan.io
Web Hacking
• Shodan is a search engine that lets users search for various types of
servers connected to the internet using a variety of filters. Some have also
described it as a search engine of service banners, which are metadata
that the server sends back to the client.
1.3.5 – Shodan Exercises
Web Hacking
• CMSScan
• WPScan
• JoomScan
• Droopescan
• VBScan
What is Hidden Content?
1.4.1 Hidden Content
• Programs (bots) that systematically browse the Web, typically with the
purpose of web indexing.
– Also known as Spiders.
– Add the found webpages to a database.
What is Web Scraping
1.4.2 Web Crawlers and Web Scraping
• Dirbuster is a tool with a GUI that allows to brute force directories and files.
– It can work with wordlist files or patterns generated of a set of characters.
– Is easy to use and comes with kali by default.
dirb and gobuster
1.4.3 URL Fuzzing