Skip to content

Commit

Permalink
support for ubuntu 24.04 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
X3no21 committed Nov 12, 2024
1 parent 84f121f commit 9ca58f2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,24 @@ More details about **SEBASTiAn** can be found in the paper [SEBASTiAn: a Static

## ❱ Installation

The only requirement of this project is a working `Python 3` installation (along with
SEBEASTiAn requires the `cmake` package to build the `lief` package. Depending on the operating system, you can install `cmake` as follows:

### Ubuntu
```Shell
sudo apt install cmake
```

### Mac OS
```Shell
brew install cmake
```

### Windows
Download and install the latest `cmake` version at https://cmake.org/download/

### Python Requirements

SEBEASTiAn requires a working `Python 3` installation (along with
its package manager `pip`). Depending on your operating system, you might need a
different version of Python, as specified in the table below:

Expand All @@ -37,7 +54,10 @@ different version of Python, as specified in the table below:
| **3.6** or lower | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: |
| **3.7** | :heavy_check_mark: | :warning: | :heavy_check_mark: |
| **3.8** | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| **3.9** or greater | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| **3.9** | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| **3.10** | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| **3.11** | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| **3.12** or greater | :warning: | :warning: | :warning: |

:warning: might work by installing `lief` package manually, since there is no stable prebuilt
wheels are currently available.
Expand Down Expand Up @@ -112,7 +132,7 @@ Let's start by looking at the help message:
```Shell

$ SEBASTiAn --help
SEBASTiAn [-h] [-l {en,it}] [-i] [--fail-fast] [-t TIMEOUT] [--keep-files] <FILE>
SEBASTiAn [-h] [-l {en,it}] [-i] [-gr] [--fail-fast] [-t TIMEOUT] [--keep-files] <FILE>
```

There is only one mandatory parameter: `<FILE>`, the path (relative or absolute) to
Expand All @@ -122,6 +142,8 @@ the apk file to analyze.

* `-i, --ignore-libs`, Ignore known third-party libraries during the vulnerability analysis (only for Android).

* `-gr, --generate-report`: Generates a report of all identified vulnerabilities, saved as a JSON file.

* `--fail-fast`, Make the entire analysis fail on the first failed vulnerability check.

* `-t TIMEOUT, --timeout TIMEOUT` Make the analysis fail if it takes longer than the timeout (in seconds). By default, a timeout of 1200 seconds (20 minutes) is used.
Expand Down
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
androguard[magic]@https://github.com/androguard/androguard/archive/8d091cbb309c0c50bf239f805cc1e0931b8dcddc.zip
biplist==1.0.3
lief==0.12.3
lief==0.14.1
marshmallow==3.18.0
marshmallow-dataclass==8.5.9
Pebble==4.5.3
Expand Down

0 comments on commit 9ca58f2

Please sign in to comment.