Skip to content

Commit

Permalink
Reformated with black
Browse files Browse the repository at this point in the history
  • Loading branch information
GamehunterKaan committed Jul 20, 2022
1 parent ad2c6ad commit 827f95d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/web/webvuln.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def get_url(target):
"""
Get the target url
"""
headers = {
"User-Agent" : next(random_user_agent(log))
}
headers = {"User-Agent": next(random_user_agent(log))}
url_ = [f"http://{target}/", f"https://{target}/"]
for url in url_:
try:
Expand All @@ -33,7 +31,6 @@ def get_url(target):
else:
return url


target_url = get_url(target)

if target_url is None:
Expand Down

0 comments on commit 827f95d

Please sign in to comment.