Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/solrac97gr/go-memory-dumper

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/solrac97gr/go-memory-dumper

  • v0.0.0-20240826161340-643b4bd6f110
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go Memory Dumper

This is a simple tool to dump the memory of a running process. Into a file. It is written in Go and uses the cgo (C code in Go) to interact with the system API.

This tool was created as a practice to learn how to interact with the system API using Go and C. Also will be add it to my go-shield tool in the near future (when will work for Linux, Windows and Mac).

Requirements

  • Go 1.16 or higher
  • GCC or Clang
  • Linux System

Usage

go run main.go <pid>

Example

go run main.go 1234

For what?

This tool is useful for debugging purposes. It can be used to dump the memory of a running process and analyze it later. It can be used to debug a running process, to analyze the memory of a process, to analyze the memory of a process that is running on a remote machine, etc.

Use strings, hexdump, or any other tool to analyze the memory dump.

strings dump.bin | grep -i password

License

MIT

FAQs

Package last updated on 26 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc