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

Latest commit

 

History

History
43 lines (30 loc) · 1.27 KB

Msbuild.md

File metadata and controls

43 lines (30 loc) · 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.