repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
mobile.nixNix31 lines1.0 KiBraw download
# modules/features/pentest/mobile.nix — Android application testing.
# Off by default. `daemon.pentest.mobile.enable = true;`
#
# `objection` is deliberately absent: it pulls the Android SDK, which is behind
# Google's android-sdk-license. Accepting a licence is the operator's call, not
# this module's, so if you want objection add BOTH of these yourself:
#
#   nixpkgs.config.android_sdk.accept_license = true;
#   daemon.pentest.mobile.enable = true;            # and add objection here
#
# Everything else here (frida, apktool, jadx, dex2jar, scrcpy, adb) is free.
{ lib, ... }:
(import ./_sets.nix { inherit lib; }) {
  name = "mobile";
  description = "APK unpacking, decompilation and runtime instrumentation";
  default = false;

  packages = pkgs: with pkgs; [
    apktool
    jadx # jadx, jadx-gui
    dex2jar # d2j-dex2jar and friends
    frida-tools # frida, frida-ps, …
    scrcpy
    android-tools # adb
  ];

  expectedBins = [
    "apktool" "jadx" "d2j-dex2jar" "frida" "frida-ps"
    "scrcpy" "adb"
  ];
}