Files
metasploit-gs/docker/msfconsole.rc
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
251 B
Plaintext
Raw Normal View History

<ruby>
run_single("setg LPORT #{ENV['LPORT']}") if ENV['LPORT']
2017-05-10 09:37:54 +02:00
if ENV['LHOST']
lhost = ENV['LHOST']
else
lhost = %x(hostname -i)
end
run_single("setg LHOST #{lhost}")
2017-05-17 17:18:21 +03:00
run_single("db_connect #{ENV['DATABASE_URL']}") if ENV['DATABASE_URL']
</ruby>