oxhak

YOURLS BASH SCRIPT

Dec 19th, 2012
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/bash
  2. # You need lynx installed on your system !
  3. id="XXXXXXXX";
  4. commande=`lynx -dump "http://[URL]/yourls-api.php?signature=$id&action=shorturl&format=simply&url=$1"`
  5. output=$(echo $commande)
  6. echo "$output"
Advertisement
Add Comment
Please, Sign In to add comment