Skip to content

Commit

Permalink
redundant check removed
Browse files Browse the repository at this point in the history
  • Loading branch information
SterbenXIII authored Feb 26, 2022
1 parent 09b7dea commit fe65aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def mainth():
site = "https://" + site
try:
attack = scraper.get(site)
if attack.status_code >= 302 and attack.status_code >= 200:
if attack.status_code >= 302:
for proxy in data['proxy']:
scraper.proxies.update(
{'http': f'{proxy["ip"]}://{proxy["auth"]}', 'https': f'{proxy["ip"]}://{proxy["auth"]}'})
Expand Down

0 comments on commit fe65aa5

Please sign in to comment.