Created
October 2, 2010 00:59
-
-
Save williamsjj/607124 to your computer and use it in GitHub Desktop.
This file contains 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
post_data = "x-ctch-request-id: 123456789\r\n" + \ | |
"x-ctch-request-type: classifyurl\r\n" + \ | |
"x-ctch-pver: 1.0\r\n" + \ | |
"\r\nx-ctch-url: %s" % (host + path) | |
d = client.getPage('http://%s:%d/ctwsd/websec' % (self.category_host, self.category_port), | |
method="POST", | |
headers={'User-Agent' : "Hydra"}, | |
postdata=post_data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment