- 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.
推薦閱讀
- 深入理解Android(卷I)
- Java面向對象思想與程序設計
- Mastering Unity Shaders and Effects
- Expert Android Programming
- Visual Basic程序設計
- Getting Started with Python and Raspberry Pi
- OpenCV with Python By Example
- 創意UI:Photoshop玩轉APP設計
- Learning Ionic
- Magento 2 Beginners Guide
- UI設計基礎培訓教程(全彩版)
- 零基礎學C++(升級版)
- Eclipse開發(學習筆記)
- SAP HANA Starter
- Expert Angular