Cutter

  • 1
  • 2
  • 3

2.0.4 | Updated: 26 Nov 2021

Downloads:

3,121

Downloads of v 2.0.4:

74

Maintainer(s):

Software Author(s):

  • rizin org

  • 1
  • 2
  • 3
Cutter 2.0.4

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Cutter, 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 cutter -y --source="'INTERNAL REPO 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 cutter -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install cutter
  win_chocolatey:
    name: cutter
    version: '2.0.4'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'cutter' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.0.4'
end

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


cChocoPackageInstaller cutter
{
    Name     = "cutter"
    Version  = "2.0.4"
    Source   = "INTERNAL REPO URL"
}

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


package { 'cutter':
  ensure   => '2.0.4',
  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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 26 Nov 2021.

Description

Cutter is a free and open-source reverse engineering platform powered by rizin. It aims at being an advanced and customizable reverse engineering platform while keeping the user experience in mind. Cutter is created by reverse engineers for reverse engineers.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$version = "v2.0.4"
$packageName = "Cutter-$version-x64.Windows"
$zipFile = "$packageName.zip"
$installRootDir = $env:ChocolateyPackageFolder
$installDir = "$installRootDir\\$packageName"

$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  unzipLocation  = $installRootDir
  url64bit       = "https://github.com/rizinorg/cutter/releases/download/$version/$zipFile"
  checksum64     = '052176975E3DFBB990C303EE433BD0C67FB3722D8FAFED9670916C31EE0639E5'
  checksumType64 = 'sha256'
}

New-Item "$installDir\\cutter.exe.gui" -type file -force | Out-Null
New-Item "$installDir\\vc_redist.x64.exe.ignore" -type file -force | Out-Null

Install-ChocolateyZipPackage @packageArgs

$shortcutArgs = @{
  Description      = "Open Cutter"
  TargetPath       = "$installDir\\cutter.exe"
  WorkingDirectory = "$installDir"
}
$shortcutName = '\Cutter.lnk'

$doCreateShortcut = Read-Host "Do you want to create a shortcut in the Desktop? (Y/n)"
if (!$doCreateShortcut -or $doCreateShortcut.Contains('y')) {
  Install-ChocolateyShortcut @shortcutArgs -ShortcutFilePath  $([Environment]::GetFolderPath("Desktop") + $shortcutName)
}

$doCreateShortcut = Read-Host "Do you want to create a shortcut in the Start Menu? (Y/n)"
if (!$doCreateShortcut -or $doCreateShortcut.Contains('y')) {
  Install-ChocolateyShortcut @shortcutArgs -ShortcutFilePath $([Environment]::GetFolderPath("StartMenu") + $shortcutName)
}

Remove-Item -Path "$installRootDir\\$zipFile" -ErrorAction SilentlyContinue
tools\chocolateyUninstall.ps1
$doDeleteCfg = Read-Host "Do you wish to delete your configuration profile? (y/N)"
if ($doDeleteCfg.Contains("y")) {
	Remove-Item -Path "$env:APPDATA\\rizin\\cutter*" -Recurse -ErrorAction SilentlyContinue
}

$shortcutName = '\Cutter.lnk'

Remove-Item -Path $([Environment]::GetFolderPath("Desktop") + $shortcutName) -ErrorAction SilentlyContinue
Remove-Item -Path $([Environment]::GetFolderPath("StartMenu") + $shortcutName) -ErrorAction SilentlyContinue

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
Cutter 2.0.3 332 Saturday, September 25, 2021 Approved
Cutter 2.0.2 402 Friday, July 30, 2021 Approved
Cutter 1.12.0 1329 Thursday, September 3, 2020 Approved
Cutter 1.11.1 108 Tuesday, August 18, 2020 Approved
Cutter 1.11.0 130 Saturday, July 25, 2020 Approved
Cutter 1.10.3 187 Saturday, May 16, 2020 Approved
Cutter 1.10.2 41 Saturday, May 16, 2020 Approved
Cutter 1.10.1 55 Saturday, May 16, 2020 Approved
Cutter 1.10.0 268 Saturday, December 21, 2019 Approved

Along with many bugfixes and updates to make best use of Rizin 0.3.0, this release also brings a brand new heap viewer widget for glibc, developed as part of Google Summer of Code by @PulakIIIT: https://rizin.re/posts/gsoc-2021-summary/#pulak-heap-viewer-for-cutter

Additions and Changes

  • Debug: Heap viewer widget for glibc
  • Rizin, rz-ghidra and jsdec updated to 0.3.0 with changes for compatibility.
  • Various improvements for native macOS UI (#2776)
  • Many internal changes switching from error-prone rizin commands to C API
  • CI and Linux builds: use Ubuntu 18.04 as oldest supported build system (#2736)

Bugfixes

  • Fix Decompiler Copy Shortcut (Fix #2773, #2778)
  • Fix Restoring "Show Disassembly as" in Preferences (Fix #2726, #2748)
  • Complete Color Theme Lists (Fix #2672) (#2752)
  • macOS: Fix Versions in Info.plist (Fix #2679) (#2740)
  • Debug: Fix continue until main not being enabled in certain cases (#2727)
  • Debug: Fix attaching to a process with no file opened (#2727)
  • Fix a crash when printing disassembly arrows (#2688)

Removals

  • Type Link features removed due to unreliability, in light of global variables coming soon (#2775)

This package has no dependencies.

Discussion for the Cutter Package

Ground Rules:

  • This discussion is only about Cutter and the Cutter 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 Cutter, 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