Comments (9)
The thing is, ldap_shell.py
and the other files in impacket/impacket/examples/
are not strictly executable scripts. They have no entry point, no shebang, are not executable. They contain functionality which can be used by other scripts, like ntlmrelayx.py
. So just moving them to examples/
does not help.
Instead, a new wrapper script like ldap-shell.py
would be necessary (which then resides in examples/
) and provides a commandline interface for the LdapShell
class. Compare to mssqlclient.py
and mssqlshell.py
.
Given this concrete example of LdapShell
, I also think it would be useful to have. Colleagues and me also had use cases for this in the past.
from impacket.
Hi @n3rada,
I also agree with @exploide and @ShutdownRepo.
Regarding your query,
"does bloodyad provide a way to have a console-like ldap request interface?"
You might be interested in this project: https://github.com/p0dalirius/ldapconsole
Best regards,
from impacket.
I agree with @exploide, that's my understanding of Impacket's structure as well.
examples/
are example script.impacket/
is the library on which the scripts relyimpacket/examples/
some example scripts need additional helpers and definitions, this is where it's set
In my opinion, having a simple wrapper over LDAP shell would be a nice thing, but we probably shouldn't spend too much time on it as bloodyad probably does the job already.
from impacket.
Hi @n3rada,
Yes I can, feel free to open issues to request new features on https://github.com/p0dalirius/ldapconsole and I will implement them.
You can also submit pull requests if you want.
In the meantime I think this issue is resolved? @n3rada If this is the case, please close this issue to avoid overloading the maintainers :)
Best regards,
from impacket.
@ShutdownRepo I am keen on knowing your point of view about this
from impacket.
I agree. So I can work on a PR that would have a chance of being accepted if I create a proper so-called wrapper for a LDAP shell?
from impacket.
@ShutdownRepo, does bloodyad
provide a way to have a console-like ldap request interface?
This tool seems lacking in documentation. I'm more in favor of improving ldeep
to use ldap in console mode.
from impacket.
depends imo
- bloodyAD for some facilitated actions (DNS, DACL, RBCD, membership, ownership, shadow creds, etc.)
- ldeep for better LDAP console for facilitated enumeration
from impacket.
Sounds great! It lacks aliases like computers
to extract computers and so on. Do you plan on adding them?
from impacket.
Related Issues (20)
- Can't add REG_MULTI_SZ registry values using reg.py HOT 4
- Failed building wheel while installing HOT 2
- unsupported mechtype 'negoex - spnego extended negotiation security mechanism' HOT 2
- NTLMRelayX (multirelay) infinite retries when attacking an HTTP target even if successful
- SMB: Missing out of memory error handling 0x17000000 HOT 4
- AttributeError: 'NTLMRelayxConfig' object has no attribute 'setAddComputerSMB') HOT 1
- Create a release for impacket HOT 1
- Does not install on Windows 10 HOT 1
- wmiexec.py: "Can't find a valid stringBinding to connect" when using a domain defined in `/etc/hosts` HOT 1
- HTTP relay server fails to negotiate NTLM authentication for keep-alive requests
- secretsdump.py empty output when dumping AD hashes. HOT 1
- NTDSHashes.__init__() got an unexpected keyword argument 'skipUser' HOT 3
- Feature Request: secretsdump.py should also parse deleted registry hives
- AttributeError: 'NTLMRelayxConfig' object has no attribute 'setAddComputerSMB' HOT 1
- Signed commits break building and installing from git repo if `log.showSignature=true` in git
- mssqlclient.py doesn't list databases when used directly from the repo HOT 1
- SOC alert with Microsoft defender HOT 1
- Feature Request: SMBConnection Share Walking HOT 1
- Enumerating/Listing Shares on Amazon FSX shares does not work? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impacket.