Skip to content

Conversation

@Mayfly277
Copy link
Contributor

  • Add -show argument to print command queries.
  • Add some commands :
     enum_db                    - enum databases
     enum_links                 - enum linked servers
     enum_impersonate           - check logins that can be impersonate
     enum_logins                - enum login users
     enum_users                 - enum current db users
     enum_owner                 - enum db owner
     exec_as_user {user}        - impersonate with execute as user
     exec_as_login {login}      - impersonate with execute as login
     xp_dirtree {path}          - executes xp_dirtree on the path
     use_link {link}            - linked server to use (set use_link localhost to go back to local or use_link .. to get back one step)
     show_query                 - show query
     mask_query                 - mask query
  • Improve the column size result
  • Change the prompt indicating current login, current user, db in use and linkedserver if you use one.

@Mayfly277 Mayfly277 changed the title mssqlclient.py commands and promt improvements mssqlclient.py commands and prompt improvements Sep 12, 2022
@gabrielg5 gabrielg5 added the high High priority item label Jan 26, 2023
@0xdeaddood
Copy link
Collaborator

Hi @Mayfly277!
Great PR!! Merging...
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

high High priority item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants