Skip to content

Commit

Permalink
Fix images in CWE-94 and CWE-926 document (#619)
Browse files Browse the repository at this point in the history
* Fix code of CWE-94 and CWE-926

* Fix code of CWE-94 and CWE-926

* Fix code of CWE-94 and CWE-926
  • Loading branch information
JerryTasi committed Mar 20, 2024
1 parent dcd6438 commit 0cadae7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/quark_script.rst
Original file line number Diff line number Diff line change
Expand Up @@ -499,14 +499,14 @@ We analyze the definition of CWE-94 and identify its characteristics.

See `CWE-94 <https://cwe.mitre.org/data/definitions/94.html>`_ for more details.

.. image:: https://imgur.com/2Hoi4eU.jpg
.. image:: https://imgur.com/faWwd3p.jpg

Code of CWE-94 in ovaa.apk
=========================================

We use the `ovaa.apk <https://github.com/oversecured/ovaa>`_ sample to explain the vulnerability code of CWE-94.

.. image:: https://imgur.com/OWZvuGV.jpg
.. image:: https://imgur.com/duobWF2.jpg

Quark Scipt: CWE-94.py
========================
Expand Down Expand Up @@ -892,14 +892,14 @@ We analyze the definition of CWE-926 and identify its characteristics.

See `CWE-926 <https://cwe.mitre.org/data/definitions/926.html>`_ for more details.

.. image:: https://imgur.com/dqje0yS.jpg
.. image:: https://imgur.com/Km8wtGs.jpg

Code of CWE-926 in dvba.apk
=========================================

We use the `dvba.apk <https://github.com/rewanthtammana/Damn-Vulnerable-Bank>`_ sample to explain the vulnerability code of CWE-926.

.. image:: https://imgur.com/9V8Ghr2.jpg
.. image:: https://imgur.com/KoOt5ii.jpg

Quark Scipt: CWE-926.py
========================
Expand All @@ -924,9 +924,9 @@ Quark Script Result

.. code-block:: TEXT
$ python3 findSecretKeySpec.py
CWE-926 is found in the activity, com.app.damnvulnerablebank.CurrencyRates
CWE-926 is found in the activity, com.app.damnvulnerablebank.SplashScreen
$ python3 CWE-926.py
CWE-926 is detected in the activity, com.app.damnvulnerablebank.CurrencyRates
CWE-926 is detected in the activity, com.app.damnvulnerablebank.SplashScreen
Detect CWE-749 in Android Application (MSTG-Android-Java.apk)
Expand Down

0 comments on commit 0cadae7

Please sign in to comment.