The fisr scan script coded by python
来源:互联网 发布:驱动保护编程 编辑:程序博客网 时间:2024/04/30 14:53
第一个SCAN程序,菜鸟级别的入门,写在此,也算是种学习纪念。
#scan.pyimport socket ports = [80,8080]hosts = ['www.freebuf.com','www.baidu.com','www.sina.com']for host in hosts: for port in ports: try: s = socket.socket() print "[+]Attempting to connect to " + host + ":" + str(port) s.connect((host,port)) s.send('agsdfd \n') banner = s.recv(1024) if banner: print "[+]" + host + ":" + str(port) + " open \n" + "[+]The banner infomations are below: \n" + banner s.close() except: pass
0 0
- The fisr scan script coded by python
- [A Weird Bug] caused by the name of Python script
- The script to install openvpn (by quqi99)
- The script to run strongswan vpnaas driver quickly(by quqi99)
- The script to install openconnect vpn (by quqi99)
- Scan stopped by user
- Android - 警告:it is always overridden by the value specified in the Gradle build script
- Fix the issues identified by lint, or add the following to your build script...
- define Shader by script
- Remote rsyslog server records the logs of python script
- The Zen of Python (by Tim Peters)
- The Zen of Python, by Tim Peters
- The Zen of Python, by Tim Peters
- The Zen of Python, by Tim Peters
- The Zen of Python, by Tim Peters
- The Zen of Python, by Tim Peters
- The Zen of Python, by Tim Peters
- Coded UI Test--Seperate the UIMap per test category
- 判断是否为素数
- MYSQL-LOAD DATA 0row问题解决
- MATLAB R2014a 中文版下载安装图文教程
- 闭合浮动
- Java零散知识点学习记录
- The fisr scan script coded by python
- poj2243
- 2015.11.09 类的定义,成员变量,局部变量 ,重载,所谓的匿名对象
- iOS 根证书和 P12 区分
- 正则表达式
- 安卓开发“出错总结”
- ios apple企业账号申请流程
- Activity 学习
- Android 网络通信之 HttpURLConnection