21y4d / nmapAutomator

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

Unable to run nmapAutomator due to some config issues. #56

Closed jain6196 closed 3 years ago

jain6196 commented 3 years ago

I am using Mac (macOS Big Sur 11.4) and unable to run the nmapAutomator script. Kindly find the below mentioned output when I run the script.

Running a Script scan on 10.10.10.134

Host is likely running Windows

---------------------Starting Port Scan-----------------------

sed: 1: "/elapsed/{s/.undergoin ...": bad flag in substitute command: '}' sed: 1: "/% done/{s/.About (. ...": bad flag in substitute command: '}' sed: 1: "/elapsed/{s/Stats: (. ...": bad flag in substitute command: '}' sed: 1: "/remaining/{s/. ((.\ ...": bad flag in substitute command: '}' sed: 1: "/elapsed/{s/.undergoin ...": bad flag in substitute command: '}' sed: 1: "/% done/{s/.About (. ...": bad flag in substitute command: '}' ] 0% done
sed: 1: "/elapsed/{s/Stats: (.
...": bad flag in substitute command: '}' sed: 1: "/remaining/{s/. ((.\ ...": bad flag in substitute command: '}' sed: 1: "/elapsed/{s/.undergoin ...": bad flag in substitute command: '}' sed: 1: "/% done/{s/.About (. ...": bad flag in substitute command: '}' ] 0% done
sed: 1: "/elapsed/{s/Stats: (.
...": bad flag in substitute command: '}' sed: 1: "/remaining/{s/. ((.\ ...": bad flag in substitute command: '}' sed: 1: "/elapsed/{s/.undergoin ...": bad flag in substitute command: '}' sed: 1: "/% done/{s/.About (. ...": bad flag in substitute command: '}' ] 0% done
sed: 1: "/elapsed/{s/Stats: (.
...": bad flag in substitute command: '}' sed: 1: "/remaining/{s/. ((.\ ...": bad flag in substitute command: '}' sed: 1: "/elapsed/{s/.undergoin ...": bad flag in substitute command: '}' sed: 1: "/% done/{s/.About (. ...": bad flag in substitute command: '}' ] 0% done
sed: 1: "/elapsed/{s/Stats: (.
...": bad flag in substitute command: '}' sed: 1: "/remaining/{s/. ((.\ ...": bad flag in substitute command: '}' sed: 1: "/elapsed/{s/.undergoin ...": bad flag in substitute command: '}' sed: 1: "/% done/{s/.About (. ...": bad flag in substitute command: '}' ] 0% done
sed: 1: "/elapsed/{s/Stats: (.
...": bad flag in substitute command: '}' sed: 1: "/remaining/{s/. ((.\ ...": bad flag in substitute command: '}' In progress: No Scan (0:00:00 elapsed - 0:00:00 remaining)

Please do let me know what can be done to resolve this issue

21y4d commented 3 years ago

Thanks for the report. It looks like sed has different syntax on a Mac, hence it's breaking. This is probably the case with several other tools as well, as the syntax is not universal.

Currently macOS is not supported, and we'll have to test all tools and provide their appropriate syntax when running on a Mac.

jain6196 commented 3 years ago

Thank you for your response.