Athena-OS/athena-nix
소개
Athena OS Nix configuration files focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!
보안측정된 스타 증가
- in 24h
- +3
- in 7 days
- +4
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Dive into a new Pentesting Experience with
Athena OS
🏅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 '<local-path-to-dir-containing-flake.nix>/.#runtime' --impure
--impure is used because the deployment can be applied according to your hardware-configuration.nix.
Update
Flakes are updated separetely from Nix channels, so, in order to keep them aligned with the latest changes on Nix repositories, it's needed to clone this repository, run:
sudo nix flake update
and push the changes.
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.
관련 프로젝트 살펴보기
불러오는 중…