Skip to content

Commit

Permalink
Fix SSL/TLS Category Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
oliv10 committed Nov 7, 2023
1 parent ddc5211 commit 4fb0ec2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ usage: pyne [-h] [-o OUT] [-s] [-v] [-F] [-C] [-U] nessusFiles [nessusFiles ...]
(____/
Pyne
2.0.3
2.0.4
Pyne is a .nessus file parser.
Expand Down
2 changes: 1 addition & 1 deletion pyne/pyne.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def main(nessusFiles, args):

def setup():

__version__ = "2.0.3"
__version__ = "2.0.4"
NAME = "Pyne"
DESC = """
Pyne is a .nessus file parser.
Expand Down
2 changes: 1 addition & 1 deletion pyne/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def getCategory(title: str, solution: str, severity: str) -> str:
return "Missing Patches and Updates"
elif "unprivileged" in TITLE or "unauthenticated" in TITLE or "unprotected" in TITLE or "nfs" in TITLE:
return "Insecure Access Controls"
elif "SSL" in TITLE or "TLS" in TITLE:
elif "ssl" in TITLE or "tls" in TITLE:
return "Insecure SSL/TLS Configurations or Services"
else:
return "Insecure Configurations or Services"
Expand Down

0 comments on commit 4fb0ec2

Please sign in to comment.