Commits

Anonymous committed b124c06

Initial commit

Comments (0)

Files changed (6)

+syntax: glob
+.idea
+<!doctype html>
+ <html lang="en">
+<head>
+  <meta charset="utf-8">
+  <title>Cookie Test - Host</title>
+</head>
+<body>
+    <iframe
+        width='1'
+        height='1'
+        frameborder='0'
+        src='http://cookietest-iframe.jasonleveille.com'
+        style='display:none;visibility:hidden'></iframe>
+</body>
+</html>
+<!doctype html>
+ <html lang="en">
+<head>
+  <meta charset="utf-8">
+  <title>Cookie Test - iframe</title>
+</head>
+<body>
+    <img src='http://cookietest-pixel.leve.co/pixel.php'>
+</body>
+</html>
+<?php
+    $value = 'foobar';
+    if(isset($_GET['val'])) {
+        $value = $_GET['val'];
+    }
+    setcookie("TestCookie", $value, time()+3600);
+    header('Location: http://cookietest-host.wurdig.com');

pixel/log

Empty file added.
+<?php
+    $value = 'no cookie';
+    if(isset($_COOKIE['TestCookie'])) {
+        $value = $_COOKIE['TestCookie'];
+    }
+    file_put_contents('log', $value, FILE_APPEND);
+    header('Content-Type: image/gif');
+    echo base64_decode('R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==');