 7b0156775c
			
		
	
	
		7b0156775c
		
			
		
	
	
	
	
		
			
			ADDED: * Convenience functions to determine if a process is running in an elevated/dropped privileges context
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| - refactor the elevation detection stuff. I'm not terribly happy with it.
 | |
| 
 | |
| - password generator utility/library
 | |
| -- incorporate with r00t2.io/pwgen
 | |
| -- incorporate with https://github.com/tredoe/osutil ?
 | |
| -- cli flag to dump flat hashes too (https://github.com/hlandau/passlib and others soon in pwgen)
 | |
| 
 | |
| - auger needs to be build-constrained to linux.
 | |
| 
 | |
| - unit tests
 | |
| 
 | |
| - constants/vars for errors
 | |
| 
 | |
| - func and struct to return segregated system-level env vars vs. user env vars (mostly usable on windows) (see envs/.TODO.go.UNFINISHED)
 | |
| -- https://www3.ntu.edu.sg/home/ehchua/programming/howto/Environment_Variables.html
 | |
| -- windows:
 | |
| --- https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-recognized-environment-variables
 | |
| --- https://pureinfotech.com/list-environment-variables-windows-10/
 | |
| --- https://gist.github.com/RebeccaWhit3/5dad8627b8227142e1bea432db3f8824
 | |
| --- https://ss64.com/nt/syntax-variables.html
 | |
| -- linux/XDG:
 | |
| --- https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
 | |
| --- https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
 | |
| -- macOS:
 | |
| --- https://ss64.com/osx/syntax-env_vars.html
 | |
| 
 | |
| - validator for windows usernames, domains, etc. (for *NIX, https://unix.stackexchange.com/a/435120/284004)
 | |
| -- https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/naming-conventions-for-computer-domain-site-ou
 | |
| -- https://support.microsoft.com/en-us/topic/2dc5c4b9-0881-2e0a-48df-f120493a2d3e
 | |
| -- https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/-2000-server/cc959336(v=technet.10)?redirectedfrom=MSDN
 | |
| -- https://stackoverflow.com/questions/33078854/what-is-the-regex-for-windows-domain-username-in-c
 | |
| 
 | |
| - finish net
 |