官术网_书友最值得收藏!

Writing your own port scanner using netcat

While attackers utilize the proxying application and Tor network, it is also possible for them to write their own custom network port scanner. The following one-line command can be utilized during penetration testing to identify the list of open ports just by using netcat:

while read r; do nc -v -z $r 1-65535; done <iplist

The same script can be modified for more targeted attacks on a single IP as follows:

while read r; do nc -v -z target $r; done < ports

The chances of getting alerted in any intrusion detection system using custom port scanners is high.

主站蜘蛛池模板: 明溪县| 孝昌县| 阳江市| 黔江区| 合山市| 托克托县| 汨罗市| 达孜县| 永年县| 蒙阴县| 曲松县| 沿河| 连江县| 视频| 吉水县| 延边| 潞城市| 当阳市| 新干县| 长沙县| 高淳县| 开化县| 莱西市| 樟树市| 通州区| 蓬溪县| 廉江市| 仙桃市| 通道| 汉阴县| 遂宁市| 宝山区| 宁海县| 江华| 玛沁县| 沅江市| 甘谷县| 新郑市| 巴里| 兴国县| 通州市|