摘要: from :https://blog.csdn.net/wushuai150831/article/details/78453549 阅读全文
posted @ 2018-07-04 10:13 yanhuidj 阅读(135) 评论(0) 推荐(0) 编辑
摘要: from : https://blog.csdn.net/Neo233/article/details/72866230?locationNum=15&fps=1%20HTTP%E6%8F%A1%E6%89%8B from : https://blog.csdn.net/Neo233/article 阅读全文
posted @ 2018-07-02 11:11 yanhuidj 阅读(1469) 评论(0) 推荐(1) 编辑
摘要: from :http://blog.sina.com.cn/s/blog_68d342d90100nh7b.html 什么是XSS跨站攻击: http://baike.baidu.com/view/50325.htm 存在XSS跨站漏洞的网址: http://sqxhsp.com/news.asp? 阅读全文
posted @ 2018-06-22 09:31 yanhuidj 阅读(176) 评论(0) 推荐(0) 编辑
摘要: adb shell 连接手机获取root权限,如果返回的字符串中不包含root字样,再输入su命令回车 继续输入cat /data/misc/wifi/*.conf命令,将会把文件打印出来 ssid表示WIFI名称,psk是WIFI密码 此时把psk分享出去就完美解决 阅读全文
posted @ 2018-06-20 14:44 yanhuidj 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.http 是超文本传输协议,是从万维网服务器传输超文本到本地浏览器的传输协议 2.http是一个基于tcp/ip通信协议来传输数据(html,图片,查询结果等) 3.一个完整的http请求包含7个流程 1.建立tcp连接 2.web浏览器向web服务器发送请求 3.web浏览器发送请求头信息 4 阅读全文
posted @ 2018-06-11 17:16 yanhuidj 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.终端下输入export PATH=/usr/local/bin:$PATH 2.echo $PATH 3.安装homebrew 地址:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/i 阅读全文
posted @ 2018-06-11 15:03 yanhuidj 阅读(116) 评论(0) 推荐(0) 编辑
摘要: >>> 'a' and 'b' 'b' >>> '' and 'b' '' >>> 'a' and 'b' and 'c' 'c’解释:在布尔上下文中从左到右演算表达式的值,如果布尔上下文中的所有值都为真,那么 and 返回最后一个值。如果布尔上下文中的某个值为假,则 and 返回第一个假值 >>> 阅读全文
posted @ 2018-05-17 14:11 yanhuidj 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 如果你在写python程序时遇到异常后想进行如下处理的话,一般用try来处理异常,假设有下面的一段程序: 1 2 3 4 5 6 7 8 try: 语句1 语句2 . . 语句N except .........: do something ....... 但是你并不知道"语句1至语句N"在执行会出 阅读全文
posted @ 2018-05-10 10:43 yanhuidj 阅读(217) 评论(1) 推荐(0) 编辑
摘要: openpyxl xlrd xlwt openpyxl xlrd xlwt openpyxl xlrd xlwt 在处理excel数据时发现了xlwt的局限性–不能写入超过65535行、256列的数据(因为它只支持Excel 2003及之前的版本,在这些版本的Excel中行数和列数有此限制),这对于 阅读全文
posted @ 2018-05-08 23:59 yanhuidj 阅读(7339) 评论(1) 推荐(0) 编辑
摘要: raw_input() 直接读取控制台的输入(任何类型的输入它都可以接收)。而对于 input() ,它希望能够读取一个合法的 python 表达式,即你输入字符串的时候必须使用引号将它括起来,否则它会引发一个 SyntaxError 如 NameError 阅读全文
posted @ 2018-05-05 12:11 yanhuidj 阅读(165) 评论(0) 推荐(0) 编辑