registry

package
v1.5.34 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

README

Registry

Commands for manipulating the Windows registry.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintCreateKey

func PrintCreateKey(createKey *sliverpb.RegistryCreateKey, regPath string, key string, con *console.SliverConsoleClient)

PrintCreateKey - Print the results of the create key command

func PrintDeleteKey

func PrintDeleteKey(deleteKey *sliverpb.RegistryDeleteKey, regPath string, key string, con *console.SliverConsoleClient)

PrintDeleteKey - Print the results of the delete key command

func PrintListSubKeys

func PrintListSubKeys(regList *sliverpb.RegistrySubKeyList, hive string, regPath string, con *console.SliverConsoleClient)

PrintListSubKeys - Print the list sub keys command result

func PrintListValues

func PrintListValues(regList *sliverpb.RegistryValuesList, hive string, regPath string, con *console.SliverConsoleClient)

PrintListValues - Print the registry list values

func PrintRegRead

func PrintRegRead(regRead *sliverpb.RegistryRead, con *console.SliverConsoleClient)

PrintRegRead - Print the results of the registry read command

func PrintRegWrite

func PrintRegWrite(regWrite *sliverpb.RegistryWrite, con *console.SliverConsoleClient)

PrintRegWrite - Print the registry write operation

func RegCreateKeyCmd

func RegCreateKeyCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RegCreateKeyCmd - Create a new Windows registry key

func RegDeleteKeyCmd

func RegDeleteKeyCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RegDeleteKeyCmd - Remove a Windows registry key

func RegListSubKeysCmd

func RegListSubKeysCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RegListSubKeysCmd - List sub registry keys

func RegListValuesCmd

func RegListValuesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RegListValuesCmd - List registry values

func RegReadCmd

func RegReadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RegReadCmd - Read a windows registry key: registry read --hostname aa.bc.local --hive HKCU "software\google\chrome\blbeacon\version"

func RegWriteCmd

func RegWriteCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RegWriteCmd - Write to a Windows registry key: registry write --hive HKCU --type dword "software\google\chrome\blbeacon\hello" 32

Types

This section is empty.

Jump to

Keyboard shortcuts

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