From aa50edfb0f6604eceb265ee34ed5a108c390ba35 Mon Sep 17 00:00:00 2001 From: Joseph McPeters <44779781+fuzzlove@users.noreply.github.com> Date: Wed, 25 Dec 2024 14:30:50 -0600 Subject: [PATCH] Update PEzor.sh I noticed sgn was not working and upon reviewing the source the latest sgn uses -i for the input shellcode and PEzor.sh is missing the -i flag. --- PEzor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PEzor.sh b/PEzor.sh index e1cbd47..f182279 100755 --- a/PEzor.sh +++ b/PEzor.sh @@ -397,7 +397,7 @@ case $OUTPUT_FORMAT in if [ $SGN = true ]; then echo '[?] Executing sgn' && - (sgn -a $BITS -c 1 -o $TMP_DIR/shellcode.bin $TMP_DIR/shellcode.bin.donut || exit 1) + (sgn -a $BITS -c 1 -o $TMP_DIR/shellcode.bin -i $TMP_DIR/shellcode.bin.donut || exit 1) else cp $TMP_DIR/shellcode.bin.donut $TMP_DIR/shellcode.bin fi &&