Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
R00tS3c
GitHub Repository: R00tS3c/DDOS-RootSec
Path: blob/master/HOW TO USE/LAYER4 AND LAYER7 SCRIPTS.txt
5037 views
1
-------------------------------------------
2
You build Layer4 scripts with next command:
3
4
gcc script.c -o script -pthread
5
-------------------------------------------
6
For Layer7 scripts
7
8
You need to install Node.js if its script.js else if its Python - Python is by default installed
9
Installing node.js
10
11
Debian/Ubuntu:
12
apt install nodejs
13
apt install npm
14
15
CentOS:
16
yum install --assumeyes epel-release
17
yum install --assumeyes nodejs
18
19
Running:
20
21
1. Do command "node script.js"
22
2. After that u will see error for missing package
23
3. Than do "npm install package-name" do that for every next error
24
4. If you installed all packages needed "node script.js"
25
-------------------------------------------
26
Python Layer7 scripts its same like in upper step see what packages are mising and install
27
just instead node you will write "python script.py" and "pip install package-name" or "pip3 install package-name"
28
29