Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wfuzz.py #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/wfuzz/wfuzz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
import os
import sys
import warnings

Expand All @@ -17,7 +18,7 @@

PROFILING = False


# create def print_profiling(profiling_list, profiling_header):
def print_profiling(profiling_list, profiling_header):
avg = [float(sum(col)) / len(col) for col in list(zip(*profiling_list))]
maxx = [max(col) for col in list(zip(*profiling_list))]
Expand All @@ -33,7 +34,7 @@ def print_profiling(profiling_list, profiling_header):
)
)


# create def main():
def main():
kb = None
fz = None
Expand Down Expand Up @@ -92,7 +93,7 @@ def main():
kb.cancel_job()
Facade().sett.save()


# create def main_filter():
def main_filter():
def usage():
print(help_banner2)
Expand Down Expand Up @@ -169,7 +170,7 @@ def usage():
except Exception as e:
warnings.warn(("Unhandled exception: %s" % str(e)))


# create def main_encoder():
def main_encoder():
def usage():
print(help_banner2)
Expand Down Expand Up @@ -230,7 +231,7 @@ def usage():
except Exception as e:
warnings.warn(("Unhandled exception: %s" % str(e)))


# create def main_gui():
def main_gui():
import wx
from .ui.gui.guicontrols import WfuzzFrame
Expand Down