Skip to content

Instantly share code, notes, and snippets.

@kyprizel
Created April 28, 2015 10:09
Show Gist options
  • Select an option

  • Save kyprizel/67afdc2ef25cd3b572d3 to your computer and use it in GitHub Desktop.

Select an option

Save kyprizel/67afdc2ef25cd3b572d3 to your computer and use it in GitHub Desktop.
do_nothing plugin
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
@kyprizel
Copy link
Author

just add:

[crawl.do_nothing]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment