widhisec

paste.sh

Jun 21st, 2021 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.73 KB | None | 0 0
  1. #!/bin/bash
  2. CYAN=$(tput setaf 6)
  3. pasxx(){
  4.              pas=$(curl -X POST "https://pastebin.com/api/api_post.php" -d "api_paste_format=${format}" \
  5.              -d "api_option=paste" \
  6.              -d "api_user_key=" \
  7.              -d "api_paste_private=0" \
  8.              -d "api_paste_name=OK" \
  9.              -d "api_paste_expire_date=10M" \
  10.              -d "api_dev_key=ff9314e0164f30accec4ef969637aa07" \
  11.              --data "api_paste_code=$so" --silent)
  12.         echo -e "${CYAN}out -> $pas"
  13.      }
  14.    
  15.     echo -e "
  16. [PASTEBIN AUTO POSTER BY WIDHISEC]
  17. ----------------------------------
  18.    "
  19.  
  20.     echo -n "file here :"; read ok
  21.     echo -n "format :"; read format
  22. so=$(php -r "echo stream_get_contents(STDIN);" < $ok)
  23.        pasxx
Add Comment
Please, Sign In to add comment