Skip to content

Commit e5bb06d

Browse files
committed
Make shuriken optional
1 parent 67208a2 commit e5bb06d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

debian/rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ export PYBUILD_DISABLE=test
1010

1111
override_dh_virtualenv:
1212
dh_virtualenv
13+
pip install --break-system-packages git+https://github.com/Fare9/Shuriken-Analyzer.git@b26778813b487aa55e7e183d153ec83300f4e075#subdirectory=shuriken/bindings/Python/
1314
cp /usr/local/lib/libshuriken.so quark
1415
dh_install

quark/core/shurikenapkinfo.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def __init__(
4242
" library, follow the instructions on the GitHub page"
4343
" 'https://github.com/Shuriken-Group/Shuriken-Analyzer' to"
4444
" install Shuriken-Analyzer and its Python bindings."
45+
"Alternatively, you can use the deprecated Androguard-based"
46+
"core library by passing `--core-library androguard`"
47+
"(Not recommended)."
4548
)
4649

4750
super().__init__(apk_filepath, "shuriken", tmp_dir)

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"plotly",
1616
"rzpipe",
1717
"click",
18-
"r2pipe==1.8.0",
19-
"ShurikenAnalyzer @ git+https://github.com/Fare9/Shuriken-Analyzer.git@b26778813b487aa55e7e183d153ec83300f4e075#subdirectory=shuriken/bindings/Python/"
18+
"r2pipe==1.8.0"
2019
]
2120

2221
quarkAgentRequirements = [

0 commit comments

Comments
 (0)