Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on Windows build #109

Open
MPDano1 opened this issue Mar 13, 2024 · 4 comments
Open

Errors on Windows build #109

MPDano1 opened this issue Mar 13, 2024 · 4 comments

Comments

@MPDano1
Copy link

MPDano1 commented Mar 13, 2024

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
Copy link
Owner

CyberSecDef commented Mar 13, 2024 via email

@MPDano1
Copy link
Author

MPDano1 commented Mar 13, 2024

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
Copy link
Author

MPDano1 commented Mar 13, 2024

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

@CyberSecDef
Copy link
Owner

CyberSecDef commented Mar 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants