From 86ceebac75525d393c0bf1aadfa639fc771a15f1 Mon Sep 17 00:00:00 2001 From: test2 Date: Wed, 16 Oct 2019 22:16:55 +0300 Subject: [PATCH] nmap --- ex-1_iptables.adoc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ex-1_iptables.adoc b/ex-1_iptables.adoc index 036164c..8678601 100644 --- a/ex-1_iptables.adoc +++ b/ex-1_iptables.adoc @@ -31,8 +31,9 @@ Assuming you're already logged in [[cheat-swarmlab-up1]] == Find -.Step 1 (find local IP) +== Find IP +.Step 1 (find local IP) [source,bash] ---- # 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 -.Step 2 (find local IP) +== Find live hosts +.Step 2 (find live hosts on network) [source,bash] ---- nmap -sP 83.212.114.* ---- +== Find open Ports + +.Step 3 (find open ports) +[source,bash] +---- +nmap -sP 83.212.114.* +----