diff --git a/sensor-node/modules/ROOT/nav.adoc b/sensor-node/modules/ROOT/nav.adoc index 962b56d..ffbb481 100644 --- a/sensor-node/modules/ROOT/nav.adoc +++ b/sensor-node/modules/ROOT/nav.adoc @@ -1,3 +1,2 @@ * xref:index.adoc[Sensor mode] * xref:index-imu.adoc[node IMU] -* xref:exer.adoc[Exercises] diff --git a/sensor-node/modules/ROOT/pages/exer.adoc b/sensor-node/modules/ROOT/pages/exer.adoc deleted file mode 100644 index 77cb5d3..0000000 --- a/sensor-node/modules/ROOT/pages/exer.adoc +++ /dev/null @@ -1,84 +0,0 @@ -= Network Scanning - exercises! - -== Find TCP Ports connections - -* Connect to master - -* Find All TCP Ports connections -** save it - -* Find All UDP Ports connections -** save it - -* run - -[source,bash] ----- -cd /project/courses/fluentd -# run -./fluentd.yml.sh ----- - - -* Find All TCP Ports connections -** save it - - -* Find All UDP Ports connections -** save it - -NOTE: try to find the differences between them! - -== Find All live hosts - -* Find All live hosts -** save it - -== Find open TCP Ports in All hosts - -* Find All open TCP Ports in All hosts -** save it - -== SSH connect - -[source,bash] ----- -ssh docker@[IP] ----- - - -=== SSH exec remote command - -Run command using the following syntax: - -[source,bash] ----- -## user syntax ## -ssh -t docker@192.168.128.3 'ip a' - -## sudo syntax ## -ssh -t docker@192.168.128.3 'echo docker | sudo -S cat /etc/passwd' -# ^^^^^ USER ^^^ IP ^^^^^^^ sudo password ^^^^^^^^ COMMAND - -## su syntax ## -ssh docker@nas01 su -c "/path/to/command1 arg1 arg2" ----- - - -== SSH password - -[source,bash] ----- -SSH password: -SUDO password[defaults to SSH password]: ----- - -password: *docker* - -SUDO password: *docker* - - - - - -