CyberSecDef / scans2reports

An ACAS/SCAP/CKL scan parser and report generator
GNU Lesser General Public License v3.0
18 stars 3 forks source link

Errors on Windows build #109

Open MPDano1 opened 3 months ago

MPDano1 commented 3 months ago

Errors running build.cmd in powershell. Tried to launch the .exe that was built but it won't launch and figuring these errors shown while executing the install is the problem.

C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\utils.py:40: SyntaxWarning: invalid escape sequence '.' regex = '''^(25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?).( C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:55: SyntaxWarning: invalid escape sequence '\W' vuln_id = re.search("\W(V-[0-9]+)", source.upper()) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:105: SyntaxWarning: invalid escape sequence '\W' vuln_id = re.search("\W(V-[0-9]+)", source.upper()) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:347: SyntaxWarning: invalid escape sequence '.' '([0-9]+).[0-9]+', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:356: SyntaxWarning: invalid escape sequence '.' '[0-9]+.([0-9]+)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:361: SyntaxWarning: invalid escape sequence '.' release = re.search('Release: [0-9]+.([0-9]+) Benchmark', release) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:441: SyntaxWarning: invalid escape sequence '\/' '(.)<\/VulnDiscussion>', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:447: SyntaxWarning: invalid escape sequence '\/' '(.)<\/Responsibility>', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:453: SyntaxWarning: invalid escape sequence '\/' '(.)<\/PotentialImpacts>', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:459: SyntaxWarning: invalid escape sequence '\/' '(.)<\/Mitigations>',

Thanks, Leo

CyberSecDef commented 3 months ago

Hi there. This repo is a couple of years old and i don't regularly maintain it. I did upload pre-compiled binaries though to the repo. See if these work for you:

https://github.com/CyberSecDef/scans2reports/releases

There should be one zip for Windows and another for Linux

Robert Weber @.***

On Wed, Mar 13, 2024 at 11:22 AM MPDano1 @.***> wrote:

Errors running build.cmd in powershell. Tried to launch the .exe that was built but it won't launch and figuring these errors shown while executing the install.

C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\utils.py:40: SyntaxWarning: invalid escape sequence '.' regex = '''^(25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?).( C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:55: SyntaxWarning: invalid escape sequence '\W' vuln_id = re.search("\W(V-[0-9]+)", source.upper()) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:105: SyntaxWarning: invalid escape sequence '\W' vuln_id = re.search("\W(V-[0-9]+)", source.upper()) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:347: SyntaxWarning: invalid escape sequence '.' '([0-9]+).[0-9]+', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:356: SyntaxWarning: invalid escape sequence '.' '[0-9]+.([0-9]+)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:361: SyntaxWarning: invalid escape sequence '.' release = re.search('Release: [0-9]+.([0-9]+) Benchmark', release) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:441: SyntaxWarning: invalid escape sequence '/' '(.

)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:447: SyntaxWarning: invalid escape sequence '/' '(.)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:453: SyntaxWarning: invalid escape sequence '/' '(.

)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:459: SyntaxWarning: invalid escape sequence '/' '(.)',

Thanks, Leo

— Reply to this email directly, view it on GitHub https://github.com/CyberSecDef/scans2reports/issues/109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGIFDDLGNMDZZXDQZUYALTYYBVMBAVCNFSM6AAAAABEUME4Z2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DIMRYGI4DENA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MPDano1 commented 3 months ago

Hi there. This repo is a couple of years old and i don't regularly maintain it. I did upload pre-compiled binaries though to the repo. See if these work for you: https://github.com/CyberSecDef/scans2reports/releases There should be one zip for Windows and another for Linux Robert Weber @. On Wed, Mar 13, 2024 at 11:22 AM MPDano1 @.> wrote: Errors running build.cmd in powershell. Tried to launch the .exe that was built but it won't launch and figuring these errors shown while executing the install. C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\utils.py:40: SyntaxWarning: invalid escape sequence '.' regex = '''^(25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?).( C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:55: SyntaxWarning: invalid escape sequence '\W' vuln_id = re.search("\W(V-[0-9]+)", source.upper()) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:105: SyntaxWarning: invalid escape sequence '\W' vuln_id = re.search("\W(V-[0-9]+)", source.upper()) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:347: SyntaxWarning: invalid escape sequence '.' '([0-9]+).[0-9]+', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:356: SyntaxWarning: invalid escape sequence '.' '[0-9]+.([0-9]+)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:361: SyntaxWarning: invalid escape sequence '.' release = re.search('Release: [0-9]+.([0-9]+) Benchmark', release) C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:441: SyntaxWarning: invalid escape sequence '/' '(. )', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:447: SyntaxWarning: invalid escape sequence '/' '(.)', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:453: SyntaxWarning: invalid escape sequence '/' '(. )', C:\Users\ldano\Documents\scans2reports-master\scans2reports-master\scan_parser.py:459: SyntaxWarning: invalid escape sequence '/' '(.)', Thanks, Leo — Reply to this email directly, view it on GitHub <#109>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGIFDDLGNMDZZXDQZUYALTYYBVMBAVCNFSM6AAAAABEUME4Z2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DIMRYGI4DENA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thank you sir, will give it a go and report back

MPDano1 commented 3 months ago

Thanks Robert! It launched like a charm. Now need to get to work on them reports. Thanks again! Leo

CyberSecDef commented 3 months ago

Glad to help! Have fun with reports :)

Robert Weber @.***

On Wed, Mar 13, 2024 at 11:49 AM MPDano1 @.***> wrote:

Thanks Robert! It launched like a charm. Now need to get to work on them reports. Thanks again! Leo

— Reply to this email directly, view it on GitHub https://github.com/CyberSecDef/scans2reports/issues/109#issuecomment-1994739813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGIFDBLQO5I7CDNQDMBYNTYYBYSLAVCNFSM6AAAAABEUME4Z2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUG4ZTSOBRGM . You are receiving this because you commented.Message ID: @.***>