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

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.

主站蜘蛛池模板: 宝山区| 武穴市| 宁津县| 饶阳县| 陈巴尔虎旗| 永新县| 永济市| 霍州市| 星子县| 滁州市| 海盐县| 周宁县| 虎林市| 兴山县| 高安市| 湖北省| 石嘴山市| 大新县| 富锦市| 樟树市| 苍溪县| 天祝| 宜丰县| 珠海市| 白银市| 石城县| 兴宁市| 喀什市| 赤城县| 太原市| 杨浦区| 临泉县| 闸北区| 广平县| 社会| 怀远县| 阿鲁科尔沁旗| 阳山县| 阿城市| 茌平县| 金平|