Skip to content

Commit c13e024

Browse files
committed
updated
1 parent a158564 commit c13e024

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

documentation/modules/auxiliary/scanner/mssql/mssql_idf.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@ To configure the module, set it to look for field names of ‘username’ and
1616
**Running the scanner**
1717
```
1818
msf > use auxiliary/admin/mssql/mssql_idf
19-
msf auxiliary(mssql_idf) > show options
20-
21-
Module options (auxiliary/admin/mssql/mssql_idf):
22-
23-
Name Current Setting Required Description
24-
---- --------------- -------- -----------
25-
NAMES passw|bank|credit|card yes Pipe separated list of column names
26-
PASSWORD no The password for the specified username
27-
RHOST yes The target address
28-
RPORT 1433 yes The target port
29-
USERNAME sa no The username to authenticate as
30-
3119
msf auxiliary(mssql_idf) > set NAMES username|password
3220
NAMES => username|password
3321
msf auxiliary(mssql_idf) > set PASSWORD password1
@@ -54,6 +42,4 @@ logins dbo userpass password varchar 3
5442
5543
[*] Auxiliary module execution completed
5644
msf auxiliary(mssql_idf) >
57-
```
58-
59-
As can be seen in the module output, the scanner found our ‘logins’ database with a ‘userpass’ table containing username and password columns.
45+
```

documentation/modules/auxiliary/scanner/mssql/mssql_ping.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,6 @@ To configure the module, we set the RHOSTS and THREADS values and let it run aga
1717

1818
```
1919
msf > use auxiliary/scanner/mssql/mssql_ping
20-
msf auxiliary(mssql_ping) > show options
21-
22-
Module options (auxiliary/scanner/mssql/mssql_ping):
23-
24-
Name Current Setting Required Description
25-
---- --------------- -------- -----------
26-
PASSWORD no The password for the specified username
27-
RHOSTS yes The target address range or CIDR identifier
28-
TDSENCRYPTION false yes Use TLS/SSL for TDS data "Force Encryption"
29-
THREADS 1 yes The number of concurrent threads
30-
USERNAME sa no The username to authenticate as
31-
USE_WINDOWS_AUTHENT false yes Use windows authentification (requires DOMAIN option set)
32-
3320
msf auxiliary(mssql_ping) > set RHOSTS 192.168.1.200-254
3421
RHOSTS => 192.168.1.200-254
3522
msf auxiliary(mssql_ping) > set THREADS 20
@@ -62,6 +49,4 @@ msf auxiliary(mssql_ping) > run
6249
[*] Scanned 55 of 55 hosts (100% complete)
6350
[*] Auxiliary module execution completed
6451
msf auxiliary(mssql_ping) >
65-
```
66-
67-
As can be seen from the module output, not only does it return the listening TCP port, it returns other valuable information such as the InstanceName and ServerName values.
52+
```

0 commit comments

Comments
 (0)