diff options
author | sagishahar <sagishahar@gmail.com> | 2016-01-17 23:04:27 +0800 |
---|---|---|
committer | sagishahar <sagishahar@gmail.com> | 2016-01-17 23:04:27 +0800 |
commit | 3f1dd3450061eece07a18821fbd7ff4f5b3fb907 (patch) | |
tree | 10d361ab02a4d116cf68a78a745a9396de9b11cf /PowerSploit.pssproj | |
parent | 872d4b0eb74072465980567d5cf2cb42fa0283d5 (diff) | |
download | PowerSploit-3f1dd3450061eece07a18821fbd7ff4f5b3fb907.tar.gz PowerSploit-3f1dd3450061eece07a18821fbd7ff4f5b3fb907.zip |
Fix 'Install-ServiceBinary' for non-'Modifiable' files
The 'Install-ServiceBinary' function fails on an edge case where the
service's file permission does not include the 'Modify' permission but
does include the 'Write' permission
(https://technet.microsoft.com/en-au/library/dd349321(v=ws.10).aspx). In
this scenario, renaming the original service file for backup purposes
will result in 'Access Denied' message. Fixing this requires that the
file be copied to service.exe.bak instead of renamed to service.exe.bak.
Diffstat (limited to 'PowerSploit.pssproj')
0 files changed, 0 insertions, 0 deletions