Downloads:

6,803

Downloads of v 2.11.0:

1,192

Last Update:

08 Jul 2019

Package Maintainer(s):

Software Author(s):

  • Cory Plotts
  • Bastian Schmidt

Tags:

snoop spy wpf

Snoop

2.11.0 | Updated: 08 Jul 2019

Downloads:

6,803

Downloads of v 2.11.0:

1,192

Maintainer(s):

Software Author(s):

  • Cory Plotts
  • Bastian Schmidt

Tags:

snoop spy wpf

Snoop 2.11.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Snoop, run the following command from the command line or from PowerShell:

>

To upgrade Snoop, run the following command from the command line or from PowerShell:

>

To uninstall Snoop, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade snoop -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade snoop -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure snoop installed
  win_chocolatey:
    name: snoop
    state: present
    version: 2.11.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'snoop' do
  action    :install
  version  '2.11.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: snoop,
    Version: 2.11.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller snoop
{
   Name     = 'snoop'
   Ensure   = 'Present'
   Version  = '2.11.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'snoop':
  provider => 'chocolatey',
  ensure   => '2.11.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install snoop version="2.11.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 09 Nov 2019.

Description

Snoop allows you to spy/browse the visual tree of a running WPF application (without the need for a debugger) ... and change properties ... amongst other things.
A changelog can be found at https://github.com/snoopwpf/snoopwpf/blob/master/Changelog.md.


tools\chocolateyInstall.ps1
# Create a desktop link to snoop executable
$parentfolder = Split-Path -parent $MyInvocation.MyCommand.Definition
$target = Join-Path $parentfolder 'snoop.exe'

$desktopPath = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::Desktop)
$shortcutFilePath = Join-Path $desktopPath "Snoop.lnk"
Install-ChocolateyShortcut -ShortcutFilePath $shortcutFilePath -TargetPath $target
tools\chocolateyUninstall.ps1
$desktopPath = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::DesktopDirectory))
$shortcutFilePath = Join-Path $desktopPath "Snoop.lnk"

if (Test-Path($shortcutFilePath)) {
	Remove-Item $shortcutFilePath -ErrorAction SilentlyContinue
}
tools\License.txt
Microsoft Public License (Ms-PL)

This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.

1. Definitions

The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.

A "contribution" is the original software, or any additions or changes to the software.

A "contributor" is any person that distributes its contribution under this license.

"Licensed patents" are a contributor's patent claims that read directly on its contribution.

2. Grant of Rights

