diff options
| author | Mathieu Deous | 2022-05-02 20:18:23 +0200 |
|---|---|---|
| committer | GitHub | 2022-05-02 20:18:23 +0200 |
| commit | 48936efa96ae17295be4e0a71be3294f0ec6aef8 (patch) | |
| tree | f4e69551f1368aa048edf46b7b061600f3668329 /data/samples/artificial/dodgy.php | |
| parent | bbc738e16f8b637afde58d65196374af98a5e0e2 (diff) | |
Make application go-install-able and create a docker image
Diffstat (limited to 'data/samples/artificial/dodgy.php')
| -rw-r--r-- | data/samples/artificial/dodgy.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/samples/artificial/dodgy.php b/data/samples/artificial/dodgy.php new file mode 100644 index 0000000..e127588 --- /dev/null +++ b/data/samples/artificial/dodgy.php | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | curl_init ( "file:///etc/parla"); | ||
| 4 | curl_setopt($ch, CURLOPT_URL, "file:file:////etc/passwd"); | ||
| 5 | set_magic_quotes_runtime ( 0); | ||
| 6 | eval(base64_decode($_GET['lol'])); | ||
| 7 | $a= "SetHandler application/x-httpd-php"; | ||
| 8 | $b = "IIS://localhost/w3svc"; | ||
| 9 | include ( 'lol.png'); | ||
| 10 | ini_get ( 'disable_functions'); | ||
| 11 | ini_set("disable_functions", ""); | ||
| 12 | ini_restore("allow_url_include"); | ||
| 13 | preg_replace ("/*/e"); | ||
| 14 | $c = "env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'"; | ||
| 15 | fsockopen ( 'udp://'); | ||
| 16 | call_user_func('LOL'); | ||
| 17 | $d = "<!--#exec cmd="; | ||
| 18 | $c = "AddType application/x-httpd-php .htaccess" | ||
