aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/updater/msirunner_windows.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* updater,version: simplify code locationsJason A. Donenfeld2021-01-251-116/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update headersJason A. Donenfeld2020-11-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: allow S-1-5-32-556 users to launch a limited UIJason A. Donenfeld2020-11-221-1/+0
| | | | | | | | | | | | | | | | | I still have serious security reservations about this, both conceptually -- should users be allowed to do this stuff? -- and pratically -- there are issues with this implementation that need some examination. TODO: - Is that registry key a secure path? Should we double check it? - Are we leaking handles to the unpriv'd process from the manager? Audit this too. - IPC notifications are blocking. Should we move this to a go routine to mitigate DoS potential? - Is GOB deserialization secure? Can an NCO user crash or RCE the manager? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: BOOLEAN is a char, whereas BOOL is an intJason A. Donenfeld2020-11-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: SetFileInformationByHandle moved into x/sysJason A. Donenfeld2020-11-171-11/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: handle deletion more smoothlyJason A. Donenfeld2020-11-171-5/+47
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: move configuration to C:\Program Files\WireGuard\DataJason A. Donenfeld2020-11-161-3/+5
| | | | | | It doesn't get wiped out on Windows upgrades. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: use SECURITY_DESCRIPTOR apis from x/sys/windowsJason A. Donenfeld2019-09-231-3/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: use correct length for security attributesJason A. Donenfeld2019-09-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: cleanup TODO comment spacingJason A. Donenfeld2019-06-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: use filepath.Join uniformlyJason A. Donenfeld2019-05-251-5/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: use winpipe instead of winioJason A. Donenfeld2019-05-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: regroup all importsJason A. Donenfeld2019-05-141-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: allow go to create correct environment blockJason A. Donenfeld2019-05-131-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: move into managerJason A. Donenfeld2019-05-061-9/+62
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: use /qb!- instead of /qb-Jason A. Donenfeld2019-05-021-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: don't pass full paths to msiexecJason A. Donenfeld2019-05-011-4/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: stop/uninstall/start all WireGuard servicesJason A. Donenfeld2019-04-301-1/+1
| | | | | | | Also clean up quite a few things. Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: use /qb instead of /quietJason A. Donenfeld2019-04-291-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: add initial skeletonJason A. Donenfeld2019-04-291-0/+32
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>