-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpopup.html
More file actions
163 lines (157 loc) · 7.63 KB
/
popup.html
File metadata and controls
163 lines (157 loc) · 7.63 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pocscan Listener</title>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"/>
<link rel="stylesheet" href="css/bootstrap-switch.css" type="text/css"/>
<link rel="stylesheet" href="css/hack-http-headers.css" type="text/css"/>
<link rel="stylesheet" href="css/highlight.css" type="text/css"/>
<link rel="stylesheet" href="css/main.css" type="text/css"/>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-switch.js"></script>
<script src="js/main.js"></script>
<script src="js/highlight.js"></script>
<script src="js/hack-http-headers.js"></script>
</head>
<body>
<div class="btn-group container-fluid" id="nav">
<button class="btn" style="width:150px; background-color: #777777; padding-left: 0"><b>Pocscan Listener</b></button>
<button id="capture" class="btn btn-success active"><span class="glyphicon glyphicon-ok"></span> Capture</button>
<button id="edit" class="btn btn-primary"><span class="glyphicon glyphicon-edit"></span> Edit</button>
<button id="clear" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> Clear</button>
<button id="revert" class="btn btn-info"><span class="glyphicon glyphicon-flash"></span> Revert</button>
<button id="settings" class="btn btn-warning"><span class="glyphicon glyphicon-wrench"></span> Settings</button>
<div class="col-lg-4 col-lg-offset-2">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-filter"></span>Filter</span>
<input type="text" class="form-control" id="tempUrlFilter">
</div>
</div>
</div>
<table id="mainTable" class="table table-bordered table-condensed table-hover">
<thead>
<tr>
<th class="text-justify rId" id="httpRequestId"># <span class="glyphicon glyphicon-arrow-up"></span></th>
<th class="text-justify rMe">Method</th>
<th class="text-justify rSt">Status</th>
<th class="text-justify rUr">Url</th>
<th class="text-justify rTi">Time</th>
<th>Headers</th>
</tr>
</thead>
<tr>
<td colspan="5" style="width: 600px; padding: 0;">
<div class="results" style="width: 600px; height: 500px; overflow: auto">
<table id="responseList" class="table table-hover table-condensed table-bordered">
<tbody>
</tbody>
</table>
</div>
</td>
<td style="padding: 0;" id="previewArea">
<div style="padding:10px;">
<p class="lead">
<kbd>Capture</kbd> http request headers. <kbd>edit</kbd> then <kbd>Save</kbd><br/>
It will work when next time you visit the same url.
</p>
<hr/>
<div class="input-group input-group-lg">
<span class="input-group-addon">API</span>
<input type="text" id='scanapi' class="form-control" placeholder="务必输入API地址">
<span class="input-group-btn">
<button class="btn btn-default" type="button" id="apisave">
Save
</button>
</span>
</div>
<div class="input-group input-group-lg">
<span class="input-group-addon">
<input id="switch-state" type="checkbox" data-on-text="pocscan" data-off-text="sqlmap" checked>
</span>
</div>
</div>
</td>
</tr>
</table>
<div class="modal fade" id="editModal" data-backdrop="static" tabindex="-1" role="dialog"
aria-labelledby="editModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="editModalLabel">Request</h4>
</div>
<div class="modal-body" id="editModalBody">
</div>
<div class="modal-footer">
<button type="button" id="saveEdit" class="btn btn-success btn-primary">Save</button>
<button type="button" id="cancelEdit" class="btn btn-warning" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="settingModal" data-backdrop="static" tabindex="-1" role="dialog"
aria-labelledby="settingModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="settingModalLabel">Settings</h2>
</div>
<div class="modal-body">
<table class="table table-bordered">
<tr>
<td width="30%">
<h3>Capture</h3>
<div class="checkbox">
<label><input id="setMainFrame" type="checkbox">Documents</label>
</div>
<div class="checkbox">
<label><input id="setSubFrame" type="checkbox">Frames & Iframes</label>
</div>
<div class="checkbox">
<label><input id="setStylesheet" type="checkbox">Stylesheets</label>
</div>
<div class="checkbox">
<label><input id="setScript" type="checkbox">Scripts</label>
</div>
<div class="checkbox">
<label><input id="setImage" type="checkbox">Images</label>
</div>
<div class="checkbox">
<label><input id="setXHR" type="checkbox">XMLHttpRequests</label>
</div>
<div class="checkbox">
<label><input id="setObject" type="checkbox"> Objects</label>
</div>
<div class="checkbox">
<label><input id="setOther" type="checkbox">Other</label>
</div>
</td>
<td>
<h3 align="center">URL Filter</h3>
<div id="urlFilterEternal">
<div class="col-lg-11">
<div class="input-group">
<span class="input-group-addon">Host</span>
<input type="text" class="form-control UrlFilterEternal">
<span class="input-group-btn">
<button class="btn addUrlFilterEternal">+</button>
</span>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal" aria-hidden="true">Cancel</button>
<button type="button" id="saveSettings" class="btn btn-primary">Save</button>
</div>
</div>
</div>
</div>
</body>
</html>