forked from shack2/SuperSQLInjectionV1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSeting.cs
More file actions
106 lines (88 loc) · 3.74 KB
/
Copy pathSeting.cs
File metadata and controls
106 lines (88 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using tools;
namespace SuperSQLInjection
{
public partial class Seting : Form
{
public Seting(Main main)
{
InitializeComponent();
this.main = main;
}
private Main main = null;
private void chk_mysqlMuStr_CheckedChanged(object sender, EventArgs e)
{
main.config.isMuStr = this.chk_mysqlMuStr.Checked;
}
private void chk_openInfoLog_CheckedChanged(object sender, EventArgs e)
{
main.config.isOpenInfoLog = this.chk_openInfoLog.Checked;
}
private void chk_openHTTPLog_CheckedChanged(object sender, EventArgs e)
{
main.config.isOpenHTTPLog = this.chk_openHTTPLog.Checked;
}
private void chk_autoCheckUpdate_CheckedChanged(object sender, EventArgs e)
{
main.config.isAutoCheckUpdate = this.chk_autoCheckUpdate.Checked;
}
private void chk_isAutoSaveConfig_CheckedChanged(object sender, EventArgs e)
{
main.config.isSavaConfigWhenClose = this.chk_isAutoSaveConfig.Checked;
}
private void Seting_Shown(object sender, EventArgs e)
{
this.chk_openHTTPLog.Checked = main.config.isOpenHTTPLog;
this.chk_openInfoLog.Checked = main.config.isOpenInfoLog;
this.chk_mysqlMuStr.Checked = main.config.isMuStr;
this.chk_autoCheckUpdate.Checked = main.config.isAutoCheckUpdate;
this.chk_isAutoSaveConfig.Checked = main.config.isSavaConfigWhenClose;
this.cmb_maxClolumnsCount.Text = main.config.maxClolumns.ToString();
this.cmb_oneDomainMaxSpiderCount.Text = main.config.maxSpiderCount.ToString();
this.cmb_oneDomainMaxScanCount.Text = main.config.maxScanCount.ToString();
this.chk_redirectDoGet.Checked=main.config.redirectDoGet;
this.cmb_unionFill.Text = main.config.unionFill;
this.txt_proxy_host.Text = main.config.proxy_check_host;
this.txt_proxy_port.Text = main.config.proxy_check_port.ToString();
this.txt_proxy_keys.Text = main.config.proxy_check_Keys;
}
private void cob_maxClolumnsCount_SelectedValueChanged(object sender, EventArgs e)
{
main.config.maxClolumns = int.Parse(this.cmb_maxClolumnsCount.Text);
}
private void cob_oneDomainMaxSpiderCount_SelectedValueChanged(object sender, EventArgs e)
{
main.config.maxSpiderCount = int.Parse(this.cmb_oneDomainMaxSpiderCount.Text);
}
private void cob_oneDomainMaxScanCount_SelectedValueChanged(object sender, EventArgs e)
{
main.config.maxScanCount = int.Parse(this.cmb_oneDomainMaxScanCount.Text);
}
private void chk_redirectDoGet_CheckedChanged(object sender, EventArgs e)
{
main.config.redirectDoGet = this.chk_redirectDoGet.Checked;
}
private void cmb_unionFill_SelectedValueChanged(object sender, EventArgs e)
{
main.config.unionFill = this.cmb_unionFill.Text;
}
private void txt_proxy_host_TextChanged(object sender, EventArgs e)
{
main.config.proxy_check_host = this.txt_proxy_host.Text;
}
private void txt_proxy_port_TextChanged(object sender, EventArgs e)
{
main.config.proxy_check_port = Tools.convertToInt(this.txt_proxy_port.Text);
}
private void txt_proxy_keys_TextChanged(object sender, EventArgs e)
{
main.config.proxy_check_Keys = this.txt_proxy_keys.Text;
}
}
}