Giter Site home page Giter Site logo

Comments (9)

Kevin-Robertson avatar Kevin-Robertson commented on August 22, 2024

I actually haven't tested for max command length. I know I haven't tried one much over 1200 chars. 3847 works? I'll take a look tonight to see what's going on with longer commands.

from invoke-thehash.

projectboot avatar projectboot commented on August 22, 2024

yes, i tried now. 3863 worked. but 3864 failed.

from invoke-thehash.

Kevin-Robertson avatar Kevin-Robertson commented on August 22, 2024

Okay cool, thanks, I'll go through and replicate that.

from invoke-thehash.

Kevin-Robertson avatar Kevin-Robertson commented on August 22, 2024

Comparing the behavior to Invoke-WMIMethod, it looks like another packet is employed once a command hits a certain length. I haven't checked the protocol specs yet for details. I should be able add some code in to handle the longer commands though.

from invoke-thehash.

projectboot avatar projectboot commented on August 22, 2024

hey, i working on this code since from 2 day. but still dont work.

Maybe problem is from BitConverter line 199.
What's your idea?

from invoke-thehash.

Kevin-Robertson avatar Kevin-Robertson commented on August 22, 2024

It's more down around the line 1220 section. Logic will need to be added to split the RPC request over multiple packets (using the appropriate first and last flags) for longer commands.

from invoke-thehash.

projectboot avatar projectboot commented on August 22, 2024

kevin, its rly perfect code.
me and our friends still waitting for fix.

can u look code, when u r available?

Thx.

from invoke-thehash.

Kevin-Robertson avatar Kevin-Robertson commented on August 22, 2024

Yeah, I'll be working on it more this weekend. There is a similar issue with Invoke-SMBExec and Inveigh-Relay that I need to fix so they work with the longer Empire 2 launchers.

from invoke-thehash.

Kevin-Robertson avatar Kevin-Robertson commented on August 22, 2024

Added support for longer commands to both Invoke-WMIExec and Invoke-SMBExec.

from invoke-thehash.

Related Issues (11)

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.