(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.

(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.

3. Conditions and Limitations

(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.

(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.

(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.

(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.

(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
tools\ManagedInjector32-4.0.dll
md5: 63E5447E324500C17D58CD3C3EEE8987 | sha1: C18CAB66280A410AB773D5BF124B9B5CF468A095 | sha256: 977FC06885F923031BBF2B85E68304E640AC0B1467C65B809CCDEE2474232AE6 | sha512: D1831656EE0732D7B3EFEFF1C73D4374C6BF56C85444880797A17C73DAA42EB0C462B9CCE785B2410E274B032D16C8812C93D30B905F515890A80B4D81170D15
tools\ManagedInjector32-4.0.pdb
 
tools\ManagedInjector64-4.0.dll
md5: 9E3861ED9B4C756E65614145AC5C14F0 | sha1: A2FF888711FCE80001AECF3FA61308381BED1C30 | sha256: 84D982EBDAAE418B43994FADC75C6801AA1ADEA0EF71871683511CB2ABA4FEB8 | sha512: B21133321FAE8BB20B925C3FE331726FA80185FD83862FAC9ED24DE872578CBAE794D470860E1F86380865F26B0C334EEC97BBC30E628BA1B4B442422E5361A5
tools\ManagedInjector64-4.0.pdb
 
tools\ManagedInjectorLauncher32-4.0.exe
md5: 4B5205F047266931419F6F48C89BE26F | sha1: EBC1090A76D759BEB7B1DF94268E5E981A656E18 | sha256: 5AF62ACFB44E12FBF2213ED12292499D7C1FCF1B41AA675993E01F8C51AEA528 | sha512: 8AF0DA90C9FD72B8CB5ED2584466D16A04CA09E93F1ADB549752B2C9EDEC3F6A63068E9B9011BF563D0D69DB9AB26DB1ABE8DEF46938AC6162239C0374C162FA
tools\ManagedInjectorLauncher32-4.0.exe.ignore
 
tools\ManagedInjectorLauncher32-4.0.pdb
 
tools\ManagedInjectorLauncher64-4.0.exe
md5: 1852FC21512AD17A36748006325B0501 | sha1: 49932FB05C630BA85CDCA7C74DFCFCF6A1A1BCF3 | sha256: ED9B1F77EB3A3716E32A8A26B99523219D1F0DFF41B90924344F9779F7A646B5 | sha512: 666361ADE5A425930AF9C77380DAE6B72FF3A91B29FD0F8905628C0CD68C794DCE9BDBF9AB4B14CCE59B9463935D9ED60F575D9B5E67F44C1F6FB834401EFECC
tools\ManagedInjectorLauncher64-4.0.exe.ignore
 
tools\ManagedInjectorLauncher64-4.0.pdb
 
tools\Scripts\Snoop.psm1
function Get-AllItems {
	function Drill($item) {
		foreach ($child in $item.Children) {
			Drill $child
		}
		$item
	}
	Drill $root
}

function Find-By {
<#
.SYNOPSIS
	Recursively finds an element contained in the visual tree matched using a predicate.
.PARAMETER predicate
	The script block which filters on items.
.PARAMETER select
	If enabled, selects the first match.
#>
	param([parameter(mandatory=$true)] [scriptblock] $predicate, [switch] $select)
	foreach ($i in (Get-AllItems | ? $predicate)) {
		$i
		if ($select) {
			$i.IsSelected = $true
			break
		}
	}
}

function Find-ByName {
<#
.SYNOPSIS
	Recursively finds an element contained in the visual tree matched by name.
.PARAMETER name
	The regular expression to match on the element's x:Name.
.PARAMETER select
	If enabled, selects the first match.
#>
	param([parameter(mandatory=$true)] [string] $name, [switch] $select)
	Find-By { $_.Target.Name -match $name } -select:$select
}

<#
.SYNOPSIS
	Recursively finds an element contained in the visual tree matched by name.
.PARAMETER type
	The regular expression to match on the element's type.
.PARAMETER select
	If enabled, selects the first match.
#>
function Find-ByType {
	param([parameter(mandatory=$true)] [string] $type, [switch]$select)
	Find-By { $_.Target.GetType().Name -match $type } -select:$select
}

<#
.SYNOPSIS
	Gets the currently selected tree item's data context.
#>
function Get-SelectedDataContext {
	$selected.Target.DataContext
}

Export-ModuleMember Find-By,Find-ByType,Find-ByName,Get-SelectedDataContext
tools\Snoop.exe
md5: CCD1A4989783946DAC701A4B45BB2AE8 | sha1: AF8B3FDA26054B904FD87A4C3B50B2445D9C3879 | sha256: 3B4A66B0AD43B6F84C27FD0B253EFC7FA48E502B46B2016225DC655D44DCFB5B | sha512: C1F8F6B5213550A485E6865B9AB0383F0CBBD170984D748E547E6BC62FA564D13DCBC241CF2F5C5D897798A431436082901AA70C56E844BB3D7D46B915CA257E
tools\Snoop.exe.config
<?xml version="1.0"?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <section name="Snoop.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
        </sectionGroup>
    </configSections>
    <userSettings>
        <Snoop.Properties.Settings>
            <setting name="SnoopUIWindowPlacement" serializeAs="String">
                <value></value>
            </setting>
            <setting name="AppChooserWindowPlacement" serializeAs="String">
                <value></value>
            </setting>
            <setting name="ZoomerWindowPlacement" serializeAs="String">
                <value></value>
            </setting>
            <setting name="PropertyFilterSets" serializeAs="String">
                <value>
        &lt;?xml version="1.0" encoding="utf-16"?&gt;
        &lt;ArrayOfPropertyFilterSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
        &lt;PropertyFilterSet&gt;
        &lt;DisplayName&gt;Layout&lt;/DisplayName&gt;
        &lt;IsDefault&gt;false&lt;/IsDefault&gt;
        &lt;IsEditCommand&gt;false&lt;/IsEditCommand&gt;
        &lt;Properties&gt;
        &lt;string&gt;width&lt;/string&gt;
        &lt;string&gt;height&lt;/string&gt;
        &lt;string&gt;actualwidth&lt;/string&gt;
        &lt;string&gt;actualheight&lt;/string&gt;
        &lt;string&gt;margin&lt;/string&gt;
        &lt;string&gt;padding&lt;/string&gt;
        &lt;string&gt;canvas.left&lt;/string&gt;
        &lt;string&gt;canvas.top&lt;/string&gt;
        &lt;/Properties&gt;
        &lt;/PropertyFilterSet&gt;
        &lt;PropertyFilterSet&gt;
        &lt;DisplayName&gt;Grid/Dock&lt;/DisplayName&gt;
        &lt;IsDefault&gt;false&lt;/IsDefault&gt;
        &lt;IsEditCommand&gt;false&lt;/IsEditCommand&gt;
        &lt;Properties&gt;
        &lt;string&gt;grid.&lt;/string&gt;
        &lt;string&gt;dockpanel.dock&lt;/string&gt;
        &lt;/Properties&gt;
        &lt;/PropertyFilterSet&gt;
        &lt;PropertyFilterSet&gt;
        &lt;DisplayName&gt;Color&lt;/DisplayName&gt;
        &lt;IsDefault&gt;false&lt;/IsDefault&gt;
        &lt;IsEditCommand&gt;false&lt;/IsEditCommand&gt;
        &lt;Properties&gt;
        &lt;string&gt;color&lt;/string&gt;
        &lt;string&gt;background&lt;/string&gt;
        &lt;string&gt;foreground&lt;/string&gt;
        &lt;string&gt;borderbrush&lt;/string&gt;
        &lt;string&gt;fill&lt;/string&gt;
        &lt;string&gt;stroke&lt;/string&gt;
        &lt;/Properties&gt;
        &lt;/PropertyFilterSet&gt;
        &lt;PropertyFilterSet&gt;
        &lt;DisplayName&gt;ItemsControl&lt;/DisplayName&gt;
        &lt;IsDefault&gt;false&lt;/IsDefault&gt;
        &lt;IsEditCommand&gt;false&lt;/IsEditCommand&gt;
        &lt;Properties&gt;
        &lt;string&gt;items&lt;/string&gt;
        &lt;string&gt;selected&lt;/string&gt;
        &lt;/Properties&gt;
        &lt;/PropertyFilterSet&gt;
        &lt;/ArrayOfPropertyFilterSet&gt;
      </value>
            </setting>
            <setting name="ShowDefaults" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="ShowPreviewer" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="ClearAfterDelve" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="SnoopDebugFilters" serializeAs="String">
                <value>
                </value>
            </setting>
            <setting name="SetOwnerWindow" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="MultipleAppDomainMode" serializeAs="String">
                <value>Ask</value>
            </setting>
            <setting name="MultipleDispatcherMode" serializeAs="String">
                <value>Ask</value>
            </setting>
        </Snoop.Properties.Settings>
    </userSettings>
<startup><supportedRuntime version="v4.0"/></startup></configuration>
tools\Snoop.exe.gui
 
tools\Snoop.pdb
 
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
This package is published by the vendor itself. 
There is no need to include checksums in this file as the binaries are 
all contained in this package and not aquired from a third party website.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Snoop 3.0.0-alpha0116 145 Sunday, October 6, 2019 Approved
Snoop 2.10.0 1642 Friday, September 21, 2018 Approved
Snoop 2.8.0 3321 Thursday, July 25, 2013 Approved
Snoop 2.7.1 503 Tuesday, June 26, 2012 Approved

Discussion for the Snoop Package

Ground Rules:

  • This discussion is only about Snoop and the Snoop package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Snoop, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus