gox

package
v3.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(cryted string, key string) string

func AesEncrypt

func AesEncrypt(orig string, key string) string

func CVE_2023_25157

func CVE_2023_25157(target string, variableMap map[string]any) error

func CVE_2024_23897 added in v3.1.2

func CVE_2024_23897(target string, variableMap map[string]any) error

func ExampleGet

func ExampleGet(target string, redirect bool) error

GET 请求示例 target get request url

func ExamplePost

func ExamplePost(target, body string) error

POST 请求示例 target post request url body post request body

func Exp

func Exp(target, cmd string) (string, string, int)

func GetBackupFile

func GetBackupFile(target string) string

func MS17010Scan

func MS17010Scan(target string, variableMap map[string]any) error

func PKCS7Padding

func PKCS7Padding(ciphertext []byte, blocksize int) []byte

补码 AES加密数据块分组长度必须为128bit(byte[16]),密钥长度可以是128bit(byte[16])、192bit(byte[24])、256bit(byte[32])中的任意一个。

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

去码

func RandLower added in v3.1.2

func RandLower(n int) string

func Request

func Request(target, data string, variableMap map[string]any) error

func StringIn added in v3.1.2

func StringIn(s string, slice []string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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