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

Problem and solution with Start.py #594

Open
1 task done
SrCheese0 opened this issue Nov 30, 2024 · 0 comments
Open
1 task done

Problem and solution with Start.py #594

SrCheese0 opened this issue Nov 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SrCheese0
Copy link

Which section is this feature request for?

Script Base

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

C:\Users####\MHDDoS\start.py:168: SyntaxWarning: invalid escape sequence '\d'
IP = compile("(?:\d{1,3}.){3}\d{1,3}")
C:\Users####\MHDDoS\start.py:169: SyntaxWarning: invalid escape sequence '\d'
protocolRex = compile('"protocol":(\d+)')

Describe the solution you'd like

IP = compile(r"(?:\d{1,3}.){3}\d{1,3}")
protocolRex = compile(r'"protocol":(\d+)')

ChatGPT Solution, I tried it and it no longer gives me errors

Additional context

Clarifications:

Line 168:
IP = compile(r"(?:\d{1,3}.){3}\d{1,3}")
Line 169:
protocolRex = compile(r'"protocol":(\d+)')

That would go in Start.py

@SrCheese0 SrCheese0 added the enhancement New feature or request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants