dd.ma Real link resolver

From Innocent Tamarin, 7 Years ago, written in Plain Text, viewed 642 times.
URL https://code.nat.moe/view/88bb33e9 Embed
Download Paste or View Raw
  1. #!/bin/bash
  2. [[ ! -z $1 ]] && URL=$1 || read URL
  3. echo -n "Resolving the real link... "
  4. REAL=$(curl $URL 2> /dev/null | grep "class=\"link1\"" | awk -F\" '{print $8}')
  5. echo "OK"
  6. echo "The real link is: $REAL"

Reply to "dd.ma Real link resolver"

Here you can reply to the paste above

captcha