Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.9K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
msldap
LDAP library (https://www.kitploit.com/search/label/Library) for MS AD
Documentation
Awesome documentation here! (https://msldap.readthedocs.io/en/latest/)
Features
Comes with a built-in console (https://www.kitploit.com/search/label/Console) LDAP client All parameters can be conrolled via a conveinent URL (see below) Supports integrated windows authentication (SSPI) both with NTLM and with KERBEROS Supports channel binding (for ntlm and kerberos (https://www.kitploit.com/search/label/Kerberos) not SSPI) Supports encryption (https://www.kitploit.com/search/label/Encryption) (for NTLM/KERBEROS/SSPI) Supports LDAPS (TODO: actually verify certificate) Supports SOCKS5 proxy withot the need of extra proxifyer Minimal footprint A lot of pre-built queries for convenient information polling Easy to integrate to your project No testing suite
Installation
Via GIT
python3 setup.py install
OR
pip install msldap
Prerequisites
winsspi module. For windows only. This supports SSPI based authentication. asn1crypto module. Some LDAP queries incorporate ASN1 strucutres to be sent on top of the ASN1 transport XD asysocks module. To support socks proxying. aiocmd For the interactive client asciitree For plotting nice trees in the interactive client
Usage
Please note that this is a library, and was not intended to be used as a command line (https://www.kitploit.com/search/label/Command%20Line) program.
Whit this noted, the projects packs a fully functional LDAP interactive client. When installing the msldap module with setup.py install a new binary will appear called msldap (shocking naming conventions)
LDAP connection URL
The major change was needed in version 0.2.0 to unify different connection options as one single string, without the need for additional command line switches.
The new connection string is composed in the following manner:
+://\:@:/?=&=&...
Detailed explanation with examples: +://:@://?=


sets the ldap protocol following values supported:
- ldap
- ldaps

can be omitted if plaintext authentication is to be performed (in that case it default to ntlm-password), otherwise:
- ntlm-password
- ntlm-nt
- kerberos-password (dc option param must be used)
- kerberos-rc4 / kerberos-nt (dc option param must be used)
- kerberos-aes (dc option param must be used)
- kerberos-keytab (dc option param must be used)
- kerberos-ccache (dc option param must be used)
- sspi-ntlm (windows only!)
- sspi-kerberos (windows only!)
- anonymous
- plain
- simple
- sicily (same format as ntlm-nt but using the SICILY authentication)

:
OPTIONAL. Specifies the root tree of all quer ies

can be:
- timeout : connction timeout in seconds
- proxytype: currently only socks5 proxy is supported
- proxyhost: Ip or hostname of the proxy server
- proxyport: port of the proxy server
- proxytimeout: timeout ins ecodns for the proxy connection
- dc: the IP address of the domain controller, MUST be used for kerberos authentication

Examples:
ldap://10.10.10.2 (anonymous bind)
ldaps://test.corp (anonymous bind)
ldap+sspi-ntlm://test.corp
ldap+sspi-kerberos://test.corp
ldap://TEST\\victim:@10.10.10.2 (defaults to SASL GSSAPI NTLM)
ldap+simple://TEST\\victim:@10.10.10.2 (SASL SIMPLE auth)
ldap+plain://TEST\\victim:@10.10.10.2 (SASL SIMPLE auth)
ldap+ntlm-password://TEST\\victim:@10.10.10.2
ldap+ntlm-nt://TEST\\victim:@10.10.10.2
ldap+kerberos-password://TEST\\victim: @10.10.10.2
ldap+kerberos-rc4://TEST\\victim:@10.10.10.2
ldap+kerberos-aes://TEST\\victim:@10.10.10.2
ldap://TEST\\victim:password@10.10.10.2/DC=test,DC=corp/
ldap://TEST\\victim:password@10.10.10.2/DC=test,DC=corp/?timeout=99&proxytype=socks5&proxyhost=127.0.0.1&proxyport=1080&proxytimeout=44

Kudos


Download Msldap (https://github.com/skelsec/msldap)

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
Omegle

Hi,

This might sound like a stupid question, but me and my friends got quite drunk last night and went on Omegle. After one friend of mine made a racist comment the other guy said: "I got your IP address, you're internet's fried, you don't know what you got yourself into".

I legitimately feel quite scared now. I don't know much about the "insides" of internet/computers/hacking.

Should I be worried? Could he access banking information of me or my family whom I live with?

Any advice? Thanks!

submitted by /u/3jq3jq
[link] [comments]

___________________________
@hacking_Attack
@Hacking_Video
Msldap - LDAP Library For Auditing MS AD

msldap LDAP library for MS AD Documentation Awesome documentation here! Features Comes with a built-in console LDAP client All parameters can be conrolled via a conveinent URL (see below) Supports integrated windows authentication (SSPI) both with NTLM and with KERBEROS Supports channel binding (for ntlm and kerberos not SSPI) Supports encryption (for NTLM/KERBEROS/SSPI) Supports LDAPS (TODO: actually verify certificate) Supports SOCKS5 proxy withot the need of extra proxifyer Minimal footprint A lot of pre-built queries for convenient information polling Easy to integrate to your project No testing suiteInstallation Via GIT python3 setup.py install OR pip install msldap Prerequisites winsspi module. For windows only. This supports SSPI based authentication. asn1crypto module. Some LDAP queries incorporate ASN1 strucutres to be sent on top of the ASN1 transport XD asysocks module. To support socks proxying. aiocmd For the interactive client asciitree For plotting nice trees in the interactive client Usage Please note that this is a library, and was not intended to be used as a command line program. Whit this noted, the projects packs a fully functional LDAP interactive client. When installing the msldap module with setup.py install a new binary will appear called msldap (shocking naming conventions) LDAP connection URL The major change was needed in version 0.2.0 to unify different connection options as one single string, without the need for additional command line switches. The new connection string is composed in the following manner: +://\:@:/?=&=&... Detailed explanation with examples: +://:@://?= sets the ldap protocol following values supported: - ldap - ldaps can be omitted if plaintext authentication is to be performed (in that case it default to ntlm-password), otherwise: - ntlm-password - ntlm-nt - kerberos-password (dc option param must be used) - kerberos-rc4 / kerberos-nt (dc option param must be used) - kerberos-aes (dc option param must be used) - kerberos-keytab (dc option param must be used) - kerberos-ccache (dc option param must be used) - sspi-ntlm (windows only!) - sspi-kerberos (windows only!) - anonymous - plain - simple - sicily (same format as ntlm-nt but using the SICILY authentication) : OPTIONAL. Specifies the root tree of all quer ies can be: - timeout : connction timeout in seconds - proxytype: currently only socks5 proxy is supported - proxyhost: Ip or hostname of the proxy server - proxyport: port of the proxy server - proxytimeout: timeout ins ecodns for the proxy connection - dc: the IP address of the domain controller, MUST be used for kerberos authentication Examples: ldap://10.10.10.2 (anonymous bind) ldaps://test.corp (anonymous bind) ldap+sspi-ntlm://test.corp ldap+sspi-kerberos://test.corp ldap://TEST\\victim:@10.10.10.2 (defaults to SASL GSSAPI NTLM) ldap+simple://TEST\\victim:@10.10.10.2 (SASL SIMPLE auth) ldap+plain://TEST\\victim:@10.10.10.2 (SASL SIMPLE auth) ldap+ntlm-password://TEST\\victim:@10.10.10.2 ldap+ntlm-nt://TEST\\victim:@10.10.10.2 ldap+kerberos-password://TEST\\victim: @10.10.10.2 ldap+kerberos-rc4://TEST\\victim:@10.10.10.2 ldap+kerberos-aes://TEST\\victim:@10.10.10.2 ldap://TEST\\victim:password@10.10.10.2/DC=test,DC=corp/ ldap://TEST\\victim:password@10.10.10.2/DC=test,DC=corp/?timeout=99&proxytype=socks5&proxyhost=127.0.0.1&proxyport=1080&proxytimeout=44 Kudos Download Msldap
Read more...

___________________________
@hacking_Attack
@Hacking_Video