Skip to content

Commit e7a2809

Browse files
Adding documentation for modules/auxiliary/scanner/http/copy_of_file.rb
1 parent 2725466 commit e7a2809

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Description
2+
3+
This module identifies the existence of possible copies of a specific file in a given path.
4+
5+
## Verification Steps
6+
7+
1. `./msfconsole -q`
8+
2. `set RHOSTS <rhost>`
9+
3. `set RPORT <rport>`
10+
4. `set PATH <filepath>`
11+
5. `run`
12+
13+
14+
## Scenarios
15+
16+
```
17+
msf6 auxiliary(scanner/http/copy_of_file) > set RHOSTS 127.0.0.1
18+
RHOSTS => 127.0.0.1
19+
msf6 auxiliary(scanner/http/copy_of_file) > set PATH /search_a_copy.txt
20+
PATH => /search_a_copy.txt
21+
msf6 auxiliary(scanner/http/copy_of_file) > run
22+
[*] Using code '404' as not found.
23+
[+] [127.0.0.1] Found http://127.0.0.1:80/Copy_(1)_of_search_a_copy.txt [200]
24+
[*] Using code '404' as not found.
25+
[+] [127.0.0.1] Found http://127.0.0.1:80/Copy_(2)_of_search_a_copy.txt [200]
26+
[*] Using code '400' as not found.
27+
[*] Using code '404' as not found.
28+
[+] [127.0.0.1] Found http://127.0.0.1:80/Copy_of_search_a_copy.txt [200]
29+
[*] Using code '404' as not found.
30+
[*] Using code '404' as not found.
31+
[+] [127.0.0.1] Found http://127.0.0.1:80/Copysearch_a_copy.txt [200]
32+
[*] Using code '404' as not found.
33+
[+] [127.0.0.1] Found http://127.0.0.1:80/_search_a_copy.txt [200]
34+
[*] Scanned 1 of 1 hosts (100% complete)
35+
[*] Auxiliary module execution completed
36+
37+
```

0 commit comments

Comments
 (0)