sudo -u www bash -c 'php test.php -d "$(date +%Y-%m-%d)"'
阅读全文...
Centos安装PHP7.4
安装依赖yum install epel-release gcc openssl-devel libxml2-devel bzip2-devel libmcrypt-devel sqlite-devel oniguruma-devel libjpeg l...
阅读全文...
阅读全文...
JAVA中AES-128-SHA1PRNG 在PHP中的实现
主要是对key进行处理$key = substr(openssl_digest(openssl_digest($key, 'sha1', true), 'sha1', true), 0, 16);
// openssl_encrypt 加密不同Mcryp...
阅读全文...
阅读全文...
ThinkPHP5,未开启强制路由导致远程执行代码漏洞
漏洞表现?s=\think\app/invokefunction&function=call_user_func_array&vars[0]=phpinfo&vars[1][]=100修复方案1、开启强制路由config/app....
阅读全文...
阅读全文...
set-cookie 失败
This Set-Cookie was blocked because it was not sent over a secure-connection and would have overwritten a cookie with Secure at...
阅读全文...
阅读全文...