Files
knock-gui/rust-knocker/examples/config.yaml

50 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Пример конфигурации для Rust Knocker
# Совместим с Go knocker конфигурацией
targets:
# Простая цель - один порт
- host: 192.168.1.1
ports: [22]
protocol: tcp
delay: 1s
wait_connection: false
# Несколько портов подряд
- host: 192.168.1.10
ports: [22, 80, 443]
protocol: tcp
delay: 2s
wait_connection: true
# UDP порт
- host: 10.0.0.1
ports: [53]
protocol: udp
delay: 500ms
# С gateway (привязка к интерфейсу)
- host: 192.168.89.1
ports: [2655]
protocol: tcp
delay: 1s
gateway: enp1s0 # имя интерфейса
# С gateway (привязка к IP)
- host: 8.8.8.8
ports: [53]
protocol: udp
delay: 1s
gateway: 192.168.1.100 # локальный IP
# Пасхалка - покажет шутку
- host: 1.1.1.1
ports: [1111]
protocol: tcp
delay: 1s
# Ещё одна пасхалка
- host: 8.8.8.8
ports: [8888]
protocol: tcp
delay: 1s