Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- TARGET=$1
- DESTINATION=$2
- USER=$3
- PASS=$4
- USERKEY=$(curl -X POST -d 'api_dev_key=d2cb41ba1095e539bf9aa7d16c33aa84' -d 'api_user_name='$USER -d 'api_user_password='$PASS "https://pastebin.com/api/api_login.php")
- curl -X POST -d 'api_dev_key=d2cb41ba1095e539bf9aa7d16c33aa84' -d 'api_user_key='$USERKEY -d 'api_option=show_paste' -d 'api_paste_key='$TARGET "https://pastebin.com/api/api_post.php" -o /content/$DESTINATION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement