Nmap... working?
This commit is contained in:
10
README.md
10
README.md
@@ -65,6 +65,16 @@ The script will start a continuous monitoring loop. Every 5 minutes, it will:
|
||||
|
||||
The script will print its status and any detected anomalies to the console.
|
||||
|
||||
### Nmap Scans
|
||||
|
||||
The agent uses `nmap` to scan the network for open ports. By default, it uses a TCP SYN scan (`-sS`), which requires root privileges. If the script is not run as root, it will fall back to a TCP connect scan (`-sT`), which does not require root privileges but is slower and more likely to be detected.
|
||||
|
||||
To run the agent with root privileges, use the `sudo` command:
|
||||
|
||||
```bash
|
||||
sudo python monitor_agent.py
|
||||
```
|
||||
|
||||
## 4. Features
|
||||
|
||||
### Priority System
|
||||
|
||||
Reference in New Issue
Block a user