Bienvenido a Tecnohackers

Tecnohackers » Programacion » Area de Programacion » Scripting. VBS, Batch, Bash, JavaSript.
 » 

Bypass Links v1.0: adf.ly, sh.st, ad links [sh]



Autor Tema: Bypass Links v1.0: adf.ly, sh.st, ad links [sh]  (Leído 1957 veces)

Conectado zolo

  • Consigliere
  • Master
  • *****
  • Mensajes: 22446
  • Un Mes, Un Año o Toda Una Vida, Da Igual, Estare
Bypass Links v1.0: adf.ly, sh.st, ad links [sh]
« en: Septiembre 27, 2016, 09:29:40 am »
Código: You are not allowed to view links. Register or Login
########################################################################################
########################################################################################
#+-
#+- Title: Bypass Links v1.0: adf.ly, sh.st, ad links
#+- Author: Arccotangent
#+- Category: Tool URL
#+- Description :  Here are a couple of bypass scripts I made while I was bored, these scripts will bypass adf.ly or sh.st links and print out the target URL.
#+- Supported sites:
#+- > adf.ly
#+- > shorte.st
#+- > sh.st
#+- > Adfocus
#+- Date Release : 2016-09-04
#+- 
########################################################################################
########################################################################################

Adf.ly bypass script:

Código: You are not allowed to view links. Register or Login
#!/bin/bash
 
USER_AGENT="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.28 (KHTML, like Gecko) Chrome/26.0.1397.2 Safari/537.28"
ADFLY=$1
 
if [ "$ADFLY" == "" ]; then
    echo "Usage: adfly <link>"
    echo "Works on every adfly link"
    exit 0
fi
 
ADFLY=$(echo "$ADFLY" | sed 's~http[s]*://~~g')
 
target_encoded=$(curl -s --user-agent "$USER_AGENT" $ADFLY | grep "var ysmm" | cut -d \' -f 2)
strlen=$(expr length "$target_encoded")
 
chunk1=""
chunk2=""
 
for i in $(seq 0 $strlen);
do
    if [ $((i%2)) -eq 0 ]; then
        chunk2=$chunk2"${target_encoded:$i:1}"
    else
        chunk1="${target_encoded:$i:1}"$chunk1
    fi
done
 
target_base64=$chunk2"$chunk1"
target=$(echo $target_base64 | base64 -d)
 
subnum=$((strlen-2))
 
target=${target:2:$subnum}
 
echo "$ADFLY -> $target"

Código: You are not allowed to view links. Register or Login
arccot@arccotangent-arch:~$ adfly http://adf.ly/a
adf.ly/a -> http://adf.ly

Sh.st (shorte.st) bypass script:

Código: You are not allowed to view links. Register or Login
#!/bin/bash
 
USER_AGENT=""
SHORTEST=$1
 
if [ "$SHORTEST" = "" ]; then
    echo "Usage: shst <link>"
    echo "Will work on any shorte.st link, including shorte.st and sh.st"
    exit 0
fi
 
SHORTEST=$(echo "$SHORTEST" | sed 's~http[s]*://~~g')
 
target_unformatted=$(curl -s --user-agent "$USER_AGENT" $SHORTEST | grep "<title>Redirecting")
 
target=$(echo $target_unformatted | cut -d "<" -f 2 | cut -d ">" -f 2 | cut -c 16-)
 
echo "$SHORTEST -> $target"

Código: You are not allowed to view links. Register or Login
arccot@arccotangent-arch:~$ shst http://sh.st/a
sh.st/a -> http://shorte.st/

Adfocus bypass script:

Código: You are not allowed to view links. Register or Login
#!/bin/bash
 
USER_AGENT=""
ADFOCUS=$1
 
if [ "$ADFOCUS" = "" ]; then
    echo "Usage: adfocus <link>"
    echo "Will work on any adfoc.us link"
    exit 0
fi
 
ADFOCUS=$(echo "$ADFOCUS" | sed 's~http[s]*://~~g')
 
target=$(curl -s -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" $ADFOCUS | grep showSkip | cut -d '<' -f 3 | cut -d '"' -f 2)
 
echo "$ADFOCUS -> $target"

Replace "#" with "adfoc .us" without the space

Código: You are not allowed to view links. Register or Login
arccot@arccotangent-arch:~$ adfocus http://#/x1
#/x1 -> http://google.com/


You are not allowed to view links. Register or Login


Fuente: Zephomet / el-hacker.com
You are not allowed to view links. Register or Login

Tags:
Tags:

 


SMF 2.0.19 | SMF © 2016, Simple Machines
Paginas Afiliadas
Twitter - FaceBook - Daraxblog
Designed by Smf Personal