Skip to content

Commit c6740f8

Browse files
committed
auxiliary/scanner/smb/smb2.md
1 parent dee2137 commit c6740f8

File tree

1 file changed

+40
-0
lines changed
  • documentation/modules/auxiliary/scanner/smb

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## Description
2+
3+
The SMB2 scanner module simply scans the remote hosts and determines if they support the SMB2 protocol.
4+
5+
## Verification Steps
6+
7+
1. Do: ```use auxiliary/scanner/smb/smb2```
8+
2. Do: ```set RHOSTS [IP]```
9+
3. Do: ```set THREADS [number of threads]```
10+
4. Do: ```run```
11+
12+
## Scenarios
13+
14+
**Running the scanner**
15+
```
16+
msf > use auxiliary/scanner/smb/smb2
17+
msf auxiliary(smb2) > show options
18+
19+
Module options:
20+
21+
Name Current Setting Required Description
22+
---- --------------- -------- -----------
23+
RHOSTS yes The target address range or CIDR identifier
24+
RPORT 445 yes The target port
25+
THREADS 1 yes The number of concurrent threads
26+
27+
msf auxiliary(smb2) > set RHOSTS 192.168.1.150-165
28+
RHOSTS => 192.168.1.150-165
29+
msf auxiliary(smb2) > set THREADS 16
30+
THREADS => 16
31+
msf auxiliary(smb2) > run
32+
33+
[*] 192.168.1.162 supports SMB 2 [dialect 255.2] and has been online for 618 hours
34+
[*] Scanned 06 of 16 hosts (037% complete)
35+
[*] Scanned 13 of 16 hosts (081% complete)
36+
[*] Scanned 14 of 16 hosts (087% complete)
37+
[*] Scanned 16 of 16 hosts (100% complete)
38+
[*] Auxiliary module execution completed
39+
msf auxiliary(smb2) >
40+
```

0 commit comments

Comments
 (0)