Fixed XSS exploit - thanks to @Doridian for pointing it out :)

This commit is contained in:
alopexc0de 2012-10-08 20:19:34 -04:00
parent 9b3d135fcd
commit f6d566da85

View File

@ -1,5 +1,7 @@
<?php
$img = $_GET["img"];
strip_tags($img);
$img = strip_tags($img);
?>
<html prefix="og: http://ogp.me/ns#">
<head>
@ -70,4 +72,4 @@ echo "<tr><td><div align='center'><a href='./'><b><---- Back to Index</b></a><tr
}
?>
<br></div>
</body></html>
</body></html>