21y4d / nmapAutomator

A script that you can run in the background!
MIT License
2.67k stars 790 forks source link

Syntax error in expression #35

Closed 11nf0s3c closed 3 years ago

11nf0s3c commented 3 years ago

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 3 years ago

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.