1 # -*- coding: utf-8 -*- 2 # __author__ = "maple" 3 4 5 from base64 import b64decode 6 from lxml import etree 7 import requests 8 import json 9 impor ...
分类:
其他好文 时间:
2020-06-26 16:19:44
阅读次数:
165
前记 upload-labs,是一个关于文件上传的靶场.具体的write-up社区里也都有文章. 不过我在看了pass-16的源码后,发现了一些有意思的东西. 分析问题 关于检测gif的代码 第71行检测$fileext和$filetype是否为gif格式. 然后73行使用move_uploaded ...
分类:
其他好文 时间:
2020-06-25 17:38:14
阅读次数:
78
Cookie默认是不能存中文的,如果你在Cookie中存了一个中文,比如Cookie cookie = new Cookie("name","小王"); 那么运行的时候服务器会抛出“500 控制你的cookie的value”的错误。 那么我们就要对Cooke进行编码解码,来实现能够存取中文的问题。 ...
分类:
其他好文 时间:
2020-06-25 14:11:40
阅读次数:
62
Descpition There are n people and 40 types of hats labeled from 1 to 40. Given a list of list of integers hats, where hats[i] is a list of all hats pr ...
分类:
其他好文 时间:
2020-06-25 13:58:26
阅读次数:
56
<?phpnamespace app\service\Jssdk;/** * Created by PhpStorm. * User: lyy * Date: 2020/6/22 * Time: 14:51 */use Redis;class Jssdk{/** * @var Redis */pri ...
分类:
微信 时间:
2020-06-24 19:49:43
阅读次数:
92
Linux git管理项目遇到的问题 ImportError: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be incl ...
分类:
系统相关 时间:
2020-06-24 15:41:37
阅读次数:
129
testng.xml testng.xml是为了更方便的管理和执行测试用例,同时也可以结合其他工具 You can invoke TestNG in several different ways: 你可以用以下三种方式执行测试 With a testng.xml file 直接run as test ...
分类:
编程语言 时间:
2020-06-22 18:39:47
阅读次数:
160
var str = '.+-()*&/tpsys/applications.tiff' console.log(str) console.log(escape(str), '使用escape()编码') // .+-%28%29*%26/tpsys/applications.tiff console ...
分类:
Web程序 时间:
2020-06-22 15:30:47
阅读次数:
75
内容来自: 10 Ways to Generate a Random Password from the Linux Command Line <br> Linux 好玩的事儿是达成一件事情可以用上百种方式. 即使如生成随机密码这么简单的需求都可以用一打的命令来实现. 这些命令从 Command-L ...
分类:
系统相关 时间:
2020-06-21 18:08:45
阅读次数:
71
最近写一个小爬虫,需要拿到邮箱信息,发现拿不到,也不是ajax接口。最后查资料发现是被Cloudflare加密起来了,有加密肯定有解密。 通过大佬https://blog.shiniv.com/2016/09/decode-encode-cloudflare-address-obfuscation/ ...
分类:
编程语言 时间:
2020-06-21 15:47:23
阅读次数:
77