2 ms·
A supporting note - my first thought was "well the author wants to work in CTF/pentesting situations where root access might not be available" but it tuns out t
by yjftsjthsd-h 3y ago
A supporting note - my first thought was "well the author wants to work in CTF/pentesting situations where root access might not be available" but it tuns out that https://nixos.wiki/wiki/Nix_Installation_Guide#Installing_without_root_permissions https://nixos.wiki/wiki/Nix_Installation_Guide#Installing_wi... is pretty well covered these days. At that point the only thing is that nix is complex enough that it might be easier to invent your own package manager than to master nix[0]. (I don't know enough about your other suggestions to comment.)
[0] Don't take this criticism too harshly; I'm writing this comment on a nixos laptop;)
- YoshiRulz 3y agoAnd if you're not able to install Nix (running something on a target machine?), you can use `nix bundle` on your own machine. More relevant for the author may be that a lot of pentesting tools aren't in Nixpkgs yet: https://github.com/NixOS/nixpkgs/issues/81418 https://github.com/NixOS/nixpkgs/issues/81418
- matrss 3y agoThere is also nix-portable (https://github.com/DavHau/nix-portable https://github.com/DavHau/nix-portable), which is basically a drop-in replacement for normal nix that does everything required for no-root operation by itself when needed. Just put the single binary in your PATH and it's ready.
- azathothas 3y agoAs my comment above stated, hysp relies on single binaries. The default source for PKGs that's shipped with hysp, contains only statically compiled binaries. This allows you to run a single binary anywhere on any system. And since you can host your own binaries for whatever architecture, hysp is agnostic. Further, since only binaries are installed, there's no need for toolchains/cache or any kind of other dependencies.