Pls help me... how to secured my uploader from XSS?...
usually XSS get the session id from the url of your browser..
usually XSS get the session id from the url of your browser..
<script>alert(document.cookie);</script>
<? $shouts = mysql_fetch_array(mysql_query("SELECT shout FROM prefix_tablename ORDER BY time DESC LIMIT 1")); echo "Shouter: $shouts"; ?>
<? $shouts = mysql_fetch_array(mysql_query("SELECT shout FROM prefix_tablename ORDER BY time DESC LIMIT 1")); echo "Shouter: ".htmlspecialchars($shouts).""; ?>
[img ]http://host.com/path/session_stealer.php[/img ]
$text = preg_replace("/\[img\=(.*?)\](.*?)\[\/img\]/is","<img src=\"$1\"></img>",$text);
$text = str_replace("php"," ",$text); $text = preg_replace("/\[img\=(.*?)\](.*?)\[\/img\]/is","<img src=\"$1\"></img>",$text);
[img ]http://host.com/path/session_stealer.php[/img ]
<img src="http://host.com/path/session_stealer.">
php_flag engine Off
<Files .htaccessl> Order Deny,Allow Deny from all </Files> RemoveType .pl .cgi .php .php3 .php4 .php5 .xml .phtml .phtm .html .htm .wml .shtm .shtml .nth RemoveHandler .pl .cgi .php .php3 .php4 .php5 .xml .phtml .phtm .html .htm .wml .shtm .shtml .nth
Comment