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

Implement AWS Session Token Analyzer #122 #138

Merged
merged 80 commits into from
Oct 9, 2019

Conversation

Ideneal
Copy link
Contributor

@Ideneal Ideneal commented Oct 8, 2019

No description provided.

michalpirchala and others added 30 commits October 1, 2019 12:16
TASK: Analyser for DB connector strings
create discordaction with webhook
Improved the phone number analyzer and added test cases for it.
I checked this regex against a pastebin with origin and steam keys in it.  It matches on Origin keys.
DaRuudii and others added 26 commits October 6, 2019 19:41
Implement Battle.Net Key Analyzer
Microsoft License key analyzer.
Microsoft key analyzer tests
Update init.
Uses websockets to open a connection to Discord's Gateway,
then sends the proper identification payload so that further requests
are authorized. This code runs only if sending
messages fails with code 40001.
That way it only needs to be imported when actually using the bot functionality
I guess this happens for multi threaded programs. No idea how this performs in the long run. Longest test has been 2 minutes and it worked for that time at least.
…cated

Add Discord action (webhook or bot token)
Created basic Epic Key analyzer with unit test
fixes d-Rickyy-b#97
Adds a new adobe key analyzer. Also adds tests for the md5 analyzer.
- improved regex to better match the boundaries of the key to not include more segments than needed
- added a test for too many segments
changed the regex for the key analyzers to better match boundary situations
* BASE64-Analyser: Basic analyser implementation.

 - Created a simple class which extends on the RegexAnalyzer class.
 - Currently using regex to match base64.

* BASE64-Analyser: Added unit tests.

 - Unit tests added for the Base64Analyzer class.
 - Testing some edge cases.

* BASE64-Analyser: Regex fix.

 - The regex used to match empty strings as a base64 string, which it does not anymore.

* BASE64-Analyser: Added missed import.
@coveralls
Copy link

coveralls commented Oct 8, 2019

Pull Request Test Coverage Report for Build 194

  • 618 of 721 (85.71%) changed or added relevant lines in 38 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+10.8%) to 67.536%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pastepwn/analyzers/tests/adobekeyanalyzer_test.py 32 33 96.97%
pastepwn/analyzers/tests/awssessiontokenanalyzer_test.py 40 41 97.56%
pastepwn/analyzers/tests/base64analyzer_test.py 32 33 96.97%
pastepwn/analyzers/tests/battlenetkeyanalyzer_test.py 26 27 96.3%
pastepwn/analyzers/tests/dbconnstringanalyzer_test.py 24 25 96.0%
pastepwn/analyzers/tests/emailpasswordpairanalyzer_test.py 38 39 97.44%
pastepwn/analyzers/tests/epickeyanalyzer_test.py 32 33 96.97%
pastepwn/analyzers/tests/md5hashanalyzer_test.py 32 33 96.97%
pastepwn/analyzers/tests/microsoftkeyanalyzer_test.py 32 33 96.97%
pastepwn/analyzers/tests/originkeyanalyzer_test.py 30 31 96.77%
Totals Coverage Status
Change from base Build 151: 10.8%
Covered Lines: 2642
Relevant Lines: 3912

💛 - Coveralls

@d-Rickyy-b d-Rickyy-b self-requested a review October 9, 2019 16:40
@d-Rickyy-b d-Rickyy-b merged commit 1ec069c into d-Rickyy-b:dev Oct 9, 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