Advertisement
Merxlc

PastebinDownloader

May 2nd, 2021 (edited)
1,519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/bin/sh
  2. TARGET=$1
  3. DESTINATION=$2
  4. USER=$3
  5. PASS=$4
  6. 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")
  7. 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