Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/athena-os/athena-nix
Athena OS Nix configuration files focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!
https://github.com/athena-os/athena-nix
cybersecurity hacking learning linux nix nixos os payload pentesting security security-tools
Last synced: 6 days ago
JSON representation
Athena OS Nix configuration files focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!
- Host: GitHub
- URL: https://github.com/athena-os/athena-nix
- Owner: Athena-OS
- License: mit
- Created: 2023-12-09T19:54:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T13:47:11.000Z (11 days ago)
- Last Synced: 2024-11-02T14:27:36.308Z (11 days ago)
- Topics: cybersecurity, hacking, learning, linux, nix, nixos, os, payload, pentesting, security, security-tools
- Language: Nix
- Homepage: https://athenaos.org
- Size: 240 MB
- Stars: 133
- Watchers: 8
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Dive into a new Pentesting Experience with
Athena OS![image](https://github.com/Athena-OS/athena-nix/assets/83867734/b130dd25-5e7f-4cc8-bc16-6f384b4210f3)
π Born for InfoSec Professionals, Bug Bounty Hunters, Passionate Students and Spicy Hackersπ
π
Download Athena OS Now
π## Athena Nix
Athena Nix currently provides several configurations (still in test):
* **runtime**A configuration can be deployed in several ways:
### Flakes
#### 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 '/.#runtime' --impure
```
`--impure` is used because the deployment can be applied according to your `hardware-configuration.nix`.### Configuration
```
git clone https://github.com/Athena-OS/athena-nix
cd athena-nix
sudo nixos-rebuild switch -I nixos-config=nixos/configuration.nix
```
### Notes
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.