Tuesday, January 17, 2012

Find Exploits for specific ports

Volatile Minds blogger
msf > irb


>> framework.exploits.each_module { |n,e| x=e.new;
print_good("#{e.fullname}:
#{x.datastore['RPORT']}")
if x.datastore['RPORT'].to_i == 445 }; nil

(All in one line... )

You just need to replace the "445" with your target port.

Volatile-Minds Blog

1 comment: