Code Monkey home page Code Monkey logo

Comments (7)

dirkjanm avatar dirkjanm commented on August 30, 2024 1

it's likely related to a combination of ldap3 / pyasn1 version since the errors are all occurring there

from krbrelayx.

ShutdownRepo avatar ShutdownRepo commented on August 30, 2024

Hey there, I'm digging this issue, I have also encountered it today. I was able to create, query and modify records but was unable to clean up after. It seems the ldapdelete action isn't doing anything. And I had the same errors when trying to remove the records.
Could anyone take a look at this? I'll try to find a fix on my side but I think the authors will be far more efficient that I would be on this 😅

from krbrelayx.

ShutdownRepo avatar ShutdownRepo commented on August 30, 2024

Further tests showed that using python instead of python3 could help. It may have been dependency issues on my end.

from krbrelayx.

i128 avatar i128 commented on August 30, 2024

Can confirm this works without issue when using python2.7 (impacket/ldap)

from krbrelayx.

dirkjanm avatar dirkjanm commented on August 30, 2024

Did some further digging and it turned out the issue was actually with the script and it more or less by chance worked in python 2. This is fixed now. I've also actually implemented the ldapdelete operation (which was previously missing).

from krbrelayx.

bwhack16 avatar bwhack16 commented on August 30, 2024

Hello, I just wanted to follow up and see if anybody has confirm that this functionality is now working, I ran the below and received the following back "SPN Modified successfully":

python3 addspn.py -u 'DOMAIN\unconstrainedhost$' -p 'REDACTED:REDACTED' -s HOST/attacker.DOMAIN.NET --remove domaincontroller

I see that when querying the host the msDs-AdditionalDNS for attacker.DOMAIN.NET is no longer present; however the ATTACKER$ record is still there.

from krbrelayx.

dirkjanm avatar dirkjanm commented on August 30, 2024

this thread is about the dns tool, not the SPN tool. You may need to repeat your command for the ATTACKER$ SPN to remove the netbios name which got added automatically.

from krbrelayx.

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.