metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Rex::Proto::NTLM::Utils.make_negotiate_secblob_resp

GSS BLOB usefull for SMB_NEGOCIATE_RESPONSE message
mechTypes: 4 items :
	MechType: 1.2.840.48018.1.2.2 (MS KRB5 - Microsoft Kerberos 5)
	MechType: 1.2.840.113554.1.2.2 (KRB5 - Kerberos 5)
	MechType: 1.2.840.113554.1.2.2.3 (KRB5 - Kerberos 5 - User to User)
	MechType: 1.3.6.1.4.1.311.2.2.10 (NTLMSSP - Microsoft NTLM Security Support Provider)
mechListMIC:
	principal: account@domain

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/rex/proto/ntlm/utils.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rex--Proto--NTLM--Utils-make_negotiate_secblob_resp-for-pr


# Commit to git

git add lib/rex/proto/ntlm/utils.rbgit commit -m "better docs for Rex::Proto::NTLM::Utils.make_negotiate_secblob_resp"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rex--Proto--NTLM--Utils-make_negotiate_secblob_resp-for-pr

hub pull-request


# Celebrate!