Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 760 Bytes

Sqltoolsps.md

File metadata and controls

34 lines (23 loc) · 760 Bytes

UPDATE BOOKMARKS - PROJECT MOVED TO A DEDICATED PROJECT SITE. THIS SITE WILL NOT BE UPDATED ANYMORE, BUT WILL BE KEPT FOR HISTORICAL REASONS.

New site: https://github.com/LOLBAS-Project/LOLBAS Web portal: https://lolbas-project.github.io/

SQLToolsPS.exe

  • Functions: Execute, evade logging
SQLToolsPS.exe -noprofile

Acknowledgements:

  • Pierre-Alexandre Braeken - @pabraeken

Code sample:

  • Downloading & executing a file
C:\Users>"C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\SQLToolsPS.exe -noprofile -command Start-Process calc"

Resources:

Full path:

C:\Program files (x86)\Microsoft SQL Server\130\Tools\Binn\sqlps.exe

Notes: A Powershell host.