Browse Source

nmap

master
test2 5 years ago
parent
commit
86ceebac75
  1. 13
      ex-1_iptables.adoc

13
ex-1_iptables.adoc

@ -31,8 +31,9 @@ Assuming you're already logged in
[[cheat-swarmlab-up1]] [[cheat-swarmlab-up1]]
== Find == Find
.Step 1 (find local IP) == Find IP
.Step 1 (find local IP)
[source,bash] [source,bash]
---- ----
# ifconfig # ifconfig
@ -52,13 +53,21 @@ inet addr:**83.212.114.28** Bcast:83.212.115.255 Mask:255.255.254.0 +
IP=83.212.114.28 IP=83.212.114.28
.Step 2 (find local IP) == Find live hosts
.Step 2 (find live hosts on network)
[source,bash] [source,bash]
---- ----
nmap -sP 83.212.114.* nmap -sP 83.212.114.*
---- ----
== Find open Ports
.Step 3 (find open ports)
[source,bash]
----
nmap -sP 83.212.114.*
----

Loading…
Cancel
Save