payload

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindShellMkfifoNetcat

func BindShellMkfifoNetcat(bport int) string

func BindShellMknodNetcat

func BindShellMknodNetcat(bport int) string

func BindShellNetcatGaping

func BindShellNetcatGaping(bport int) string

func BindShellTelnetdLogin

func BindShellTelnetdLogin(bport int) string

func EncodeCommandBrace

func EncodeCommandBrace(cmd string) string

func EncodeCommandIFS

func EncodeCommandIFS(cmd string) string

func EncodeEchoBase64ToBash added in v1.0.2

func EncodeEchoBase64ToBash(cmd string) string

Base64 encodes the command. Wraps it in logic to base64 decode and pipe to bash.

func LinuxCurlHTTPDownloadAndExecute added in v1.0.8

func LinuxCurlHTTPDownloadAndExecute(lhost string, lport int, ssl bool, downloadFile string) string

func ReverseShellBash

func ReverseShellBash(lhost string, lport int) string

func ReverseShellGJSScript added in v1.0.12

func ReverseShellGJSScript(lhost string, lport int) string

Generates a script that can be used to create a reverse shell via gjs (Gnome JS - present on Ubuntu, Debian by default).

func ReverseShellJJSScript added in v1.0.13

func ReverseShellJJSScript(shell string, lhost string, lport int, ssl bool) string

Generates a script that can be used to create a reverse shell via jjs (Java javascript). This is an adapted version of Frohoff's OG gist. Additionally, the disabling of TLS validation logic was adapted from a blog written by Callan Howell-Pavia.

https://redthunder.blog/2018/04/09/disabling-hostname-validation-in-nashorn-javascript/ https://gist.github.com/frohoff/8e7c2bf3737032a25051

func ReverseShellMkfifoOpenSSL added in v1.0.14

func ReverseShellMkfifoOpenSSL(lhost string, lport int) string

func ReverseShellMkfifoTelnet

func ReverseShellMkfifoTelnet(lhost string, lport int, colon bool) string

func ReverseShellMknodOpenSSL

func ReverseShellMknodOpenSSL(lhost string, lport int) string

func ReverseShellMknodTelnet

func ReverseShellMknodTelnet(lhost string, lport int, colon bool) string

func ReverseShellNetcatGaping

func ReverseShellNetcatGaping(lhost string, lport int) string

func UnflattenedReversePython27 added in v1.1.0

func UnflattenedReversePython27(lhost string, lport int) string

An unflattened reverse shell that works on Python 2.7, 3+, Windows and Linux.

func UnflattenedSecureReversePython27 added in v1.1.0

func UnflattenedSecureReversePython27(lhost string, lport int) string

An unflattened reverse shell that uses an SSL socket, works on Python 2.7, 3+, Windows and Linux.

func WindowsCurlHTTPDownloadAndExecute added in v1.0.9

func WindowsCurlHTTPDownloadAndExecute(lhost string, lport int, ssl bool, downloadFile string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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