Skip to content

Commit

Permalink
Craft a wifite alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Oct 28, 2024
1 parent ba9bc44 commit fdecbbc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
};

deploy.nodes.nutcracker = {
hostname = "stashy-2.lion-zebra.ts.net";
hostname = "nutcracker.lion-zebra.ts.net";
profiles.system = {
user = "root";
path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.nutcracker;
Expand Down
17 changes: 17 additions & 0 deletions machines/nutcracker/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,22 @@
wifite2
];
};
programs.zsh.shellAliases = {
wifite-preconfig = ''
wifite \
-i $(ls /sys/class/net | grep -vE '^(lo|tailscale0|wlan0)$' | head -n 1) \
-E $(iwgetid -r) \
--wpa \
--no-wps \
--clients-only \
--skip-crack \
--no-pmkid \
--showb \
--allbands \
--wpat 99999 \
--wpadt 90 \
--num-deauths 10
'';
};
};
}

0 comments on commit fdecbbc

Please sign in to comment.