-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syntax error near unexpected token `newline' #64
Comments
Same thing |
Make sure you are downloading the script and not the source for the webpage when you do a 'wget'. I expect you've done this: If you navigate to the file you wish to download insite the github repository, in the top right corner of the source code you will see a button that says "Raw", click on that button and it will take you to a page that has nothing but the source code of the file you were viewing; Using wget on this new web-page will work as you expected it to. So, to get the source code of the LinEnum.sh file, you'd then be running this: I hope this helps anyone else who comes across this issue. |
Understood, thank you.
…On Sat, Mar 4, 2023, 10:39 PM Dalemaunder ***@***.***> wrote:
Make sure you are downloading the script and not the source for the
webpage when you do a 'wget'.
I expect you've done "wget
https://github.com/rebootuser/LinEnum/blob/master/LinEnum.sh"; This will
download a copy of the web-page's source code, not the source code of the
script itself.
If you navigate to the file you wish to download on the github site, in
the top right corner of the source code you will see a button that says
"Raw", click on that button and it will take you to a page that has nothing
but the source code of the file you were viewing; Using wget on this new
web-page will work as you expected it to.
So, to get the source code of the LinEnum.sh file, you'd then be running
"wget
https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh".
I hope this helps anyone else who comes across this issue.
—
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZWKBGM6B6H7RYSK4QP3VGLW2QKGTANCNFSM552PL3HA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I got this error after executing:
""" ./LinEnum.sh: line 8: syntax error near unexpected token `newline' """
""" ./LinEnum.sh: line 8: `' """
The text was updated successfully, but these errors were encountered: