Shell Spawning->2016-01-29 • Nots • 0 条评论 • luom •67 views

python -c 'import pty; pty.spawn("/bin/sh")'

echo os.system('/bin/bash')

/bin/sh -i

perl —e 'exec "/bin/sh";'

perl: exec "/bin/sh";

ruby: exec "/bin/sh"

lua: os.execute('/bin/sh')

(From within IRB)
exec "/bin/sh"

 (From within vi)
:!bash

(From within vi)
:set shell=/bin/bash:shell

(From within nmap)
!sh

你可能感兴趣的:(Shell Spawning->2016-01-29 • Nots • 0 条评论 • luom •67 views)