You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-13Lines changed: 32 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,20 @@
6
6
7
7
# Nix 4 cyber 🛡️
8
8
9
-
**Nix 4 Cyber** (or n4c) is a framework that uses the **Nix package manager** to provide reproducible cybersecurity **toolkits**. The project is organized into categories (e.g., OSINT, Web, Networking), each with a shell.nix file that defines its specific software environment.
9
+
**Nix 4 Cyber** (or n4c) is a framework that uses the **Nix package manager** to
10
+
provide reproducible cybersecurity **toolkits**. The project is organized into
11
+
categories (e.g., OSINT, Web, Networking), each with a shell.nix file that
12
+
defines its specific software environment.
10
13
11
-
This approach ensures that all dependencies are isolated and consistent, allowing users to perform security tasks with a predictable set of tools. The official documentation, including a full tool list and **usage examples**, is available at [n4c.hadi.diy](https://n4c.hadi.diy).
14
+
This approach ensures that all dependencies are isolated and consistent,
15
+
allowing users to perform security tasks with a predictable set of tools. The
16
+
official documentation, including a full tool list and **usage examples**, is
17
+
available at [n4c.hadi.diy](https://n4c.hadi.diy).
12
18
13
19
## 🚀 Usage
14
20
15
-
To use Nix 4 cyber, you need to have Nix installed on your system. You can then start the shell with the following command:
21
+
To use Nix 4 cyber, you need to have Nix installed on your system. You can then
Here are the currently available environments, each providing a curated set of tools for its specific domain:
36
+
Here are the currently available environments, each providing a curated set of
37
+
tools for its specific domain:
30
38
31
39
### 🕸️ Web (web)
32
40
33
-
For web application penetration testing, including directory busting, spidering, and vulnerability analysis.
41
+
For web application penetration testing, including directory busting, spidering,
42
+
and vulnerability analysis.
34
43
[See tools and guides →](https://n4c.hadi.diy/web/)
35
44
36
45
### 🕵️ OSINT (osint)
37
46
38
-
A collection of tools for Open Source Intelligence gathering from public sources.
39
-
[See tools and guides →](https://n4c.hadi.diy/osint/)
47
+
A collection of tools for Open Source Intelligence gathering from public
48
+
sources. [See tools and guides →](https://n4c.hadi.diy/osint/)
40
49
41
50
### 🌐 Network (network)
42
51
@@ -50,8 +59,8 @@ Tools focused on password and hash cracking.
50
59
51
60
### 👑 Privilege Escalation (privesc)
52
61
53
-
Scripts and tools to help with enumerating and exploiting privilege escalation vectors.
54
-
[See tools and guides →](https://n4c.hadi.diy/privesc/)
62
+
Scripts and tools to help with enumerating and exploiting privilege escalation
63
+
vectors. [See tools and guides →](https://n4c.hadi.diy/privesc/)
55
64
56
65
### 🔍 Forensics (forensics)
57
66
@@ -74,8 +83,11 @@ Add the following in your shell config:
74
83
75
84
```bash
76
85
functionn4c() {
86
+
category=${1:-all}
87
+
shift
88
+
args=${*}
89
+
nix develop "github:nix4cyber/n4c#${category}"${args}# -c zsh # Escape the $ with ''$ in nix
77
90
# mkdir -p /tmp/$(date +"%d%m%y") && cd /tmp/$(date +"%d%m%y") # To create a temporary directory
78
-
nix develop --refresh "github:nix4cyber/n4c#${1:-all}"# -c zsh # Escape the $ with ''$ in nix
79
91
}
80
92
```
81
93
@@ -87,8 +99,15 @@ n4c <category>
87
99
88
100
## ⚖️ Disclaimer
89
101
90
-
Nix 4 Cyber is intended solely for lawful, ethical, and educational purposes. It is designed to assist cybersecurity professionals, researchers, and students in conducting authorized security assessments, penetration testing, and digital forensics within environments where they have explicit permission to operate.
102
+
Nix 4 Cyber is intended solely for lawful, ethical, and educational purposes. It
103
+
is designed to assist cybersecurity professionals, researchers, and students in
104
+
conducting authorized security assessments, penetration testing, and digital
105
+
forensics within environments where they have explicit permission to operate.
91
106
92
-
By using this project, you agree to comply with all applicable laws and regulations. The maintainers of Nix 4 Cyber are not responsible for any misuse of the tools or scripts provided. Unauthorized or malicious use of this project is strictly prohibited and may violate local, national, or international laws.
107
+
By using this project, you agree to comply with all applicable laws and
108
+
regulations. The maintainers of Nix 4 Cyber are not responsible for any misuse
109
+
of the tools or scripts provided. Unauthorized or malicious use of this project
110
+
is strictly prohibited and may violate local, national, or international laws.
93
111
94
-
Use responsibly. Always obtain proper authorization before conducting any security testing.
112
+
Use responsibly. Always obtain proper authorization before conducting any
0 commit comments