Advertisement
claukiller

Untitled

May 4th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. password=$1
  4. export password
  5.  
  6. PASS=`python -c '\\
  7. import crypt
  8. import os
  9. salt="$1$12345678$"
  10. password=os.environ["password"]
  11. print(crypt.crypt(password,salt))'`
  12.  
  13. echo $PASS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement