Compare Pastes

Differences between the pastes #238068 (27.11.2021 17:10) and #262805 (23.06.2022 07:53).
1
#!/bin/bash
2
ip=$l
3
tcpscan()
4
{
5
ip=$i
6
for port in $(seq 1 65535);
7
do
8
timeout 1 bash -c " /dev/null" 2>/dev/null || echo Connection timeout > /dev/null
9
done
10
}
11
tcpscan $ip