dotar/zsh/network-tools.zsh

6 lines
121 B
Bash
Raw Normal View History

2022-04-30 11:30:15 +08:00
alias intercept_request_hosts="sudo tcpdump -i any -A -vv -s 0 | grep -e 'Host:'"
test_port() {
nc -z localhost $1
}