- Mastering Kali Linux for Advanced Penetration Testing(Second Edition)
- Vijay Kumar Velu
- 106字
- 2021-07-02 21:04:23
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.
推薦閱讀
- LabVIEW2018中文版 虛擬儀器程序設(shè)計自學(xué)手冊
- SQL Server 2016從入門到精通(視頻教學(xué)超值版)
- Oracle 12c中文版數(shù)據(jù)庫管理、應(yīng)用與開發(fā)實踐教程 (清華電腦學(xué)堂)
- PostgreSQL 11從入門到精通(視頻教學(xué)版)
- Visual C
- Nginx實戰(zhàn):基于Lua語言的配置、開發(fā)與架構(gòu)詳解
- Apache Kafka Quick Start Guide
- Learning FuelPHP for Effective PHP Development
- 從Java到Web程序設(shè)計教程
- Clojure for Java Developers
- Solutions Architect's Handbook
- Software Development on the SAP HANA Platform
- 實驗編程:PsychoPy從入門到精通
- 和孩子一起學(xué)編程:用Scratch玩Minecraft我的世界
- Beginning PHP