paris/i-001eda64855cc97ed
by SadServersMore by SadServers
# Define the range of ports you want to test (from PORT_START to PORT_END) PORT_START=1 PORT_END=65535 # Define the target host (localhost in this case) TARGET_HOST="localhost" # Loop through the range of ports and run curl with a 1-second timeout for ((port = PORT_START; port <= PORT_END; port++)); do "$TARGET_HOST:$port" &>/dev/null if [ $? -eq 0 ]; then echo "Port $port is open" fi done
taipei/i-05ea7b30c835c60a9 03:55
by SadServerstotal 5245084 drwxr-xr-x 7 admin admin 4096 Nov 24 05:54 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 17 2023 .ansible -rw------- 1 admin admin 65 Nov 24 05:54 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Nov 24 05:49 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Nov 24 05:56 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-0196ce4cef0e287bd:~$ cat k
kihei/i-0196ce4cef0e287bd 01:17
by SadServersDec 24 18:21:24 i-000c4d79984b70a73 systemd[1]: Started Hammer Time. Dec 24 18:21:25 i-000c4d79984b70a73 systemd[1]: mc.service: Succeeded. Dec 24 18:21:47 i-000c4d79984b70a73 dhclient[463]: XMT: Solicit on ens5, intervaDec 24 18:22:09 i-000c4d79984b70a73 systemd[1]: Started Hammer Time. Dec 24 18:22:10 i-000c4d79984b70a73 systemd[1]: mc.service: Succeeded. Dec 24 18:22:58 i-000c4d79984b70a73 dhclient[463]: XMT: Solicit on ens5, intervaDec 24 18:23:18 i-000c4d79984b70a73 python3[575]: 127.0.0.1 - - [24/Dec/2023 18:admin@i-000c4d79984b70a73:/var/log$ ls alternatives.log auth.log btmp chrony daemon.log urnal kern.log.2.gz messages.1 private syslog.1 user.log alternatives.log.1 auth.log.1 btmp.1 cloud-init-output.log daemon.log.1 rn.log lastlog messages.2.gz runit syslog.2.gz user.log.1apt auth.log.2.gz cast cloud-init.log daemon.log.2.grn.log.1 messages minio.log syslog unattended-upgrades user.log.2admin@i-000c4d79984b70a73:/var/log$ ls