dump

package
v0.0.0-...-823cc7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DumpCmd = &cobra.Command{
	Use:   "dump",
	Short: "Dump process memory using MiniDumpWriteDump",
	Long:  ``,
	Run: func(cmd *cobra.Command, args []string) {

		if pid == 0 {
			cmd.Help()
			fmt.Println("\n[!] Required flag \"pid\" not set")
			os.Exit(0)
		}

		if outfile == "" {
			cmd.Help()
			fmt.Println("\n[!] Required flag \"outfile\" not set")
			os.Exit(0)
		}

		minidump(pid, outfile)
	},
}

DumpCmd represents the dump command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL