Skip to content

Add Quark Script APIs to detect CWE-89#377

Merged
pulorsok merged 3 commits into
ev-flow:masterfrom
haeter525:feat/quark_script_for_cwe_89
Sep 6, 2022
Merged

Add Quark Script APIs to detect CWE-89#377
pulorsok merged 3 commits into
ev-flow:masterfrom
haeter525:feat/quark_script_for_cwe_89

Conversation

@haeter525

@haeter525 haeter525 commented Aug 8, 2022

Copy link
Copy Markdown
Member

Description

Please refer to #324.

This PR adds the following one Quark script APIs to detect SQL injection(CWE-89).

  1. behaviorInstance.isArgFromMethod(targetMethod)

Test Plans

  • All tests passed

Comment thread quark/script/__init__.py Outdated
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Base: 76.03% // Head: 77.06% // Increases project coverage by +1.03% 🎉

Coverage data is based on head (9ec6026) compared to base (2ce703f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
+ Coverage   76.03%   77.06%   +1.03%     
==========================================
  Files          56       60       +4     
  Lines        4261     4470     +209     
==========================================
+ Hits         3240     3445     +205     
- Misses       1021     1025       +4     
Flag Coverage Δ
unittests 77.06% <100.00%> (+1.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
quark/script/__init__.py 94.26% <100.00%> (+0.19%) ⬆️
tests/script/test_script.py 100.00% <100.00%> (ø)
quark/script/frida/__init__.py 95.91% <0.00%> (ø)
tests/script/test_ciphey.py 100.00% <0.00%> (ø)
quark/script/ciphey.py 100.00% <0.00%> (ø)
tests/script/test_frida.py 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@pulorsok

pulorsok commented Sep 5, 2022

Copy link
Copy Markdown
Member

@haeter525 LGTM, nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants