Skip to content

Instantly share code, notes, and snippets.

@cjsaylor
Created February 7, 2013 04:55
Show Gist options
  • Save cjsaylor/4728654 to your computer and use it in GitHub Desktop.
Save cjsaylor/4728654 to your computer and use it in GitHub Desktop.
<script src="/user/emails" type="text/javascript"></script>
Array = function(data) {
// Upload contents of data to attacker's server
};
$.ajax('/user/emails', {
'complete': function(response) {
parsedResponse = JSON.parse(response.substr(9));
}
});
[
{
email: 'some-email'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment