Usage Tips:
- Click on a keyword to enable inline editing.
- Click inside a code block to copy (excludes comments).
- Use the button to view examples.
- Click outside to collapse all examples.
knockd config location
# Find knock sequence
cat /etc/knockd.conf
Sample Output:
TO-DO
# For example, sequence = 123, 456, 789
for i in 123 456 789; do nmap -Pn --host-timeout 100 --max-retries 0 -p $i <TARGET> >/dev/null; done; ssh -i id_rsa <USER>@<TARGET>
Sample Output:
TO-DO
# UDP port knocking
for i in 123 456 789; do sudo nmap -Pn -sU --host-timeout 100 --max-retries 0 -p $i <TARGET> >/dev/null; done; ssh -i id_rsa <USER>@<TARGET>
Sample Output:
TO-DO