端口扫描(Python版)
0x00 介绍
之前的很多的端口扫描工具,都要报毒。最近想要学习python,所以就写了一个
程序主要是基于socket来编写,测试本地时,感觉速度较快,远程地址速度不明显,
后期将考虑采用多线程来解决。
0x01 信息
功能:1.支持自定义扫瞄端口 2.支持常用端口扫描
使用说明:-h 帮助 -a 地址 -s 开始端口 -e 结束端口 -c 常用端口
例子:
portscan.py -a 127.0.0.1 -s 1 -e 65535
portscan.py -a 127.0.0.1 -c
0x02 源代码
链接: https://pan.baidu.com/s/1eQvpRW2 密码: nsix
---------------------------------------------------------------
参考链接:
python扫描端口
https://blog.chinaunix.net/uid-20393955-id-345351.html
Python optionParser模块的使用方法
https://blog.csdn.net/lwnylslwnyls/article/details/8199454
https://www.tuicool.com/articles/rUvIbi
Python多线程端口扫描工具
https://www.leavesongs.com/PYTHON/PortScanner.html
Python中打印输出不换行,始终保持一行
https://www.crifan.com/python_print_log_stay_with_same_line_not_carriage_return/comment-page-1/
评论