Skip to content

Instantly share code, notes, and snippets.

@ichikaway
Created December 27, 2016 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ichikaway/e674a648b68bbbce6108c85224b0be61 to your computer and use it in GitHub Desktop.
Save ichikaway/e674a648b68bbbce6108c85224b0be61 to your computer and use it in GitHub Desktop.
<?php
require 'PHPMailerAutoload.php';
//$address = 'ichikaway@gmail.com';
$address = '"attacker\" -oQ/tmp/ -X/var/www/cache/phpcode.php some"@email.com';
var_dump(PHPMailer::validateAddress($address));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment