summaryrefslogtreecommitdiff
path: root/php-malware-finder/samples/artificial/dodgy.php
diff options
context:
space:
mode:
Diffstat (limited to 'php-malware-finder/samples/artificial/dodgy.php')
-rw-r--r--php-malware-finder/samples/artificial/dodgy.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/php-malware-finder/samples/artificial/dodgy.php b/php-malware-finder/samples/artificial/dodgy.php
new file mode 100644
index 0000000..1c85f39
--- /dev/null
+++ b/php-malware-finder/samples/artificial/dodgy.php
@@ -0,0 +1,18 @@
1<?php
2
3curl_init ( "file:///etc/parla");
4curl_setopt($ch, CURLOPT_URL, "file:file:////etc/passwd");
5set_magic_quotes_runtime ( 0);
6eval(base64_decode($_GET['lol']));
7$a= "SetHandler application/x-httpd-php";
8$b = "IIS://localhost/w3svc";
9include ( 'lol.png');
10ini_get ( 'disable_function');
11ini_set("disable_function", "");
12ini_restore("allow_url_include");
13preg_replace ("/*/e");
14$c = "env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'";
15fsockopen ( 'udp://');
16call_user_func('LOL');
17$d = "<!--#exec cmd=";
18