Skip to content

Instantly share code, notes, and snippets.

View lukaskuzmiak's full-sized avatar

Lukas Kuzmiak lukaskuzmiak

  • Las Vegas, NV
View GitHub Profile
### Keybase proof
I hereby claim:
* I am lukaskuzmiak on github.
* I am lukash (https://keybase.io/lukash) on keybase.
* I have a public key whose fingerprint is A94B CF30 7167 1518 BD9F 3764 463E 4B2E E86F 56FD
To claim this, I am signing this object:
@lukaskuzmiak
lukaskuzmiak / php_xxe_tester.php
Created August 20, 2014 00:45
PHP XXE tester
<?php
// Extended tester from ezimuel (https://gist.github.com/ezimuel/9135151)
// The libxml entity loader is disabled by default
// even setting the libxml_disable_entity_loader to false doesn't works!
//
// @see http://uk3.php.net/manual/en/function.libxml-disable-entity-loader.php
// @see http://stackoverflow.com/a/10213239
// @see https://stackoverflow.com/questions/24117700
$dir = __DIR__;