自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

转载 php伪协议

php://filter/convert.base64-encode/resource=index.php 在allow_url_fopen,allow_url_include都关闭的情况下可以正常使用 主要用于读取源代码并进行base64编码输出。 php://input allow_url_include影响php://input的使用,若不打开则无法使用。 php://input(访...

2019-05-25 21:11:40 490

原创 python 中文出现乱码

爬虫时,中文可能会出现乱码,可以使用decode()转汉字 html=requests.post(url,data=data).content html=html.decode() print(html)

2019-05-15 20:45:24 218

转载 python socket学习

做个笔记,若有错误,望指出 转载自:https://www.runoob.com/python3/python3-socket.html 参考资料: https://www.cnblogs.com/jassin-du/p/7904497.html socket.socket([family[, type[, proto]]]) 参数: family: 套接字家族可以使AF_UNIX或者AF_INE...

2019-05-04 12:06:52 157

转载 python threading库的使用

做个学习笔记,若有错误,望指出 转载自:https://www.runoob.com/python3/python3-multithreading.html 转载自:http://www.cnblogs.com/429512065qhq/p/8779100.html '''在python里面线程的创建有两种方式,其一使用Thread类创建 # 创建一个线程,function_name需要线程去执...

2019-05-03 17:43:32 1362

转载 简单端口扫描器--多线程加队列版本

做个学习笔记,若有错误,望指出 转载自:https://www.jb51.net/article/86615.htm #多线程加队列版本,加个queue,变成生产者-消费者模式,开固定线程 import socket import threading import queue q = queue.Queue() def scan(port): s = socket.socket() ...

2019-05-03 17:18:14 363

转载 简单端口扫描器

做个学习笔记,若有错误,望指出 转载自:https://www.jb51.net/article/86615.htm import socket import threading def scan(port): s = socket.socket() s.settimeout(0.1) #print(port) if s.connect_ex(('localhost', ...

2019-05-03 17:13:23 192

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除