Mem*_*nes 4 php shell
我的PHP类中有以下命令:
@exec('nslookup -type=' . $type . ' ' . escapeshellcmd($host), $output);
由于安全限制(exec并且escapeshellcmd从php.ini禁用),这不会在我的服务器上运行.有没有不依赖的替代方案exec?
exec
escapeshellcmd
Che*_*ery 5
你可以使用dns_get_record():
dns_get_record()
http://www.php.net/dns_get_record
归档时间:
14 年,4 月 前
查看次数:
5582 次
最近记录:
10 年,1 月 前