mirror of
https://github.com/Aryma-f4/Ares-mythic.git
synced 2026-06-12 15:34:12 +00:00
first commit
This commit is contained in:
38
documentation-payload/apollo/commands/netstat.md
Normal file
38
documentation-payload/apollo/commands/netstat.md
Normal file
@@ -0,0 +1,38 @@
|
||||
+++
|
||||
title = "netstat"
|
||||
chapter = false
|
||||
weight = 103
|
||||
hidden = false
|
||||
+++
|
||||
|
||||
## Summary
|
||||
Task an agent to retrieve network connections.
|
||||
|
||||
### Arguments
|
||||
|
||||
The `netstat`has multiple boolean flags to filter what data gets returned.
|
||||
|
||||
- `-Tcp`
|
||||
- `-Udp`
|
||||
- `-Listen`
|
||||
- `-Established`
|
||||
|
||||
#### Tcp (optional)
|
||||
Only return TCP results.
|
||||
|
||||
#### Udp (optional)
|
||||
Only return UDP results.
|
||||
|
||||
#### Listen (optional)
|
||||
Only return results that have a TCP state of `Listen`.
|
||||
|
||||
#### Established (optional)
|
||||
Only return results that have a TCP state of `Established`.
|
||||
|
||||
## Usage
|
||||
```
|
||||
netstat
|
||||
```
|
||||
|
||||
## Detailed Summary
|
||||
The `netstat` command uses the Win32 API calling `GetExtendedTcpTable` and `GetExtendedUdpTable` from `iphlpapi.dll` to retrieve netstat.
|
||||
Reference in New Issue
Block a user