Git Product home page Git Product logo

Comments (6)

poxyran avatar poxyran commented on July 21, 2024

Some more information about this: http://go4answers.webhost4life.com/Example/named-pipes-not-working-logged-standard-177282.aspx

See 'Answer 7':

{{{
I FINALLY got it working.
Man this stuff is as clear as mud.

It seems that there is no way to modify the permissions of a named pipe after it has been created.
I tried and it always either simply doesn't work or returns ACCESS_DENIED.
So, I had to specify both the DACL and SACL up front when creating the pipe.

The DACL code was pasted above in an earlier thread and the SACL can be created as follows:

  1. Create a new using InitializeAcl()
  2. Initialize a new SID specifying 'SECURITY_MANDATORY_LOW_RID'
  3. Call AddMandatoryAce() to add the SID to the ACL
  4. Call SetSecurityDescriptorSacl() to add the ACL to the security descriptor

}}}

from frida-core.

oleavr avatar oleavr commented on July 21, 2024

w00t, awesome! Feel like submitting a PR?

from frida-core.

poxyran avatar poxyran commented on July 21, 2024

@oleavr Before submitting a PR I need to test that code and see if everything is working as expected. Just give me some time :)

from frida-core.

oleavr avatar oleavr commented on July 21, 2024

You rock! 💪

from frida-core.

oleavr avatar oleavr commented on July 21, 2024

Implemented in a95a5e6.

from frida-core.

poxyran avatar poxyran commented on July 21, 2024

Thanks Ole!. I'll test it out.

from frida-core.

Related Issues (20)

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.