From 77ea5a40f54137d6722b808b6f8b7f249160cd8f Mon Sep 17 00:00:00 2001 From: sinn3r Date: Tue, 29 Jan 2013 14:19:42 -0600 Subject: [PATCH] Do report_auth_info --- modules/post/linux/gather/pptpd_chap_secrets.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/post/linux/gather/pptpd_chap_secrets.rb b/modules/post/linux/gather/pptpd_chap_secrets.rb index 1972b0cba8..267f95d19e 100644 --- a/modules/post/linux/gather/pptpd_chap_secrets.rb +++ b/modules/post/linux/gather/pptpd_chap_secrets.rb @@ -81,6 +81,15 @@ class Metasploit3 < Msf::Post secret = (found[2] || '').strip ip = (found[3] || '').strip + report_auth_info({ + :host => session.sock.peerhost, + :port => 1723, #PPTP port + :sname => 'pptp', + :user => client, + :pass => secret, + :active => true + }) + tbl << [client, server, secret, ip] end