Cutter

1.12.0 | Updated: 03 Sep 2020

Downloads:

922

Downloads of v 1.12.0:

195

Maintainer(s):

Software Author(s):

  • radareorg

Cutter 1.12.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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 cutter -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 cutter -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 cutter installed
  win_chocolatey:
    name: cutter
    state: present
    version: 1.12.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 'cutter' do
  action    :install
  version  '1.12.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: cutter,
    Version: 1.12.0,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller cutter
{
   Name     = 'cutter'
   Ensure   = 'Present'
   Version  = '1.12.0'
   Source   = 'STEP 3 URL'
}

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


package { 'cutter':
  provider => 'chocolatey',
  ensure   => '1.12.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install cutter version="1.12.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.

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

This package was approved as a trusted package on 04 Sep 2020.

Description

Cutter is a free and open-source reverse engineering framework powered by radare2. Its goal is making an advanced, customizable and FOSS reverse-engineering platform while keeping the user experience at mind. Cutter is created by reverse engineers for reverse engineers.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';
$installDir = $env:ChocolateyPackageFolder

$zipFile = "$installDir\\Cutter-v1.12.0-x64.Windows.zip"

$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  unzipLocation  = $installDir
  softwareName   = 'cutter*'
  url64bit       = 'https://github.com/radareorg/cutter/releases/download/v1.12.0/Cutter-v1.12.0-x64.Windows.zip'
  checksum64     = '6F0688B0BF388D940FED3681020DFE4FBE0522E144A31910B6909CE38BDADB7B'
  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 $zipFile -ErrorAction SilentlyContinue
tools\chocolateyUninstall.ps1
$doDeleteCfg = Read-Host "Do you wish to delete your configuration profile? (Y/n)"
if (!$doDeleteCfg -or $doDeleteCfg.Contains("y")) {
	Remove-Item -Path "$env:APPDATA\\RadareOrg\\*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.

Version Downloads Last Updated Status
Cutter 1.11.1 79 Tuesday, August 18, 2020 Approved
Cutter 1.11.0 96 Saturday, July 25, 2020 Approved
Cutter 1.10.3 153 Saturday, May 16, 2020 Approved
Cutter 1.10.2 12 Saturday, May 16, 2020 Approved
Cutter 1.10.1 25 Saturday, May 16, 2020 Approved
Cutter 1.10.0 204 Saturday, December 21, 2019 Approved
Cutter 1.9.0 158 Sunday, September 22, 2019 Approved

Highlights

Decompiler

In this release, we introduce major improvements to the Decompiler feature in Cutter. These improvements couldn't be made without the help of our team member and GSoC student @NirmalManoj 👏

  • Context menu interactions with the decompiler are now context sensitive, only relevant menu items are shown and they applied to the item that was clicked
  • Decompiler based Syntax Highlighting in the Decompiler widget (old highlighting mode can be chosen in appearance options)
  • Support opening multiple Decompiler widgets at the same time. Each of the instances can be set to show different decompiler (Ghidra, RetDec, r2dec, ...) and different functions.
  • Make the current-address synchronization consistent with rest of widgets

Known Limitations

  • The new features in the Decompiler work best with r2ghidra, not all of them are implemented for r2dec
  • Some hacky features, like instruction patching, that were available in the previous context menu are not available in the new one and might be added in the future.
  • Decompiling large functions using r2ghidra causes UI to freeze temporarily

To read the full list of changes, check our blog post: Improving Decompiler Widget - GSoC Project

Radare2

  • Cutter 1.12.0 depends on radare2 4.5.1

Other

  • Support analysis after opening the file
  • Configurable analysis options from the Preferences widget

Full list of commits since previous release available here: v1.11.0...v1.12.0

Thanks

The success of this release couldn't be achieved without the help and time dedicated by many contributors which are new to the Cutter family. We appreciate the work and honored to welcome our new contributors: @Surendrajat, @ocastejon, @sagcan, @DX-MON, @kohnakagawa, @7h3qu1rkyb1t, @DeleteXso, @polaris


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