Skip to content
forked from Athena-OS/athena

Athena OS is a NixOS-based distro focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!

License

Notifications You must be signed in to change notification settings

octodi/athena-nix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dive into a new Pentesting Experience with
Athena OS

Download Athena OS

image

🏅Born for InfoSec Professionals, Bug Bounty Hunters, Passionate Students and Spicy Hackers🏅

Athena Nix

Athena Nix currently provides several configurations (still in test):

  • runtime

A configuration can be deployed in several ways:

Remote

sudo nixos-rebuild switch --flake 'github:Athena-OS/athena-nix#runtime' --impure

Local

Running command inside athena-nix directory:

git clone https://github.com/Athena-OS/athena-nix
cd athena-nix
sudo nixos-rebuild switch --flake '.#runtime' --impure

Running command outside athena-nix directory:

sudo nixos-rebuild switch --flake '<local-path-to-dir-containing-flake.nix>/.#runtime' --impure

--impure is used because the deployment can be applied according to your hardware-configuration.nix.

The default user and password in the configuration is athena:athena. Be sure to change user and password inside athena-nix/flake.nix file by editing username and hashed (or hashedRoot for your root account) attributes according to your needs when you deploy this configuration.

Passwords must be set as hash (i.e., SHA-512) instead of cleartext. To create it in a secure way run:

nix-shell -p openssl
openssl passwd -6 yourpassword

Finally, paste the generated hash in hashed or hashedRoot inside flake.nix.

The usage of nix-shell is important to create the password in an ephimeral environment, in order to not keep the command history stored in the system.

About

Athena OS is a NixOS-based distro focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 69.7%
  • Lua 16.9%
  • Shell 10.2%
  • CSS 1.2%
  • Scheme 1.0%
  • SCSS 0.9%
  • PowerShell 0.1%