Coder Social home page Coder Social logo

Comments (8)

noraj avatar noraj commented on July 17, 2024 2

In what scenario is the port changed from the standard ports?

image

Real DC on real client infra.

from certipy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on July 17, 2024

class LDAPConnection:
def __init__(self, target: Target, scheme: str = "ldaps"):
self.target = target
self.scheme = scheme
if self.scheme == "ldap":
self.port = 389
elif self.scheme == "ldaps":
self.port = 636

from certipy.

fgeek avatar fgeek commented on July 17, 2024

In what scenario is the port changed from the standard ports?

from certipy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on July 17, 2024

In what scenario is the port changed from the standard ports?

My use case is a hack the box machine. I've noticed that the ports being used are 3268 and 3269 . That could be a flag like what certipy already does in auth with -ldap-port

from certipy.

fgeek avatar fgeek commented on July 17, 2024

In what scenario is the port changed from the standard ports?

My use case is a hack the box machine. I've noticed that the ports being used are 3268 and 3269 . That could be a flag like what certipy already does in auth with -ldap-port

Alright. I just wanted to ask as I have never seen different ports in the field (not saying that this won't happen).

from certipy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on July 17, 2024

In what scenario is the port changed from the standard ports?

My use case is a hack the box machine. I've noticed that the ports being used are 3268 and 3269 . That could be a flag like what certipy already does in auth with -ldap-port

Alright. I just wanted to ask as I have never seen different ports in the field (not saying that this won't happen).

Yes thats totaly fine and your question makes total sense 😁
So you think this should be something to consider?

from certipy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on July 17, 2024

@fgeek I've created #198 and tested here and it worked.
Maybe double check if has everything you want :)

from certipy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on July 17, 2024

@noraj yep that happened to me as well.
I am not sure why this simple fix is taking too long to be reviewed however you could use my fork instead in the mean time

from certipy.

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.