Skip to content

Instantly share code, notes, and snippets.

@williamsjj
Created October 2, 2010 00:59
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 williamsjj/607124 to your computer and use it in GitHub Desktop.
Save williamsjj/607124 to your computer and use it in GitHub Desktop.
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