🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    cve_2020_35489_checker.py
    skipped 33 lines
    34 34   print(f"\nSite: {dominio}\nOcorreu um erro ao obter a versão do plugin:\n{type(e).__name__}: {str(e)}")
    35 35   return
    36 36   
    37  - is_vulnerable = version.parse(versao_detectada) < version.parse("5.3.2")
     37 + vulneravel = version.parse(versao_detectada) < version.parse("5.3.2")
    38 38   print(f"\nSite: {dominio}\nVersão do Plugin \"Contact Form 7\": {versao_detectada}")
    39  - print(f"{dominio} {'-----------------------------------------------------------> ' if is_vulnerable else 'Não '}é vulnerável!\n")
    40  - if arquivo_saida and is_vulnerable:
     39 + print(f"{dominio} {'-----------------------------------------------------------> ' if vulneravel else 'Não '}é vulnerável!\n")
     40 + if arquivo_saida and vulneravel:
    41 41   with open(arquivo_saida, "a") as f:
    42 42   f.write(f"{dominio}\n")
    43 43   else:
    skipped 41 lines
Please wait...
Page is in error, reload to recover