Age | Commit message (Collapse) | Author | Files | Lines |
|
Adding in Get-LoggedOnLocal which uses HKU registry checks to see who
is logged locally to a remote box and only requires user level access
rights. The benefit over NetWkstaUserEnum is less user privileges
required (admin for NetWkstaUserEnum) and is the same process
PSLoggedOn uses.
Invoke-PSLoggedOn launches both Get-LoggedOnLocal and Get-NetSessions
and outputs the same format as PSLoggedOn.exe from Sysinternals.
I did not change Invoke-UserHunter non-stealth to this option yet, but
it is beneficial in that if you use both HKU and NetSessionEnum you
only require basic user level rights not admin remote.
|
|
|
|
types not currently handled.
|
|
Added Convert-DNSRecord (ported from Michael B. Smith's code at https://raw.githubusercontent.com/mmessano/PowerShell/master/dns-dump.ps1) - needs expansion work on record types
|
|
|
|
|
|
Added dispose() approach for the following cmdlets:
Get-NetUser, Get-ObjectAcl/Add-ObjectAcl, Get-GUIDMap, Get-NetComputer, Get-ADObject, Get-NetOU, Get-NetSite, Get-NetSubnet, Get-NetGroup, Get-NetGroupMember, Get-DFSshare, Get-NetGPO, Get-NetDomainTrust
|
|
//Group -> //Groups
|
|
Change ComputerName default to the computer's name
|
|
Change ComputerName default so Disabled doesn't report error
|
|
Find-PathHijack: Expand environment variables in path
|
|
|
|
Paths containing environment variables can cause false-positives to occur, e.g. `%SystemRoot%\system32\WindowsPowerShell\v1.0\`. `Find-PathHijack` will believe this is a relative path and will report it as hijackable if the current directory is writeable.
|
|
|
|
Added -ComputerName parameter to Get-NetGPO to enumerate all GPOs a given computer has applied
Fixed bug in Find-GPOComputerAdmin and added site enumeration for GPO links
|
|
|
|
Added Pester tests for Get-System
|
|
|
|
Parse DFSv1 PKT
|
|
Get-TimedScreenshot now captures the entire screen. The screen
resolution is obtained via WMI. If for some reason that fails, it will
fall back to the old, less ideal method.
|
|
Fixed the PSv4 dependency for obtaining process ownership information.
Thanks to @mmashwani for suggesting the WMI solution.
|
|
samaccounttype enumeration now more accurate.
|
|
|
|
|
|
Combined Convert-NT4toCanonical and Convert-DomainSimpletoNT4 into Convert-ADName
|
|
|
|
|
|
|
|
|
|
the -API flag
Fixed threading specification in most threaded functions.
|
|
|
|
|
|
|
|
Sites returned)
-Find-GPOLocation with no arguments now returns all mappings
-fixed parsing issue in Get-NetGPOGroup- names now properly extracted from restricted group templates
|
|
Encrypted password check for Get-SiteListPassword fields
|
|
|
|
|
|
querying from non-domain joined machines without a runas
Changed several functions to filters, where appropriate.
Get-NetShare, Get-NetSession, Get-NetLoggedOn, Get-NetRDPSession, Invoke-CheckLocalAdminAccess, Get-LastLoggedOn, Get-CachedRDPConnection, Get-NetProcess are now filters, better handle pipeline input, and now return an augmented result object with the queried ComputerName as a field
Replaced RemoteUserName/RemotePassword with -Credential parameter in Get-CachedRDPConnection and Get-NetProcess
modified output object for Get-NetShare to be a proper object
Various bug fixes and better parameter validation
|
|
Fix 'Install-ServiceBinary' for non-'Modifiable' files
|
|
Add 'CanRestart' to output and Pester tests
|
|
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.
|
|
new Get-Keystrokes
|
|
|
|
|
|
|
|
|
|
|
|
Merging Invoke-TokenManipulation fix into dev
|
|
Don't search for SYSTEM token by using hard coded English name
|
|
account. Translate SYSTEM SID to NTAccount to maintain compatibility across languages.
|