ldapjndi

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLDAPServer

func CreateLDAPServer(name string) *ldap.Server

func SetLDAPGadget

func SetLDAPGadget(gadget GadgetName, binary string, lhost string, lport int, command string)

func SetLDAPHTTPClass

func SetLDAPHTTPClass(gadget GadgetName, lhost string, lport int, httpHost string, httpPort int)

Types

type GadgetName

type GadgetName int

mapping of available pre-serialized gadgets.

const (
	// org.apache.naming.factory.BeanFactory + javax.el.ELProcessor#eval (windows + Linux).
	TomcatNashornReverseShell GadgetName = 0
	// org.apache.naming.factory.BeanFactory + javax.el.ELProcessor#eval (linux only).
	TomcatGenericBash GadgetName = 1
	GroovyGenericBash GadgetName = 2
	// org.apache.naming.factory.BeanFactory.
	BeanUtils194GenericBash GadgetName = 3
	// load class via an HTTP server.
	HTTPReverseShell GadgetName = 4
)

Jump to

Keyboard shortcuts

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