-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDashboard.php
335 lines (232 loc) · 8.82 KB
/
Dashboard.php
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<?php
/* Resources :
* https://freegeoip.app
* https://www.daniweb.com/programming/web-development/code/216846/get-http-request-headers-and-body
* Aquatone report css (i've steal it from there)
* PHP community
* Everyone who helped me to get into hacking
* https://codepen.io/dope/pen/ZQWBeL
*/
include 'mydb.php';
/*
* SHOW TARGETS
*/
$q = 'SELECT * FROM targets';
$mysql_get = mysqli_query($db_con ,$q);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BlackThrone - WhizzHandrixx</title>
<style type="text/css">
<style type="text/css">
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}/*,body{background-color: #2a2730}*/
body {
font-family: Atlas Grotesk Web,helvetica neue,helvetica,arial,sans-serif;
color: #9b5d;
background-color: black;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-y: scroll;
}
h1,h2,h3,h4,h5,h6 {
color: #774a4b;
font-weight: 400;
}
p {
margin:0 0 1em 0;
line-height:1.5;
font-size:17px;
}
p:last-child {
margin-bottom:0;
}
a {
color: Gray;
text-decoration:underline;
}
a:hover {}
th {
text-align: left;
}
h1 weak, h2 weak {
display: block;
margin-top: 5px;
}
h1.title {
padding-bottom: 50px;
}
h1 weak {
font-size: 18px;
}
h2 weak {
font-size: 14px;
}
.content {
padding: 0px 20px 0px 20px;
}
.logo {
background-color: #2a2730;
color: #99979c;
margin: 0px 0px 50px 0px;
font-weight: bold;
}
.logo a {
color: #99979c;
}
.logo weak {
font-weight: normal;
}
.pages td {
text-align: left;
vertical-align: top;
}
.pages .details {
padding-left: 20px;
}
.pages td.screenshot, .pages td.details {
padding-bottom: 100px;
}
.pages .details h2 {
margin: 0px;
font-weight: bold;
}
.pages img.screenshot {
display: block;
width: 350px;
border: 1px solid #494a4b;
}
.pages .response-headers {
margin-top: 20px;
min-width: 350px;
border-spacing: 0px;
border-collapse: collapse;
}
.pages .response-headers tbody {
font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif;
}
.pages .response-headers td, .pages .response-headers th {
border-bottom: 1px solid #ccc;
}
.pages .response-headers tr.danger td {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.pages .response-headers tr.success td {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.pagination {
margin: 50px 0px 50px 0px;
text-align: center;
}
.pagination a {
text-decoration: none;
border: 1px solid #494a4b;
display: inline-block;
padding: 10px;
}
.pagination a.disabled {
cursor: not-allowed;
opacity: 0.5;
filter: alpha(opacity=50);
}
.pagination a.previous {
margin-right: 20px;
}
.pagination a.next {
margin-left: 20px;
}
</style>
</head>
<body>
<pre class="logo">
<div class="content" onmousewheel=location.reload()>
____ __ __ ________
/ __ )/ /___ ______/ /__ /_ __/ /_ _________ ____ ___
/ __ / / __ `/ ___/ //_/ / / / __ \/ ___/ __ \/ __ \/ _ \
/ /_/ / / /_/ / /__/ , < / / / / / / / / /_/ / / / / __/
/_____/_/\__,_/\___/_/|_| /_/ /_/ /_/_/ \____/_/ /_/\___/
<weak>by <a href="https://github.com/CXVVMVII" target="_blank" >@WhizzHundrixx</a></weak>
</div>
</pre>
<div class="content">
<table class="pages">
<?php
/*
* DELETE TARGET QUERIES
*/
if(isset($_GET['delete'])) {
$targ = $_GET['delete'];
$del_q = "DELETE FROM targets WHERE c_code = '$targ' ";
$del_e = mysqli_query($db_con, $del_q);
}
/*
** PRINT THE TARGETS
*/
while ($rows = mysqli_fetch_assoc($mysql_get)) {
echo "
<td class='details'>
<h2>
<a href=''>".$rows['ip']."</a>
<weak>
<a href='?delete=".$rows['c_code']."'>Delete</a>
</weak>
</h2>
<table class='response-headers'>
<tbody>
<tr class=\"false\">
<td><strong>IP</strong></td>
<td>". $rows['ip']. "</td>
</tr>
<tr class=\"false\">
<td><strong>From</strong></td>
<td>". $rows['c_name']. "</td>
</tr>
<tr class=\"false\">
<td><strong>Region</strong></td>
<td>". $rows['region']. "</td>
</tr>
<tr class=\"false\">
<td><strong>At</strong></td>
<td>". $rows['time']. "</td>
</tr>
<tr class=\"false\">
<td><strong>Zip</strong></td>
<td>". $rows['zip']. "</td>
</tr>
<tr class=\"false\">
<td><strong>Country</strong></td>
<td>". $rows['c_code']. "</td>
</tr>
<tr class=\"false\">
<td><strong>Request </strong></td>
<td>". $rows['headers']. "</td>
</tr>
</tbody>
</table>
</td>
</tr>
";
}
?>
<!--
/*
* PHP Black Throne Script To detect websockets and HTTP traffic
* An open source Alternative to burp collaborator
* You may use it to scan for Blind SSRF/XSS ,CORS
* You can also hijack cookies/tokens by xss or invalidated redirections and store'em in
*/
/* Resources :
* https://freegeoip.app
* https://www.daniweb.com/programming/web-development/code/216846/get-http-request-headers-and-body
* Aquatone report css (i've steal it from there)
* PHP community
* Everyone who helped me to get into hacking
*/
-->