We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Spaces in arguments parsed as part of execute-assembly don't seem to be parsed correctly.
execute-assembly
To Reproduce (SharpPersis.exe is just an example, same issue with other assemblies)
SharpPersis.exe
Steps to reproduce the behavior:
'My Scheduled Task'
sliver (MINIMAL_BIKE) > execute-assembly -i -M /home/user/tools/SharPersist.exe '' -t schtask -m add -a logon -n \"My Scheduled Task\" -c \"C:\\Program Files (x86)\\Program1\\implant.exe\" [...SharpPersist error here due to the spaces in 'My Scheduled Task'...]
sliver (MINIMAL_BIKE) > execute-assembly -i -M /home/user/tools/SharPersist.exe '' -t schtask -m add -a logon -n \" MyScheduledTask\" -c \"C:\\Program Files (x86)\\Program1\\implant.exe\" [*] Output: [*] INFO: Adding scheduled task persistence [*] INFO: Command: "C:\Program [*] INFO: Command Args: logon [*] INFO: Scheduled Task Name: "MyScheduledTask" [*] INFO: Option: the MethodInfo::Invoke_3 method returned an error: The specified resource type cannot be found in the image file.
[*] INFO: Command: "C:\Program
C:\\Program Files (x86)\\Program1\\implant.exe
Expected behavior
Sliver Version
The text was updated successfully, but these errors were encountered:
I used a path that does not contain spaces and still couldn't create a scheduled task. Are you able to create it without spaces?
Sorry, something went wrong.
That's a bug. I fixed it in v1.6 but there has not been a backport to v1.5-master yet.
v1.6
v1.5-master
No branches or pull requests
Describe the bug
Spaces in arguments parsed as part of
execute-assembly
don't seem to be parsed correctly.To Reproduce
(
SharpPersis.exe
is just an example, same issue with other assemblies)Steps to reproduce the behavior:
execute-assembly
'My Scheduled Task'
do not get parsed properly[*] INFO: Command: "C:\Program
that it did not like the space in "C:\\Program Files (x86)\\Program1\\implant.exe
"Expected behavior
execute-assembly
Sliver Version
The text was updated successfully, but these errors were encountered: