Skip to content

Commit

Permalink
README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
PurplProto committed Feb 22, 2024
1 parent f7a5487 commit 2743769
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,18 @@ Due to some odd dynamic linker issues in the Nethunter chroot while testing, the
1. Install Rust: [https://www.rust-lang.org/tools/install](rustup)
2. Install the Android [https://developer.android.com/tools/sdkmanager](sdkmanager)
3. Install NDK using Android sdkmanager: `sdkmanager "platforms;android-33" "ndk;25.2.9519653"`
4. Export `ANDROID_NDK_HOME` with the path of the NDK folder, you can find more [guidance here](https://github.com/bbqsrc/cargo-ndk). I suggest adding this variable to your `.bashrc`.
4. Export `ANDROID_NDK_HOME` with the path of the NDK install folder, you can find more [guidance here](https://github.com/bbqsrc/cargo-ndk). I suggest adding this variable to your `.bashrc`.
5. Clone this repo
6. Open a shell and cd into the cloned repo
7. Execute `cargo ndk -t arm64-v8a -p 33 build --release`
- Or for a statically linked binary do `export RUSTFLAGS="-C target-feature=+crt-static" cargo ndk -t arm64-v8a -p 33 build --release` instead
8. Locate the built executable at `target/aarch64-linux-android/release/android-pin-brute-force`

## Downloads
I had troubles getting the dynamically linked builds running in the Nethunter chroot environment, therefore all builds are built statically linked appart from x86_64, I could not get this building statically linked, therefore it is a dynamically linked binary.

You can find the built binaries [on the releases page](https://github.com/PurplProto/android-pin-brute-force/releases/latest).

## Attributions

This project was inspired by these projects:
Expand Down

0 comments on commit 2743769

Please sign in to comment.