* Changed name from MSSQLFingerprint to MSSQLFinger to match convention.

* Added UI support for the new fingerprint in Monkey Island.
* UI supports includes writing up MSSQL as a service under node's
  services list.
This commit is contained in:
maor.rayzin 2018-06-12 13:26:28 +03:00
parent fe1f6d67e5
commit d312a3a771
4 changed files with 13 additions and 4 deletions

View File

@ -9,7 +9,7 @@ from itertools import product
from exploit import WmiExploiter, Ms08_067_Exploiter, SmbExploiter, RdpExploiter, SSHExploiter, ShellShockExploiter, \
SambaCryExploiter, ElasticGroovyExploiter
from network import TcpScanner, PingScanner, SMBFinger, SSHFinger, HTTPFinger, MySQLFinger, ElasticFinger, \
MSSQLFingerprint
MSSQLFinger
__author__ = 'itamar'

View File

@ -27,4 +27,4 @@ from elasticfinger import ElasticFinger
from mysqlfinger import MySQLFinger
from info import local_ips
from info import get_free_tcp_port
from mssql_fingerprint import MSSQLFingerprint
from mssql_fingerprint import MSSQLFinger

View File

@ -9,13 +9,13 @@ __author__ = 'Maor Rayzin'
LOG = logging.getLogger(__name__)
class MSSQLFingerprint(HostFinger):
class MSSQLFinger(HostFinger):
# Class related consts
SQL_BROWSER_DEFAULT_PORT = 1434
BUFFER_SIZE = 4096
TIMEOUT = 5
SERVICE_NAME = 'mssql'
SERVICE_NAME = 'MSSQL'
def __init__(self):
self._config = __import__('config').WormConfiguration

View File

@ -121,6 +121,14 @@ SCHEMA = {
],
"title": "MySQLFinger"
},
{
"type": "string",
"enum": [
"MSSQLFinger"
],
"title": "MSSQLFinger"
},
{
"type": "string",
"enum": [
@ -367,6 +375,7 @@ SCHEMA = {
"PingScanner",
"HTTPFinger",
"MySQLFinger",
"MSSQLFinger",
"ElasticFinger"
],
"description": "Determines which classes to use for fingerprinting"