webshells

package
v0.0.0-...-9d62925 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllWebShells = &WebShells{mutex: sync.RWMutex{}, list: map[string]*WebShell{}}

AllWebShells is a global variable that holds all the webshells

Functions

func ParseSocket

func ParseSocket(fname string, data interface{}, ws *websocket.Conn)

ParseSocket takes in data from the websocket, acts on it and then alerts the user of the outcome

func ReInitWebShells

func ReInitWebShells()

ReInitWebShells brings active webshells back into memory

Types

type WebShell

type WebShell struct {
	UUID      string //WebShell UUID4 name
	URL       string //Agent Path
	AuthToken string //WebShell Authtoken
	OS        string //WebShell's OS
	Hostname  string //WebShell's hostname
	Username  string //Username of victim
	LocalIP   string //Local IP
	Domain    string //WebShell's domain
}

WebShell struct is the datatype

type WebShells

type WebShells struct {
	// contains filtered or unexported fields
}

WebShells is the struct for a list of all agents

Jump to

Keyboard shortcuts

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