Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
wh0am1i authored and rungobier committed Feb 17, 2025
1 parent 8627e5d commit aafc459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pocsuite3/modules/zoomeye/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def write_conf(self):
except Exception as ex:
logger.error(str(ex))

def search(self, dork, pages, pagesize, search_type):
def search(self, dork, pages=2, pagesize=20, search_type="v4"):
search_result = set()
if kb.comparison:
kb.comparison.add_dork("Zoomeye", dork)
Expand Down Expand Up @@ -123,5 +123,5 @@ def search(self, dork, pages, pagesize, search_type):
ze = ZoomEye()
res = ze.search(dork='"<title>Vigor 300B</title>"', pages=1)
print(res)
res = ze.search(dork='site:google.com', pages=1, resource='web')
res = ze.search(dork='domain="google.com"', pages=1, pagesize=100, search_type='all')
print(res)

0 comments on commit aafc459

Please sign in to comment.