metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Post::Windows::LDAP#get_values_from_ber
Search through the BER data structure for our Attribute. This doesn't attempt to parse the BER structure correctly instead it finds the first occurance of our field name tries to check the length of that value.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/post/windows/ldap.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Post--Windows--LDAP-get_values_from_ber-for-pr
# Commit to gitgit add lib/msf/core/post/windows/ldap.rbgit commit -m "better docs for Msf::Post::Windows::LDAP#get_values_from_ber"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Post--Windows--LDAP-get_values_from_ber-for-pr
hub pull-request
# Celebrate!