This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# phpggc wrapper that automatically generates payloads for RCE gadgets | |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |
if [[ ! -d SCRIPT_DIR/phpggc ]] | |
then | |
git clone https://github.com/ambionics/phpggc ${SCRIPT_DIR}/phpggc | |
fi | |
function="system" |