Permalink
Browse files

- prepare for <> attack

  • Loading branch information...
1 parent cd40ece commit f161b3349094cdd4c9a40aa12305c7672ae49807 @koto committed Jun 9, 2010
Showing with 15 additions and 7 deletions.
  1. BIN dr-evil2.jpg
  2. +7 −3 evil.html
  3. +4 −2 index.php
  4. +4 −2 js.js
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,5 +1,12 @@
<html>
<head>
+<title>jsunpack - evil page</title>
+</head>
+<body>
+<h1>jsunpack - evil page</h1>
+<h2>@author krzysztof at kotowicz dot net</h2>
+<img src="dr-evil2.jpg">
+<p>i'm as evil as EC444CB6-3E7E-4865-B1C3-0DE72EF39B3F</p>
<script>
var a = String.fromCharCode;
var b = eval;
@@ -8,9 +15,6 @@
// EC444CB6-3E7E-4865-B1C3-0DE72EF39B3F
</script>
-</head>
-<body>
-i am evil
<a href=".">reload</a>
</body>
</html>
View
@@ -1,9 +1,11 @@
<html>
<head>
-<title>i have malware</title>
+<title>jsunpack detection</title>
</head>
<body>
-evil script below
+<h1>jsunpack detection</h1>
+<h2>@author krzysztof at kotowicz dot net</h2>
+<p>I will redirect to an EVIL page</p>
<script src="js.js?<?php echo time();?>" type="text/javascript"></script>
</body>
</html>
View
6 js.js
@@ -1,7 +1,9 @@
// jsunpack detection
-// @author Krzysztof Kotowicz <krzysztof at kotowicz dot net>
+// @author Krzysztof kotowicz - krzysztof at kotowicz dot net
fake_browser = false;
-//fake_browser = (window.open.toString().match(/print/));
+// fake_browser = (window.open.toString().match(/print/));
if (!fake_browser) {
window.location = 'http://localhost/~koto/malware/evil.html';
}
+
+

0 comments on commit f161b33

Please sign in to comment.