zip爆破 Python的优化问题 ? Python在计算密集型任务方面没有明显的多线程优化,多线程更加适合用于处理I/O密集型任务(如网络请求)。爆破任务使用顺序执行即可。 编写Python脚本 ? 一个简单的爆破脚本: import zipfile import traceback import ...
分类:
其他好文 时间:
2021-01-30 11:46:15
阅读次数:
0
使用CURL模拟访问网页,保留返回的COOKIE <?php class dnspod { public static function api_call($api, $data) { $api = 'https://dnsapi.cn/' . $api; echo $api . PHP_EOL; ...
分类:
Web程序 时间:
2021-01-30 11:45:04
阅读次数:
0
一、先将压缩文件解压至指定目录 import zipfile import os zip_src = "目标指定压缩文件" def unzip_file(): r = zipfile.ZipFile(zip_src) if r: fz = zipfile.ZipFile(zip_src, 'r') ...
分类:
编程语言 时间:
2021-01-29 12:23:34
阅读次数:
0
intdiv () 对除法结果取整 int intdiv ( int $dividend , int $divisor ) 说明:返回 dividend 除以 divisor 商数的整数部分。参数: dividend 被除数。 divisor 除数。 返回值: dividend 除以 divisor ...
分类:
Web程序 时间:
2021-01-29 12:20:47
阅读次数:
0
正则表达式 使用方法: ①:描述我们要找的字符串的规律 ②:调用函数,执行该正则表达式 PHP: //把字符串haha找出来 $str="haha,this is my blog" preg_match_all('/haha/',$str,$res); print_r($res); 在PHP里正则必 ...
分类:
其他好文 时间:
2021-01-29 12:19:14
阅读次数:
0
一. 当要测不同大小的文件时,比如要求上传文件不超过10兆,那么我们要测: 1. 文件类型:png、jpg、excel、word、pdf、zip、txt等常见的 2. 文件大小,用cmd命令来生成:输入fsutil file createnew E:\test20210128.txt 1048576 ...
分类:
其他好文 时间:
2021-01-29 11:54:24
阅读次数:
0
在Library/Think/Model.class.php 这个基础model类中在添加add,修改save,和删除delete 时各自回调用两个回调函数. 使用这两个回调函数会给开发带来方便. 1 . add()方法回调函数 // 插入数据前的回调方法 protected function _b ...
分类:
Web程序 时间:
2021-01-29 11:44:19
阅读次数:
0
难度1-Low 查看代码: <?php // Is there any input? if( array_key_exists( "name", $_GET ) && $_GET[ 'name' ] != NULL ) { // Feedback for end user echo '<pre>He ...
分类:
其他好文 时间:
2021-01-29 11:44:05
阅读次数:
0
验证器类:Validate.php <?php namespace framework\library; class Validate { /** * 当前验证规则 * @var array */ protected $rule = []; /** * 验证提示信息 * @var array */ ...
分类:
Web程序 时间:
2021-01-28 11:58:59
阅读次数:
0
接着上篇 https://www.cnblogs.com/cuocuo/p/14329868.html 当exp为bind的时候,虽然会拼接,但是find()和select()是没办法利用的,我们需要更改一下代码 <?php namespace Home\Controller; use Think\ ...
分类:
Web程序 时间:
2021-01-28 11:55:31
阅读次数:
0