Author Topic: NMap Commands  (Read 4616 times)

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5104
  • Reputation: 251
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
NMap Commands
« on: January 08, 2012, 06:52:56 pm »
Okay this is a down and dirty command guide for NMap. Nothing fancy. Just commands. Put whichever ones you want to use into the short cut menu of mobile terminal. When you want to run NMap just hit the appropriate command and add the IP address at the end. I still urge you all to get the NMap Manual and learn what each of the commands mean. That way you can customize these basic command lines to a more targeted scan.

Intense Scan
nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389

Intense Scan Plus UDP
nmap -sS -sU -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389

Intense Scan, All TCP Ports
nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389

Intense Scan, No Ping
nmap -T4 -A -v -PN

Ping Scan
nmap -sP -PE -PA21,23,80,3389

Quick Scan
nmap -T4 -F

Quick Scan Plus
nmap -sV -T4 -O -F –version-light

Quick Traceroute
nmap -sP -PE -PS22,25,80 -PA21,23,80,3389 -PU -PO –traceroute

Regular Scan
nmap

Slow Comprehensive Scan
nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all

grinchy scan
nmap -p 1-65535 -sT -PN -T2 -A -v -v ip.ip.ip.ip
« Last Edit: August 12, 2012, 02:04:27 pm by Ironman »
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

h4ck3rpr0n3

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3063
  • Reputation: 130
  • Developer, Genius :P :P
  • Badges:
  • Computers: HP Pavillion g7: Windows 7, BT5 R1, Ubuntu 12.04, Windows 8, Linux Mint
  • iDevices: ipod touch 3g, ipod touch 2g
Re: NMap Commands
« Reply #1 on: January 08, 2012, 09:06:10 pm »
Very nice, +1.
goals:
[] get developer status
[X] get 30+ karma
[X] get to hero member
[X] become part of the staff

languages i know:
JavaScript
CSS
HTML
PHP
C
C++
Cython
Python

brogan20

  • Hero Member
  • *****
  • Posts: 1061
  • Reputation: 3
  • My insides are full of human amazingness
  • Computers: Windows7 Vista
  • iDevices: iPod 4 gen iOS 5.0.1
Re: NMap Commands
« Reply #2 on: January 08, 2012, 09:11:43 pm »
Sweet I was wondering how you did your advanced scan +1

Soul Eater

  • Jr. Members
  • **
  • Posts: 82
  • Reputation: 2
  • I really would like to learn how to hack servers.
  • Computers: Eee
  • iDevices: ipod touch 4gen
Re: NMap Commands
« Reply #3 on: January 09, 2012, 12:04:45 am »
Whats the best scan for game servers?
Get Empire Online in the app store and join infamous empire.

h4ck3rpr0n3

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3063
  • Reputation: 130
  • Developer, Genius :P :P
  • Badges:
  • Computers: HP Pavillion g7: Windows 7, BT5 R1, Ubuntu 12.04, Windows 8, Linux Mint
  • iDevices: ipod touch 3g, ipod touch 2g
Re: NMap Commands
« Reply #4 on: January 09, 2012, 12:06:45 am »
Start with a basic and work your way from there.
goals:
[] get developer status
[X] get 30+ karma
[X] get to hero member
[X] become part of the staff

languages i know:
JavaScript
CSS
HTML
PHP
C
C++
Cython
Python

Don't like seeing ads? Click here to register!

hexc0der

  • Jr. Members
  • **
  • Posts: 50
  • Reputation: 4
  • iDevices: iPhone 3G,3GS,3GS,4,4 and an iPad 2
Re: NMap Commands
« Reply #5 on: January 09, 2012, 12:25:04 am »
Nice one 1+

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5104
  • Reputation: 251
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: NMap Commands
« Reply #6 on: January 09, 2012, 12:36:13 am »
Thanks guys. As I said this is kind of a down and dirty Tut. But it seemed lots of guys here weren't getting the most out of their NMap scans. As I said before, don't stop at just these commands. Learn what they are, so you can focus your scans to a laser if need be.
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

Alex47

  • Hero Member
  • *****
  • Posts: 1369
  • Reputation: 48
  • (I can't think of something funny to go here)
  • Computers: Asus k55v, custom built self-acclaimed tank of a pc
  • iDevices: iPhone 3G, iPod touch 4g, iPod touch 2g
Re: NMap Commands
« Reply #7 on: January 09, 2012, 01:10:23 am »
I do a mid speed to fast scan, I use nmap -A (then ip here)
My Number:00110110 00110110 00110110

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5104
  • Reputation: 251
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: NMap Commands
« Reply #8 on: January 09, 2012, 01:20:16 am »
 for a quick scan I use the app Scany from the app store. Otherwise my minimum NMap scan is the intense scan.
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

Martijnie

  • Jr. Members
  • **
  • Posts: 92
  • Reputation: 2
  • Omnisciens in disciplina
  • Computers: iMac mid 2011
  • iDevices: iPad2, iPod Touch2
Re: NMap Commands
« Reply #9 on: May 05, 2012, 03:41:24 pm »
When you know which ports are open, how can we use them? And which tools do you use to crack for example an password? Which tut should I look for?

Don't like seeing ads? Click here to register!

brogan20

  • Hero Member
  • *****
  • Posts: 1061
  • Reputation: 3
  • My insides are full of human amazingness
  • Computers: Windows7 Vista
  • iDevices: iPod 4 gen iOS 5.0.1
Re: NMap Commands
« Reply #10 on: May 05, 2012, 03:43:53 pm »
Look in PDF book for John the Ripper - its a password cracker

Martijnie

  • Jr. Members
  • **
  • Posts: 92
  • Reputation: 2
  • Omnisciens in disciplina
  • Computers: iMac mid 2011
  • iDevices: iPad2, iPod Touch2
Re: NMap Commands
« Reply #11 on: May 05, 2012, 04:04:41 pm »
Look in PDF book for John the Ripper - its a password cracker

Thanks. It tells me I need password files, how can I obtain these?

LankAsif

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2392
  • Reputation: 90
  • Forum pride 8)
  • Badges:
  • Computers: i7 with bits and pieces
  • iDevices: iPod Touch 1G (Basically storage for iNinja tools), iPhone 5
Re: NMap Commands
« Reply #12 on: May 05, 2012, 04:06:53 pm »
We're straying off topic guys.
Please can we get back to OP.

Education is never achieved by wise men. it is only believed to have been achieved by fools

Hanoko

  • Full Member
  • ***
  • Posts: 188
  • Reputation: 7
  • Listen to my radio www.radioldies.com
    • Oldies Radio
  • Computers: Windows XP, Airis ONE Pad 700
  • iDevices: Ipod Touch 3G 8GB
Re: NMap Commands
« Reply #13 on: May 05, 2012, 05:13:27 pm »
+1 nice tut men, if you explain what exactly does each command it would be perfect
Languages I know:
PHP
HTML
CSS
Javascript(Basic)

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5104
  • Reputation: 251
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: NMap Commands
« Reply #14 on: May 05, 2012, 06:08:03 pm »
+1 nice tut men, if you explain what exactly does each command it would be perfect
There is a manual for NMap in the Hack Manual Library in the Manuals board. You can tell what each command is by looking at the manual.
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you