Skip to content

Commit 31c30cc

Browse files
author
White-hua
committed
update
1 parent 6251b1d commit 31c30cc

File tree

3 files changed

+26
-28
lines changed

3 files changed

+26
-28
lines changed

src/main/java/Controller/AttController.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,12 @@ void Att_clicked(MouseEvent event) { //ATT按钮
155155

156156
//如果是all
157157
if (vulname != null && vulname.equals("All")) {
158-
158+
choiceBox_exp.getItems().remove(0);
159159
for (String val : choiceBox_exp.getItems()) {
160-
if (!val.equals("All")) {
161160
Exploitlnterface exploit = Kinds_Exp.getExploit(val);
162161
Boolean aBoolean = exploit.checkVul(url, textArea_attInfo);
163162
if (aBoolean) {
164163
textArea_attInfo.appendText("\n----" + val + "漏洞存在----\n");
165-
}
166164
}
167165
}
168166
textArea_attInfo.appendText("\n\n如需获取shell请勾选 getshell并选择具体漏洞");

src/main/java/Exp/OA/wanhuoa/wanhuoa_smartUpload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private Boolean shell(String url,TextArea textArea){
8080
"Content-Disposition: form-data; name=\"photo\"; filename=\"nishizhu.jsp\"\r\n" +
8181
"Content-Type: text/plain\r\n" +
8282
"\r\n" +
83-
// shell.readFile(shell.Gsljsppath) + "\r\n" +
83+
// shell.readFile(shell.Gsljsppath) + "\r\n" +
8484
"------WebKitFormBoundaryDUKz5M3eZoU6nAcO\r\n" +
8585
"Content-Disposition: form-data; name=\"continueUpload\"\r\n" +
8686
"\r\n" +

src/main/java/Utilss/shell.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@
66

77
public class shell {
88
// 我本地测试用例!!!
9-
// public static String Jsppath = "D:\\Apt_config\\shell.jsp";
10-
// public static String Jspxpath = "D:\\Apt_config\\shell.jspx";
11-
// public static String Asppath = "D:\\Apt_config\\shell.asp";
12-
// public static String Phppath = "D:\\Apt_config\\shell.php";
13-
// public static String Aspxpath = "D:\\Apt_config\\shell.aspx";
14-
// public static String Testpath = "D:\\Apt_config\\shell.txt";
15-
// public static String chajetDllpath = "D:\\Apt_config\\chajet\\App_Web_nishizhu.aspx.cdcab7d2.dll";
16-
// public static String chajetCompiledpath = "D:\\Apt_config\\chajet\\nishizhu.aspx.cdcab7d2.compiled";
17-
// public static String tasklistpath = "D:\\Apt_config\\config\\tasklist.txt";
18-
//
19-
// public static String dnscofpath = "D:\\Apt_config\\dnslog\\dnslogconfig.txt";
20-
// public static String dnspath = "D:\\Apt_config\\dnslog\\dnslog.txt";
9+
public static String Jsppath = "D:\\Apt_config\\shell.jsp";
10+
public static String Jspxpath = "D:\\Apt_config\\shell.jspx";
11+
public static String Asppath = "D:\\Apt_config\\shell.asp";
12+
public static String Phppath = "D:\\Apt_config\\shell.php";
13+
public static String Aspxpath = "D:\\Apt_config\\shell.aspx";
14+
public static String Testpath = "D:\\Apt_config\\shell.txt";
15+
public static String chajetDllpath = "D:\\Apt_config\\chajet\\App_Web_nishizhu.aspx.cdcab7d2.dll";
16+
public static String chajetCompiledpath = "D:\\Apt_config\\chajet\\nishizhu.aspx.cdcab7d2.compiled";
17+
public static String tasklistpath = "D:\\Apt_config\\config\\tasklist.txt";
2118

22-
// 生产用例
23-
public static String Jsppath = "./Apt_config/shell.jsp";
24-
public static String Jspxpath = "./Apt_config/shell.jspx";
25-
public static String Asppath = "./Apt_config/shell.asp";
26-
public static String Phppath = "./Apt_config/shell.php";
27-
public static String Aspxpath = "./Apt_config/shell.aspx";
28-
public static String Testpath = "./Apt_config/shell.txt";
29-
public static String chajetDllpath = "./Apt_config/chajet/App_Web_nishizhu.aspx.cdcab7d2.dll";
30-
public static String chajetCompiledpath = "./Apt_config/chajet/nishizhu.aspx.cdcab7d2.compiled";
31-
public static String tasklistpath = "./Apt_config/config/tasklist.txt";
19+
public static String dnscofpath = "D:\\Apt_config\\dnslog\\dnslogconfig.txt";
20+
public static String dnspath = "D:\\Apt_config\\dnslog\\dnslog.txt";
3221

33-
public static String dnscofpath = "./Apt_config/dnslog/dnslogconfig.txt";
34-
public static String dnspath = "./Apt_config/dnslog/dnslog.txt";
22+
// 生产用例
23+
// public static String Jsppath = "./Apt_config/shell.jsp";
24+
// public static String Jspxpath = "./Apt_config/shell.jspx";
25+
// public static String Asppath = "./Apt_config/shell.asp";
26+
// public static String Phppath = "./Apt_config/shell.php";
27+
// public static String Aspxpath = "./Apt_config/shell.aspx";
28+
// public static String Testpath = "./Apt_config/shell.txt";
29+
// public static String chajetDllpath = "./Apt_config/chajet/App_Web_nishizhu.aspx.cdcab7d2.dll";
30+
// public static String chajetCompiledpath = "./Apt_config/chajet/nishizhu.aspx.cdcab7d2.compiled";
31+
// public static String tasklistpath = "./Apt_config/config/tasklist.txt";
32+
//
33+
// public static String dnscofpath = "./Apt_config/dnslog/dnslogconfig.txt";
34+
// public static String dnspath = "./Apt_config/dnslog/dnslog.txt";
3535

3636

3737
//标记内容

0 commit comments

Comments
 (0)