Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- USER=user
- PASS=password
- LOGINKEY=$(curl -s -X POST -d user="${USER}" -d password="${PASS}" https://bnw.im/api/passlogin|grep -Eo '[0-9a-z]{32}')
- curl -s -X POST -d text="$1" "http://bnw.im/api/post?login=$LOGINKEY"
Advertisement
Add Comment
Please, Sign In to add comment