Downloads:

21,388

Downloads of v 3.0.0-alpha0116:

827

Last Update:

06 Oct 2019

Package Maintainer(s):

Software Author(s):

  • Cory Plotts
  • Bastian Schmidt

Tags:

snoop spy wpf

Snoop

This is a prerelease version of Snoop.

  • 1
  • 2
  • 3

3.0.0-alpha0116 | Updated: 06 Oct 2019

Downloads:

21,388

Downloads of v 3.0.0-alpha0116:

827

Maintainer(s):

Software Author(s):

  • Cory Plotts
  • Bastian Schmidt

Tags:

snoop spy wpf

  • 1
  • 2
  • 3
Snoop 3.0.0-alpha0116

This is a prerelease version of Snoop.

  • 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="'3.0.0-alpha0116'" --prerelease [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="'3.0.0-alpha0116'" --prerelease
$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: '3.0.0-alpha0116'
    source: INTERNAL REPO URL
    state: present
    allow_prerelease: yes

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  '3.0.0-alpha0116'
  options  '--prerelease'
end

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


cChocoPackageInstaller snoop
{
    Name        = "snoop"
    Version     = "3.0.0-alpha0116"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"
}

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


package { 'snoop':
  ensure          => '3.0.0-alpha0116',
  install_options => ['--prerelease'],
  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 as a trusted package on 06 Oct 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.
The changelog for release versions can be found at https://github.com/snoopwpf/snoopwpf/blob/master/Changelog.md.
The changelog for preview versions can be found at https://github.com/snoopwpf/snoopwpf/blob/develop/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\net40\Snoop.Core.net40.dll
md5: 06CA849859E68134A4105E9A0CBCBD7C | sha1: 3139F4B9F47266CEA013AACCCEC361E3C177A8FD | sha256: 73724DA94B2777A3981DA9E0DC234995E4A1475BBAA96ACECAE6FB1F20EA4B49 | sha512: 19A196734FDD1D6571CC1A087104588658273C671C8F6244A492694D1AEAA67C5057B2490E763B3C9F6030A534AD380FDAF2D56BD7142B10EC5F7EEC1B7623E4
tools\net40\Snoop.Core.net40.pdb
 
tools\net40\System.Management.Automation.dll
md5: ABCD646CB66D95CE0283AC6A888BEFB7 | sha1: 5F375E113DA40C0870D0027625E1FFB129A9727F | sha256: 40AECC98D1878C93ACAD8F41DB3C310C382BE92C3BCE396E3F6E6A03A37DF193 | sha512: F69F25E39264B5552B80B3500F917C202C1AB16D2F03CA42F7D30104F6492A427BC3280E68F813D01C1AE0B1D111CA7403DF4A040E5358CA0737C8E7A1A4410F
tools\netcoreapp3.0\Snoop.Core.netcoreapp3.0.dll
md5: 6385753AFD45E481C9B27D8E149EAD08 | sha1: D0367D704DADE8889B2E956603A835C75831F1F9 | sha256: 263643EE547B81C5BB49D5DF1CD47C7C19B8EC4BC1BE1FE612160A8B377C655F | sha512: E03DFE35BC3F4F2F3FF11B629B166D7711B41151A89F4FA16CCAF02B4686D66877B43422A0E91313E480C10F1EF3535FD1B90B87C2600A2ABDAD2C93AB0616A6
tools\netcoreapp3.0\Snoop.Core.netcoreapp3.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.Core.net40.dll
md5: 06CA849859E68134A4105E9A0CBCBD7C | sha1: 3139F4B9F47266CEA013AACCCEC361E3C177A8FD | sha256: 73724DA94B2777A3981DA9E0DC234995E4A1475BBAA96ACECAE6FB1F20EA4B49 | sha512: 19A196734FDD1D6571CC1A087104588658273C671C8F6244A492694D1AEAA67C5057B2490E763B3C9F6030A534AD380FDAF2D56BD7142B10EC5F7EEC1B7623E4
tools\Snoop.Core.net40.pdb
 
tools\Snoop.exe
md5: 917CBF32261DF05C2D8E63AE5BC8C262 | sha1: 8A0FB2B71B379566A624016DD2B21665D8300860 | sha256: 366C66181584170E2788C7F6DC970EBA377D2BD55E40E933C053C346377806C0 | sha512: 4F57486802C66B4304E1325AAE559F7C4004963FA05FED5E8A7B8CE94694AE7D0DFD92238F9117B11D9B3C9C848FBC9E627855EB930BBCEE8A4A94BDB61D1AAB
tools\Snoop.exe.config
<?xml version="1.0" encoding="utf-8"?>
<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="AppChooserWindowPlacement" 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.GenericInjector.x64.dll
md5: 36CF9288E6C51FCF3CA44E0F8392C415 | sha1: 364A51D1C3658DBD66E4685317465F9656AC5CFE | sha256: B2039CF12A48A04CB102DA7DACEDEA725ED6DB16E67864EBA86B15F7DFBD3733 | sha512: E267EE219B7E69266BB1A26B88A61AAD3D9D01D2371078F1E015AB62571A313BE51B88150A714F5242AA0B2CC8332C70B5B2FAFCE7AF598F5F3E1C3EF3AE6D4E
tools\Snoop.GenericInjector.x64.pdb
 
tools\Snoop.GenericInjector.x86.dll
md5: C094AA4458A290EA685B372890A48C88 | sha1: F2764FEE7FDC9F34EDD3E6C6605427A406258146 | sha256: 3C69785991816CADF7817C1F66FF87F55DFBE02422B446E7DCDA4085939DE497 | sha512: A684EA81174C4EEC628CCC22B884F004B6905F64DEE0E6F6DA9DB9CEE4B87968AD9B6158676C0EEF810E24B87DD483D295912B5DC12DE075F340165F1BD48F08
tools\Snoop.GenericInjector.x86.pdb
 
tools\Snoop.InjectorLauncher.x64.exe
md5: 8973683E8AAE3A0FB2DCDD612166C94F | sha1: 9B7E823E2646DAB52A1949A187501E3BA6A6D0C7 | sha256: 033B96B0ABF8EA82A4A8A0CF3F79B2B089A0A215B36F917AB887FD37BC6A8356 | sha512: 55C8C4424361D3C663978D5941CF13D9A03C9DAB7E72C5540899FBE779B58FC4BF2EDAB76DDF2C37E37C7DE36D49D8F790BB71CDEC0103B9B561274C8B3E8F61
tools\Snoop.InjectorLauncher.x64.exe.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
</configuration>
tools\Snoop.InjectorLauncher.x64.pdb
 
tools\Snoop.InjectorLauncher.x86.exe
md5: 53E4E0021CBF869F4E4470F94B4F41AC | sha1: EDBD8D1B011E8CAFDAAAAF0687E75E8756934B45 | sha256: 1DBACE0ECED7B84EB4599FC19EB31D91FE99CA144EE180EE72154185305EA4AC | sha512: 678DD7449C93A64520F00FC4003EB745085234CAAA112F9143CFE9C9E58FC81B8E5E4842D87D56FCD97A00DBFE1EA7A34E8773BF324A36F008D2998E2AF7C7F8
tools\Snoop.InjectorLauncher.x86.exe.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
</configuration>
tools\Snoop.InjectorLauncher.x86.pdb
 
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 543 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

This package has no dependencies.

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