21y4d/nmapAutomator

Syntax error in expression

Closed this issue · 1 comments

Running Vuln scan on all ports

./newnmapAutomator.sh: line 174: 0:00:00 / 2: syntax error in expression (error token is ":00:00 / 2")
./newnmapAutomator.sh: line 175: 0:00:00 / 2: syntax error in expression (error token is ":00:00 / 2") ] 0% done
./newnmapAutomator.sh: line 174: 0:00:00 / 2: syntax error in expression (error token is ":00:00 / 2")
./newnmapAutomator.sh: line 175: 0:00:00 / 2: syntax error in expression (error token is ":00:00 / 2")
./newnmapAutomator.sh: line 174: 0:00:00 / 2: syntax error in expression (error token is ":00:00 / 2")

21y4d commented

Thanks for reporting this.
This issue happened in rare occasions, and was due to a single character mistake :)

Fixed, and also added a test, so if it happens it'll pass to the next loop instead of erroring.