Skip to content

Instantly share code, notes, and snippets.

@xsscx
Created October 9, 2016 13:45
Show Gist options
  • Save xsscx/f727bb1abdd726c0ddff340b03fa73fd to your computer and use it in GitHub Desktop.
Save xsscx/f727bb1abdd726c0ddff340b03fa73fd to your computer and use it in GitHub Desktop.
Inject Javascript to Proxy to set Debugging Config for Burp Suite | Example
HTMLImageElement.prototype.__defineSetter__('src', function(val){debugger;});
Object.defineProperty(Object.prototype,
'top',
{enumerable:false, set: function(value){
if(parseInt(value)<0)debugger;
}}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment