-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Payload BUG] Unexpected Symbol #455
Comments
It seems there is a additional duplicate line, remove the last line @LulzAnarchyAnon Seems there is a extra line left in your payload. |
Thanks. I get this on the PS window PS C:\WINDOWS\system32> $Username = @admin2@
Unrecognized token in source text.
Unexpected token '@' in expression or statement.
The splatting operator '@' cannot be used to reference variables in an expression. '@admin2' can be used only as an PS C:\WINDOWS\system32> $Password = @password
The splatting operator '@' cannot be used to reference variables in an expression. '@password' can be used only as an PS C:\WINDOWS\system32> $group = @Administrators@ |
Thank You for letting me know I suspect it would be a copy paste issue that caused it to happen.... |
Exactly the same happens if I download the script and import it. No copy/paste |
My apologies, what I meant by copy/paste was. When I copied, and pasted it myself from my other repository. |
@LulzAnarchyAnon there was a typo on the first line for |
Thank You! I noticed.
…On Mon, Jun 10, 2024, 8:59 AM Peaks ***@***.***> wrote:
@LulzAnarchyAnon <https://github.com/LulzAnarchyAnon> there was a typo on
the first line for REM on your pull, I went and fixed it since it was
just missing a single letter.
—
Reply to this email directly, view it on GitHub
<#455 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY7QUUGMTY4GBGGOCNGHBMDZGXEMTAVCNFSM6AAAAABJCQBCBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYG42DQNRVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I believe this issue is resolved now? just want to confirm. |
I myself found the issue resolved, and with current delays it deployed and
completed in 36.9 seconds
…On Mon, Jun 10, 2024, 9:03 AM Peaks ***@***.***> wrote:
I believe this issue is resolved now? just want to confirm.
—
Reply to this email directly, view it on GitHub
<#455 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY7QUUEGTFBRZBSJIGTJC43ZGXE4LAVCNFSM6AAAAABJCQBCBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYG43DANBYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Payload Title
Add Local Admin
Payload URL
payloads/library/execution/Add_Local_Admin/payload.txt
Payload Setup
Copied the script from the above repo
Pasted it into the Payload Studio Community Edition
Clicked 'Generate Payload'
Error message:
Error on Line 72: Error: Unexpected Symbol: [ADSI]"WinNT:
Error on Line 73: Error: Result inject.bin is empty
[!] Payload Failed to Compile
Problem Description
I copied the script and expected it to work.
Troubleshooting steps
Deleted the entire script from Payload Studio and re-copied / pasted it and tried again.
Same problem
Suspected Cause
No response
Screenshots or additional information
No response
Checklist ✅ - READ CAREFULLY
Agreement
The text was updated successfully, but these errors were encountered: