Browse Source

nmap

master
test2 5 years ago
parent
commit
9caa2034f4
  1. 30
      ex-1_iptables.adoc

30
ex-1_iptables.adoc

@ -28,8 +28,6 @@ Assuming you're already logged in
[[cheat-swarmlab-up1]]
== Find
== Find IP
@ -38,19 +36,25 @@ Assuming you're already logged in
----
# ifconfig
eth0 Link encap:Ethernet HWaddr aa:00:04:07:75:ab
Link encap:Ethernet HWaddr aa:0c:f4:8e:72:9a
inet addr:83.212.114.28 Bcast:83.212.115.255 Mask:255.255.254.0
inet6 addr: fe80::494d:387d:bf73:ee99/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:534819705 errors:0 dropped:0 overruns:0 frame:0
TX packets:515415338 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:122518018925 (122.5 GB) TX bytes:89030970483 (89.0 GB)
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.21.0.2 netmask 255.255.0.0 broadcast 172.21.255.255
ether 02:42:ac:15:00:02 txqueuelen 0 (Ethernet)
RX packets 61 bytes 9309 (9.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 248 bytes 14260 (14.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 248 bytes 14260 (14.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
----
inet addr:**83.212.114.28** Bcast:83.212.115.255 Mask:255.255.254.0 +
IP=83.212.114.28
CAUTION: inet ***172.21.0.2*** netmask 255.255.0.0 broadcast 172.21.255.255
== Find live hosts

Loading…
Cancel
Save