Skip to content

Commit

Permalink
Added Ldap notes
Browse files Browse the repository at this point in the history
Added Ldap notes
  • Loading branch information
1nPr0c committed Sep 4, 2015
1 parent c59a73e commit 0d6a65e
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions Cheatsheet_PenTesting.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-------------------------------------------------------------------------- Reminders
-------------------------------------------------------------------------- Reminders

LOG EVERYTHING!

Expand Down Expand Up @@ -384,4 +384,20 @@ atftpd --daemon --port 69 /tmp

[+] Connect to TFTP Server
tftp 192.168.0.10
put / get files
put / get files

-------------------------------------------------------------------------- LDAP Querying

Tools:
ldapsearch
LDAPExplorertool2

Anonymous Bind:
ldapsearch -h ldaphostname -p 389 -x -b "dc=domain,dc=com"

Authenticated:
ldapsearch -h 192.168.0.60 -p 389 -x -D "CN=Administrator, CN=User, DC=<domain>, DC=com" -b "DC=<domain>, DC=com" -W

Useful Links:
http://www.lanmaster53.com/2013/05/public-facing-ldap-enumeration/
http://blogs.splunk.com/2009/07/30/ldapsearch-is-your-friend/

0 comments on commit 0d6a65e

Please sign in to comment.