Refactor Network
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
francesco 2021-05-24 15:39:23 +02:00
parent 3a1fbb5b80
commit 9aab550a91
3 changed files with 27 additions and 6 deletions

View File

@ -1,9 +1,7 @@
# Network
## Netcat
# Netcat
Manual `man nc`
### Port Scanning
## Port Scanning
scan a single port
```bash
nc -v -w 2 z 192.168.56.1 22
@ -19,7 +17,7 @@ scan range of ports
nc -v -w 2 z 192.168.56.1 20-25
```
### Find a Service Running on Port
## Find a Service Running on Port
```bash
nc -v -n 192.168.56.110 80
```

21
docs/windows_pw.md Normal file
View File

@ -0,0 +1,21 @@
# Windows Powershell
## Test NetConnection
From Module [NetTCPIP](https://docs.microsoft.com/en-us/powershell/module/nettcpip/?view=windowsserver2019-ps)
[Windows Documentation](https://docs.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=windowsserver2019-ps)
```powershell
Test-NetConnection
[[-ComputerName] <String>]
-Port <Int32>
[-InformationLevel <String>]
[<CommonParameters>]
```
Example
```powershell
Test-NetConnection -ComputerName 192.168.1.123 -Port 3389
```

View File

@ -15,4 +15,6 @@ nav:
- CD: cd.md
- Docker: docker.md
- Linux: linux.md
- Network: network.md
- Network:
- Netcat: netcat.md
- Windows PS: windows_pw.md