Downloads:

21,377

Downloads of v 2.10.0:

1,771

Last Update:

21 Sep 2018

Package Maintainer(s):

Software Author(s):

  • Cory Plotts

Tags:

snoop spy wpf

Snoop

This is not the latest version of Snoop available.

  • 1
  • 2
  • 3

2.10.0 | Updated: 21 Sep 2018

Downloads:

21,377

Downloads of v 2.10.0:

1,771

Maintainer(s):

Software Author(s):

  • Cory Plotts

Tags:

snoop spy wpf

  • 1
  • 2
  • 3
Snoop 2.10.0

This is not the latest version of Snoop available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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:

>

Deployment Method:

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

1. Enter Your Internal Repository Url

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


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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://community.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. Copy Your Script

choco upgrade snoop -y --source="'INTERNAL REPO URL'" --version="'2.10.0'" [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="'INTERNAL REPO URL'" --version="'2.10.0'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install snoop
  win_chocolatey:
    name: snoop
    version: '2.10.0'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'snoop' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.10.0'
end

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


cChocoPackageInstaller snoop
{
    Name     = "snoop"
    Version  = "2.10.0"
    Source   = "INTERNAL REPO URL"
}

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


package { 'snoop':
  ensure   => '2.10.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

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


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 29 Jun 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.


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: E36810A5E9C8727804EA575F90216D87 | sha1: 00BD2D31E0DFD68415C4F29B2E8E33DFD575703C | sha256: FF5AF4052E03B49342CC18956F258FAA4174D3D3C7084314E2E2D1C2D88757D3 | sha512: 2991FF887A240CD1D64D8B9F3505E2C3AFD5A6C5FE04EDB6F1FE94E54152DF8CD633417F4CCA47B9E64910801E6D71FB8DDB988FD4E585BC631A47F63A07968E
tools\ManagedInjector32-4.0.pdb
 
tools\ManagedInjector64-4.0.dll
md5: B1F89296308DE2009CA444172C3FC003 | sha1: 0EDFFC5E652EA6417A36E4B586E168A66FEDCEBB | sha256: B621A8FD1AC8F3B59B1C8DD7F38BCA139551CD1CB7007B2FC5418C8E8E7ECB02 | sha512: E97B92A01C1ACA9EF3476A7B558A8882836DCC50F89FDEE8365607053429A2E59BC58D73CE2797DB52AD22F91695DF20477ADEE36A8195BF0157000D3D0EC2DF
tools\ManagedInjector64-4.0.pdb
 
tools\ManagedInjectorLauncher32-4.0.exe
md5: 5BC0CBE6D9ADF134F11A9747FADF6B5A | sha1: 110722F3273836BA9EF832721619EFE7D8F3834E | sha256: 7429F17B1EFC586F74C5687E767E395B68038E054E2F761A209A325F357EF428 | sha512: A174036D5664D10384834B7EE994BBEE9F131E797238DED4CCF0C8B71BCE04D02C7339F8FB373847231F41DF508F6F3AE84906D0DF557A28D579C3749C97FF7E
tools\ManagedInjectorLauncher32-4.0.exe.ignore
 
tools\ManagedInjectorLauncher32-4.0.pdb
 
tools\ManagedInjectorLauncher64-4.0.exe
md5: 3709649FEC5BE200CD9CA2E8D93F1FAF | sha1: 98E96B4279665FA22FF9FC28E73376E816AFA84E | sha256: D6BE5DB9047D4913E61500C693F16A9F473D91AE1C6A3B5FC6DE78217C005147 | sha512: 8A7134CDC2F7FC954E59B5A34632613FA4EE2F61DC9AAD51B122040885DCC7E2EAB4D8149A6565305218EDEF029E0B2F9ACB15BFAE344B7B5F9F30252EEDFBAC
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: B6B08F9C25E2FFE5CBEEB63057A8C34B | sha1: FA8F8410D443BC51CC911E74D82F228D508BAC36 | sha256: 738C4C02F25E75714257CFF09EEABE670BD94A5F91C765927472466A5A7B8ADC | sha512: 174ED39AB787383F8619875F51570FA41E8EC66676F58D181D17588E448D00E8BC0223823985628174A691622A6CA6F41725A88DBF1846C276A543010808B7A8
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>
        </Snoop.Properties.Settings>
    </userSettings>
<startup><supportedRuntime version="v2.0.50727"/></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.

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Snoop 4.0.0 221 Sunday, December 19, 2021 Approved
Snoop 3.0.1 6007 Monday, December 21, 2020 Approved
Snoop 3.0.0 1446 Saturday, October 24, 2020 Approved
Snoop 3.0.0-alpha0385 541 Tuesday, July 14, 2020 Approved
Snoop 3.0.0-alpha0379 221 Wednesday, June 17, 2020 Approved
Snoop 3.0.0-alpha0376 103 Tuesday, June 16, 2020 Approved
Snoop 3.0.0-alpha0341 235 Wednesday, May 20, 2020 Approved
Snoop 3.0.0-alpha0336 121 Tuesday, May 19, 2020 Approved
Snoop 3.0.0-alpha0335 126 Sunday, May 17, 2020 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