Skip to content

Commit

Permalink
Add netdiscover tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathisca committed Mar 3, 2023
1 parent c57a6aa commit 479f323
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sources/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2782,6 +2782,13 @@ function install_nmap() {
add-test-command "nmap --version"
}

function install_netdiscover() {
colorecho "Installing netdiscover"
fapt netdiscover
add-history netdiscover
add-test-command "netdiscover -h |& grep 'Usage: netdiscover'"
}

function install_php() {
colorecho "Installing php"
fapt php
Expand Down Expand Up @@ -3733,6 +3740,7 @@ function package_network() {
install_hping3 # Discovery tool
install_masscan # Port scanner
install_nmap # Port scanner
install_netdiscover # Active/passive address reconnaissance tool
install_autorecon # External recon tool
install_tcpdump # Capture TCP traffic
install_dnschef # Python DNS server
Expand Down
2 changes: 2 additions & 0 deletions sources/zsh/history.d/netdiscover
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
netdiscover -p
netdiscover -i "$INTERFACE" -r 192.168.1.0/24

0 comments on commit 479f323

Please sign in to comment.