From 3b4c017cd267405b97c93c2c645ac494e2d334e8 Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:10:26 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 632b78e..ddf76d7 100644 --- a/README.md +++ b/README.md @@ -2043,7 +2043,7 @@ exec {"/proc/$$/fd/$f"} '"${strargv0}"'@ARGV or die "exec: $!";' -- "$@" The shortest possible variant is (example): ```shell -MX=("perl" '-efor(319,279){($f=syscall$_,$",1)>0&&last};open($o,">&=".$f);print$o();exec{"/proc/$$/fd/$f"}X,@ARGV' "--") +MX=(perl '-efor(319,279){($f=syscall$_,$",1)>0&&last};open($o,">&=".$f);print$o();exec{"/proc/$$/fd/$f"}X,@ARGV' --) # Example: cat /usr/bin/id | "${MX[@]}" -u ``` (Thank you [tmp.Out](https://tmpout.sh/) for some educated discussions)