Skip to content

Commit

Permalink
fixed "" in find_subdomians
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaeem20 authored Dec 5, 2021
1 parent 8e4a85c commit ce6a26b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webeye/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ async def find_subdomains(self,host: str, cli=False, no_ip=True) -> Union[list,
RESPONSE = []
api = await session.get(f"https://api.hackertarget.com/hostsearch/?q={host}")
lines = api.text.split("\n")
if '' in lines:
lines.remove('')
if cli:
cliresponse = []
for x in lines:
Expand Down

0 comments on commit ce6a26b

Please sign in to comment.