githubEdit

MSSQLand

Link: https://github.com/n3rada/MSSQLand

Add Custom Command

1) Locate aliases directory

/home/kali/.sliver-client/aliases

2) Create new folder mssqland

mkdir mssqland

3) Create alias.json with contents:

{
    "name": "MSSQLand",
    "version": "v1.0",
    "command_name": "mssqland",
    "original_author": "n3rada",
    "repo_url": "https://github.com/n3rada/MSSQLand",
    "help": "Effortlessly navigate and conquer linked Microsoft SQL Server (MS SQL) servers",
    "entrypoint": "Main",
    "allow_args": true,
    "default_args": "/help",
    "is_reflective": false,
    "is_assembly": true,
    "files": [
      {
        "os": "windows",
        "arch": "amd64",
        "path": "MSSQLand.exe"
      },
      {
        "os": "windows",
        "arch": "386",
        "path": "MSSQLand.exe"
      }
    ]
}

4) Paste compiled MSSQLand.exe

In project directory, run

5) Restart Sliver

Usage

1) Local Authentication on different SQL servers

2) Token authentication (current user)

3) Check what user can be impersonated on current instance

8) Get sliver shell

10) Search strings in databases (with spaces, for each string)

Last updated