GithubHelp home page GithubHelp logo

wiki-nixos / athena-nix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from athena-os/athena-nix

0.0 0.0 0.0 246.04 MB

Athena OS Nix configuration files focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!

Home Page: https://athenaos.org

License: MIT License

Shell 10.00% Scheme 1.03% Lua 16.58% PowerShell 0.07% CSS 1.21% Nix 70.24% SCSS 0.87%

athena-nix's Introduction

Dive into a new Pentesting Experience with
Athena OS

Download Athena OS Download Athena OS

image

๐Ÿ…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.

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.

athena-nix's People

Contributors

d3vil0p3r avatar m15a avatar pinpox avatar akechishiro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.