-
Notifications
You must be signed in to change notification settings - Fork 308
MSSQL
justinbastress edited this page Feb 7, 2018
·
1 revision
The MSSQL module scans a Microsoft SQL server over TCP.
- BaseFlags
- TLSFlags
-
--encrypt-mode
: The encryption type for the pre-login step. One ofENCRYPT_ON
,ENCRYPT_OFF
, orENCRYPT_NOT_SUP
.
- Do the PRELOGIN step: https://msdn.microsoft.com/en-us/library/dd357559.aspx
- If
ENCRYPT_MODE
==ENCRYPT_NOT_SUP
, finish.
- Do a TLS handshake
- The first packets of the handshake are wrapped in TDS packets, and further, it seems that MSSQL will shut down the connection if the second round of client->server packets are not sent in a single packet. So, the MSSQL scanner will not work with zcrypto versions prior to https://github.com/zmap/zcrypto/pull/104.
-
version
: The version number, as "major.minor.build", using the version info returned from PRELOGIN. -
instance_name
: The instance name, as returned from PRELOGIN. -
prelogin_options
: Debug only. The whole PRELOGIN response. -
tls
: The TLSFlags log.