This repository has been archived by the owner. It is now read-only.
Permalink
Find file Copy path
3ea62e5 Dec 10, 2018
1 contributor

Users who have contributed to this file

44 lines (30 sloc) 1.27 KB

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/

Msbuild.exe

  • Functions: Execute
msbuild.exe pshell.xml   
    
msbuild.exe Msbuild.csproj    

Acknowledgements:

  • Casey Smith - @subtee
  • Cn33liz - @Cneelis

Code sample:

Resources:

Full path:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Msbuild.exe
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Msbuild.exe
C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe
C:\Windows\Microsoft.NET\Framework64\v3.5\Msbuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Msbuild.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Msbuild.exe

Notes: Example code borrowed from Red Canary - Atomic Red Team.