Get started with evil.js CDN

Public Domain licensed

Evil.js is a Node.js library used for executing malicious JS code.

Tags:
  • evil
  • evil.js

Stable version

Copied!

How to start using evil.js CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with evil.js CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/evil.js/42/evil.min.js" charset="utf-8"></script>
</head>
<body>
    <script>
        const evil = require('evil')();

        evil.eval(`console.log(eval("1 + 1"));`);
        evil.eval(`console.log(eval("Math.PI"));`);

        // Uncomment the following line to see an error
        // evil.eval(`console.log(eval("console.log('Hello, World!')"));`);
    </script>
</body>
</html>
Copied!
Copied!

All versions