here’s my nix config for hacking that I stripped from my general purpose configuration.nix
I’d like to add whatever other tools other professionals find useful for staying anonymous, reconning, fuzzing, reverse engineering… anything part of the work flow
{ config, pkgs, inputs,lib, ... }:
{
# Define necessary services
services = {
tor = {
enable = true;
client.dns.enable = true;
settings.DNSPort = [{
addr = "127.0.0.1";
port = 53;
}];
};
resolved = {
#enable = true; # For caching DNS requests
fallbackDns = [ "" ]; # Overwrite compiled-in fallback DNS servers.
};
};
# set hist size to 0 or 5
# https://nixos.wiki/wiki/Encrypted_DNS
networking.nameservers = [ "127.0.0.1" "::1" ];
networking.dhcpcd.extraConfig = "nohook resolv.conf";
networking.networkmanager.dns = "none";
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.yboutros = {
isNormalUser = true;
description = "ynotboutros";
extraGroups = [ "networkmanager" "wheel" "audio" "kvm" "adbusers"];
packages = with pkgs; [
shred
gdb # Debugging binaries
proxychains # Tunneling through proxies such as tor
tor # Dark Net
tor-browser # Dark Net
signal-desktop # Comms
bleachbit # clean up after yourself
qdirstat # File statistics
tree
awscli2
awsls
python311
librewolf # Clearnet browser
electrum # Bitcoin wallet
nmap # Recon for identifying ports to services
dig # Provides records and IPs associated with a hostname
wireshark # Network Analysis tool
zap # Web app vulnerability scanner
metasploit # General framework
bisq-desktop # Decentralized marketplace for buying crypto
element-desktop-wayland # Matrix element comms app
veracrypt # Creates encrypted volumes
];
};
environment.systemPackages = with pkgs; [
ascii # Useful encoding tools
busybox # Useful unix tools
android-tools # ADB, etc...
qFlipper # SDR: Controlling Flipper Zero
gnupg # Encryption tools
torctl # routes all traffic through tor with torctl.sh start
];
}
You must log in or register to comment.