I believe you meant .bash_profile on line 140. emp3r0r currently tries to source .bashprofile from .bashrc and other profile files. However .bashprofile doesn't exist and the payload gets written to .bashrc instead.
On line 171, need to enclose %s in parentheses so all of %s has stderr silenced. Currently only the last command's output gets redirected and this causes visible errors.
Hi, this PR fixes two things:
.bash_profile
on line 140. emp3r0r currently tries to source.bashprofile
from.bashrc
and other profile files. However.bashprofile
doesn't exist and the payload gets written to.bashrc
instead.%s
in parentheses so all of%s
has stderr silenced. Currently only the last command's output gets redirected and this causes visible errors.^ So right now only
/usr/bin/sudo -E /usr/share/man/man1/arch.5.gz
has stderr redirected into /dev/null.