Skip to content

Commit

Permalink
Merge branch 'main' into optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek authored Jul 20, 2023
2 parents bdbc573 + 2deecf7 commit 980b5b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions credsweeper/rules/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@
severity: high
type: pattern
values:
- //[^:]+(?P<separator>:)(?P<value>[^@]+)@
- ://[^:\s]+(?P<separator>:)(?P<value>[^@\s]+)@
filter_type: UrlCredentialsGroup
use_ml: true
required_substrings:
- //
- ://
min_line_len: 10
doc_available: false

Expand Down
16 changes: 9 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# Common requirements
beautifulsoup4==4.12.2
GitPython==3.1.31
GitPython==3.1.32
google-auth-oauthlib==1.0.0
humanfriendly==10.0
lxml==4.9.2
lxml==4.9.3
oauthlib==3.2.2
openpyxl==3.1.2
pandas==2.0.2
PyYAML==6.0
pandas==2.0.3
PyYAML==6.0.1
requests==2.31.0
typing_extensions==4.6.3
typing_extensions==4.7.1
whatthepatch==1.0.5
pdfminer.six==20221105
password-strength==0.0.3.post2

# ML requirements
numpy==1.24.3
scikit-learn==1.2.2
numpy==1.24.4
# ^ the version supports python 3.8-3.11
scikit-learn==1.3.0
scipy==1.10.1
# ^ the version supports python 3.8
onnxruntime==1.15.1

# setup.py requirement
Expand Down
3 changes: 2 additions & 1 deletion tests/samples/url_cred
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
mysql://root:root@localhost:3306/main
mysql://root:root@localhost:3306/main
// note:[email protected]

0 comments on commit 980b5b7

Please sign in to comment.