killchain-compendium/reverse_shells/firewalls.md

12 lines
206 B
Markdown
Raw Normal View History

2021-08-23 01:13:54 +02:00
# Firewall Handling
# Windows
```sh
netsh advfirewall firewall add rule name="muka" dir=in action=allow protocol=tcp localport=57869
```
# CentOS
```sh
firewall-cmd --zone=public --add-port=57869/tcp
```