diff options
Diffstat (limited to 'examples/xss')
| -rw-r--r-- | examples/xss/comments.db | bin | 0 -> 8192 bytes | |||
| -rw-r--r-- | examples/xss/index.php | 36 |
2 files changed, 36 insertions, 0 deletions
diff --git a/examples/xss/comments.db b/examples/xss/comments.db Binary files differnew file mode 100644 index 0000000..32114c2 --- /dev/null +++ b/examples/xss/comments.db diff --git a/examples/xss/index.php b/examples/xss/index.php new file mode 100644 index 0000000..e645517 --- /dev/null +++ b/examples/xss/index.php @@ -0,0 +1,36 @@ +<?php + class MyDB extends SQLite3 { + function __construct() { + $this->open('comments.db'); + } + } + + if (isset($_POST['user'], $_POST['comment'])) { + |