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

TASK: Analyser for DB connector strings #79

Merged
merged 3 commits into from
Oct 3, 2019

Conversation

YellowFoxH4XOR
Copy link
Contributor

This pull request is regarding the issue Database Connector analyzer #70

@coveralls
Copy link

coveralls commented Oct 2, 2019

Pull Request Test Coverage Report for Build 95

  • 31 of 32 (96.88%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.0%) to 58.952%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pastepwn/analyzers/tests/dbconnstringanalyzer_test.py 24 25 96.0%
Totals Coverage Status
Change from base Build 94: 1.0%
Covered Lines: 1508
Relevant Lines: 2558

💛 - Coveralls

Copy link
Owner

@d-Rickyy-b d-Rickyy-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there. Thanks for your work. To have a consistent naming, could you please rename "Analyser" to "Analyzer" in the class name, name variable etc.? That way it would be uniform.

Thank you very much.

@YellowFoxH4XOR
Copy link
Contributor Author

YellowFoxH4XOR commented Oct 3, 2019 via email

@d-Rickyy-b
Copy link
Owner

Also 1) don't worry about merge conflicts because of the pastepwn/analyzers/__init__.py file. I am currently merging a lot of PRs and will fix them myself :)

and 2) is it intended that http://regex101.com matches the analyzer? Currently it would match every http URL. I would suggest turning (?!https\b) to (?!http(s)?\b) which should fix it.

Ah and 3) don't stress yourself, you got all the time you need. This PR is not running away.

Apart from that it matches connection strings very well! Have a great day 😀

@YellowFoxH4XOR
Copy link
Contributor Author

YellowFoxH4XOR commented Oct 3, 2019 via email

@d-Rickyy-b d-Rickyy-b merged commit 641afb3 into d-Rickyy-b:master Oct 3, 2019
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

Successfully merging this pull request may close these issues.

None yet

3 participants