serverbind

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Atoi

func Atoi(s string) int

func BindServerPort

func BindServerPort(mappedUserInput map[string]string)

func DifficultHandle

func DifficultHandle(conn net.Conn)

func NcBind

func NcBind(mappedUserInput map[string]string)

Bind to local port, open up host to remote code execution

func OperatingSystemDetect

func OperatingSystemDetect() *string

func ProxyForward

func ProxyForward(mappedUserInput map[string]string)

func RevHandleDarwin

func RevHandleDarwin(caller net.Conn)

func RevHandleLinux

func RevHandleLinux(caller net.Conn)

func RevHandleWindows

func RevHandleWindows(caller net.Conn)

func SimpleHandleDarwin

func SimpleHandleDarwin(conn net.Conn)

func SimpleHandleLinux

func SimpleHandleLinux(conn net.Conn)

func SimpleHandleWindows

func SimpleHandleWindows(conn net.Conn)

Types

type Flusher

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

Flusher wraps bufio.Writer, explicitly flushing on all writes

func NewFlusher

func NewFlusher(w io.Writer) *Flusher

Constructor NewFlusher creates a new Flusher from an io.Writer

func (*Flusher) Write

func (foo *Flusher) Write(b []byte) (int, error)

Write writes bytes and explicitly flushes buffer

type ServerBindUserInputNetcat

type ServerBindUserInputNetcat struct {
	scannertools.UserInputNetcat
}

func (*ServerBindUserInputNetcat) NcBindTwo

func (uin *ServerBindUserInputNetcat) NcBindTwo()

type ServerBindUserInputProxy

type ServerBindUserInputProxy struct {
	scannertools.UserInputProxy
}

func (*ServerBindUserInputProxy) ProxyForwardTwo

func (uip *ServerBindUserInputProxy) ProxyForwardTwo()

type ServerBindUserInputServer

type ServerBindUserInputServer struct {
	scannertools.UserInputServer
}

func (*ServerBindUserInputServer) BindServerPortTwo

func (uis *ServerBindUserInputServer) BindServerPortTwo()

Jump to

Keyboard shortcuts

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