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
fix: recognize ipv6 error messages #189
Conversation
Welp... I never actually got IPv6 error messages until recently, so I never thought about it being an issue in the first place. Also removed the length check, because it's not making things a lot faster anyway. Also tweaked the regex by capturing from the beginning of the string.
We couldn't find any modification to the CHANGELOG.md file. If your changes are not suitable for the changelog, that's fine. Otherwise please add them to the changelog! |
Pull Request Test Coverage Report for Build 396
💛 - Coveralls |
Here is an overview of what got changed by this pull request: Issues
======
- Added 5
Complexity increasing per file
==============================
- pastepwn/scraping/pastebin/tests/pastebinscraper_test.py 3
See the complete overview on Codacy |
- [IBANAnalyzer](https://github.com/d-Rickyy-b/pastepwn/blob/master/pastepwn/analyzers/ibananalyzer.py) - Checks if a paste contains an IBAN | ||
|
||
|
||
## Create own analyzer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: [no-consecutive-blank-lines] Remove 1 line before node
|
||
Check a few selected examples to get an idea: | ||
- [RegexAnalyzer](https://github.com/d-Rickyy-b/pastepwn/blob/master/pastepwn/analyzers/regexanalyzer.py) - Foundation for most other analyzers. Checks a | ||
paste against a regex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: [list-item-spacing] Missing new line after list item
Check a few selected examples to get an idea: | ||
- [RegexAnalyzer](https://github.com/d-Rickyy-b/pastepwn/blob/master/pastepwn/analyzers/regexanalyzer.py) - Foundation for most other analyzers. Checks a | ||
paste against a regex | ||
- [SteamKeyAnalyzer](https://github.com/d-Rickyy-b/pastepwn/blob/master/pastepwn/analyzers/steamkeyanalyzer.py) - Checks if a paste contains a Steam Key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: [list-item-spacing] Missing new line after list item
realAnalyzer = (analyzer1 & analyzer2) | analyzer3 | ||
``` | ||
|
||
The `realAnalyzer` only matches if either `analyzer1` and `analyzer2` both match, or if `analyzer3` matches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: [no-consecutive-blank-lines] Remove 1 line after node
The job of an analyzer is to check if a paste matches certain criteria. If it matches, pastepwn will execute the action(s), that is stored in the analyzer. | ||
|
||
|
||
## Example analyzers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: [no-consecutive-blank-lines] Remove 1 line before node
No description provided.