Skip to content

Commit 63f57a0

Browse files
authored
Update python version to 3.10 in CI (#46)
1 parent 42f7600 commit 63f57a0

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

.github/workflows/testQuarkScript.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,23 @@ jobs:
2020
git clone https://github.com/quark-engine/quark-engine.git
2121
2222
23-
- name: Set up Python 3.9
23+
- name: Set up Python 3.10
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: 3.9
26+
python-version: "3.10"
2727
cache: pip
2828
cache-dependency-path: quark-engine/setup.py
2929

3030

3131
- name: Install dependencies
3232
run: |
3333
python -m pip install --upgrade pip
34-
python -m pip install pytest rzpipe meson==0.62.0 ninja coverage ciphey frida objection
35-
# Install graphviz & ninja
36-
sudo apt-get -y install graphviz ninja-build
34+
python -m pip install frida objection importlib_resources
35+
# Install graphviz
36+
sudo apt-get -y install graphviz
3737
38-
# Install Rizin
39-
40-
sudo git clone --branch v0.3.4 https://github.com/rizinorg/rizin /opt/rizin/
41-
cd /opt/rizin/
42-
meson build
43-
ninja -C build
44-
sudo ninja -C build install
45-
sudo ldconfig -v
46-
cd -
47-
48-
# Install click >= 8.0.0 for CLI supports
49-
python -m pip install click==8.0.3
38+
# Install click <=8.1.7 for CLI supports
39+
python -m pip install "click<=8.1.7"
5040

5141
- name: Install Quark-Engine
5242
run: |

CWE-312/CWE-312.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from quark.script.frida import runFridaHook
2-
from quark.script.ciphey import checkClearText
2+
from quark.script.ares import checkClearText
33

44
APP_PACKAGE_NAME = "oversecured.ovaa"
55

@@ -23,4 +23,4 @@
2323
print(
2424
"The CWE-312 vulnerability is found. "
2525
f'The cleartext is "{secondParam}"'
26-
)
26+
)

CWE-312/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ vulnerability.
2828
First, we designed a [Frida](https://frida.re) script `agent.js` to hook
2929
the target method and get the arguments when the target method is
3030
called. Then we hook the method `putString` to catch its arguments.
31-
Finally, we use [Ciphey](https://github.com/Ciphey/Ciphey) to check if
31+
Finally, we use [Ares](https://github.com/bee-san/Ares) to check if
3232
the arguments are encrypted.
3333

3434
``` python
3535
from quark.script.frida import runFridaHook
36-
from quark.script.ciphey import checkClearText
36+
from quark.script.ares import checkClearText
3737

3838
APP_PACKAGE_NAME = "oversecured.ovaa"
3939

0 commit comments

Comments
 (0)