0wning Ubuntu 12.04 LTS via Metasploit meterpreter and some script-fu
More information here https://astr0baby.wordpress.com/2012/11/20/hacking-ubuntu-12-04-lts-using-metasploit/

source