Coder Social home page Coder Social logo

nmap-cheatsheet's Introduction

Nmap Cheatsheet

What is Nmap?

How is it used?

nmap [ <Scan Type> ...] [ <Options> ] { <target specification> }

Get Help

nmap -h

Host Discovery

The -p switch determines the type of ping to perform.

Nmap Switch Description
-PI ICMP ping
-Po No ping
-PS SYN ping
-PT TCP ping

Scan Techniques

The -s switch determines the type of scan to perform.

Nmap Switch Description
-sA ACK scan
-sF FIN scan
-sI IDLE scan
-sL DNS scan (a.k.a. list scan)
-sN NULL scan
-sO Protocol scan
-sP Ping scan
-sR RPC scan
-sS SYN scan
-sT TCP connect scan
-sW Windows scan
-sX XMAS scan

Port Specification and Scan Order

Nmap Switch Description

Service/Version Detection

Nmap Switch Description
-sV Enumerates software versions

Script Scan

Nmap Switch Description
-sC Run all default scripts

OS Detection

Nmap Switch Description

Timing and Performance

The -t switch determines the speed and stealth performed.

Nmap Switch Description
-T0 Serial, slowest scan
-T1 Serial, slow scan
-T2 Serial, normal speed scan
-T3 Parallel, normal speed scan
-T4 Parallel, fast scan

Not specifying a T value will default to -T3, or normal speed.

Firewall/IDS Evasion and Spoofing

Nmap Switch Description

Output

Nmap Switch Description
-oN Normal output
-oX XML output
-oA Normal, XML, and Grepable format all at once

nmap-cheatsheet's People

Contributors

jasonniebauer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.