Created
April 28, 2015 10:09
-
-
Save kyprizel/67afdc2ef25cd3b572d3 to your computer and use it in GitHub Desktop.
do_nothing plugin
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 w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin | |
| import time | |
| class do_nothing(CrawlPlugin): | |
| def __init__(self): | |
| CrawlPlugin.__init__(self) | |
| self.PLUGIN_TIMEOUT = 10 | |
| def crawl(self, fuzzable_req): | |
| for x in xrange(300): | |
| time.sleep(1) | |
| return |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just add:
[crawl.do_nothing]