Fixed argument passed to wrong command

This commit is contained in:
David J. Allen 2023-10-03 12:21:52 -06:00
parent 7a99aa5b2d
commit 69374a29e8

View file

@ -17,7 +17,7 @@ function build(){
function scan() { function scan() {
# ./magellan scan --subnet 172.16.0.0 --port 443 # ./magellan scan --subnet 172.16.0.0 --port 443
${EXE} scan --subnet ${SUBNETS} --port ${PORTS} --host ${SMD_HOST} --timeout ${TIMEOUT} --threads ${THREADS} ${EXE} scan --subnet ${SUBNETS} --port ${PORTS} --timeout ${TIMEOUT} --threads ${THREADS}
} }
function list(){ function list(){
@ -27,7 +27,7 @@ function list(){
function collect() { function collect() {
# ./magellan collect --user admin --pass password # ./magellan collect --user admin --pass password
${EXE} collect --user ${USER} --pass ${PASS} --timeout ${TIMEOUT} --threads ${THREADS} ${EXE} collect --user ${USER} --pass ${PASS} --timeout ${TIMEOUT} --threads ${THREADS} --host ${SMD_HOST}
} }