Skip to content

Commit

Permalink
fixed False output in CLI interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaeem20 committed May 18, 2022
1 parent f389117 commit 7fa9408
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions webeye/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ def main():
firewall = enumerate_waf(options.target)
if not firewall:
print(f"Not Detected on: {options.target}")
if isinstance(firewall, list):
print(f"Vendors: {', '.join(firewall)}")
else:
print(firewall)
if isinstance(firewall, (list, str)):
print(f"Vendors: {', '.join(firewall) if isinstance(firewall, list) else firewall}")

if options.reverseip: # Reverse IP Lookup
reverseip(options.target, cli=True)
if options.honeypot: # Honeypot Lookup
Expand Down

0 comments on commit 7fa9408

Please sign in to comment.