mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-21 07:46:32 +08:00
Delete wfuzz_search.py
Remove until deciding what to do next with this functionality, as it is causing issues in certain distros with pycurl SSL.
This commit is contained in:
parent
9cbe771145
commit
9aa0a1cfcd
|
@ -1,32 +0,0 @@
|
|||
try:
|
||||
import wfuzz
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
class SearchWfuzz:
|
||||
|
||||
def __init__(self, host):
|
||||
self.host = host
|
||||
self.results = ""
|
||||
self.totalresults = ""
|
||||
|
||||
def do_search(self):
|
||||
print('elo')
|
||||
try:
|
||||
for r in wfuzz.fuzz(url=f'https://{self.host}/FUZZ', hc=[404], payloads=[('file', dict(fn='wordlists/general/common.txt'))]):
|
||||
print(r)
|
||||
self.results += r
|
||||
except Exception as e:
|
||||
print(e)
|
||||
self.totalresults += self.results
|
||||
|
||||
def get_results(self):
|
||||
return self.totalresults
|
||||
|
||||
def do_check(self):
|
||||
return
|
||||
|
||||
def process(self):
|
||||
self.do_search()
|
||||
print('\tSearching Wfuzz')
|
Loading…
Reference in a new issue