Created
August 10, 2017 08:08
-
-
Save pajswigger/9d9ea68e575d2133792940dd740ad03c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from burp import IBurpExtender | |
import jarray | |
req = b"""GET /test?input=foo HTTP/1.1 | |
Host: localhost | |
Upgrade-Insecure-Requests: 1 | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 | |
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6 | |
Connection: close | |
""" | |
class BurpExtender(IBurpExtender): | |
def registerExtenderCallbacks(self, callbacks): | |
callbacks.doActiveScan("localhost", 8080, False, req, [jarray.array([16,19], 'i')]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment