screetsec/Dracnmap

Dracnmap.sh: 120: Dracnmap.sh: Syntax error: "(" unexpected

watchix opened this issue · 4 comments

I've just cloned from GIT, chmod +x Dracnmap.sh, runed it as root and get this error :

-e \e[0;36m
.-._______________.-.
___ .' .-----. |======+----------------+
/
.
/ ( | /
| | OOO |
/ ' _ / | BOOOMM !!!!!! |
|
.( \ |
_______|
.' @-.
///
.' |===
/ /
/ |
| '
| \
-.
./

-e \e[1;32m-- -- +=[(c) 2016-2017 | dracos-linux.org | Linuxsec.org | Pentester Indonesia
-e \e[0;36m-- -- +=[ Author: Screetsec < Edo Maland > ]=+ -- --
-e
[!]::[Check Dependencies]:
[✔]::[Check User]: root
[✔]::[Internet Connection]: connected!
[✔]::[ Nmap ]: installation found!
Dracnmap.sh: 120: Dracnmap.sh: Syntax error: "(" unexpected

Is there any way in Mac Terminal to get it to parse the colors? My understanding is that Bash 3.2 thats included does not support \e but I also tried replacing with \33 however it still does not render the color codes.

@carlfugate @watchix try the latest commit, or change it by your self /bin/bash to #!/usr/bin/env bash

I had already tried changing the shell directly to /bin/bash without
success and also tried calling it directly with bash. Ill pull the new
commit and try again.

On Thu, Oct 13, 2016 at 2:35 PM, nullrndtx notifications@github.com wrote:

@carlfugate https://github.com/carlfugate @watchix
https://github.com/watchix try the latest commit, or change it by your
self /bin/bash to #!/usr/bin/env bash


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT8aiVJ0ZTL6kl0KC7KrfP6RJZoh2Ob-ks5qzofvgaJpZM4KWFBg
.