This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
утилита_netcat [2026/06/30 19:23] val |
утилита_netcat [2026/07/02 10:35] (current) val |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| server# nc -v -u -z -w 3 voip1.un 5060 | server# nc -v -u -z -w 3 voip1.un 5060 | ||
| Connection to voip1.un (192.168.40.152) 5060 port [udp/sip] succeeded! | Connection to voip1.un (192.168.40.152) 5060 port [udp/sip] succeeded! | ||
| + | |||
| + | gate.isp.un:~# cat ips.txt | while read ip; do nc -z -v $ip 3389; done | ||
| + | |||
| + | - val@val:~/scripts$ cat ports.txt | while read p; do nc -z -v radio.specialist.ru $p; done | ||
| </code> | </code> | ||