3ndG4me / AutoBlue-MS17-010

This is just an semi-automated fully working, no-bs, non-metasploit version of the public exploit code for MS17-010
MIT License
1.19k stars 311 forks source link

./shell_prep.sh: 18: ./shell_prep.sh: Syntax error: "(" unexpected (expecting "then") #7

Closed Ulykbek closed 5 years ago

Ulykbek commented 6 years ago

./shellprep.sh .-;;-. '-..-'| || | '-..-'|.-;;-.| '-..-'| || | '-..-'|.-''-._| Eternal Blue Windows Shellcode Compiler

Let's compile them windoos shellcodezzz

Compiling x64 kernel shellcode Compiling x86 kernel shellcode kernel shellcode compiled, would you like to auto generate a reverse shell with msfvenom? (Y/n) Y ./shell_prep.sh: 18: ./shell_prep.sh: Syntax error: "(" unexpected (expecting "then")

3ndG4me commented 6 years ago

Can you provide steps to duplicate this issue? For example what's you're environment, shell, and any other useful information?

I am not getting this error on my end, so it's kind of difficult to test for. Any relevant information that you can provide would be great!

B0y1n4o4 commented 5 years ago

Can you provide steps to duplicate this issue? For example what's you're environment, shell, and any other useful information?

I am not getting this error on my end, so it's kind of difficult to test for. Any relevant information that you can provide would be great!

zsh will have this problem....

3ndG4me commented 5 years ago

Closing this as no response has been given and may be the result of using a shell other than bash. Currently the automated shell scripts only support bash, so even if your environment is bash compatible (like zsh) it is not technically supported. If you run into further errors try running the scripts with bash by using bash <scriptname>.sh