Guest User

Untitled

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