Documentation ¶
Index ¶
- func AesDecrypt(cryted string, key string) string
- func AesEncrypt(orig string, key string) string
- func CVE_2023_25157(target string, variableMap map[string]any) error
- func ExampleGet(target string, redirect bool) error
- func ExamplePost(target, body string) error
- func Exp(target, cmd string) (string, string, int)
- func GetBackupFile(target string) string
- func MS17010Scan(target string, variableMap map[string]any) error
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func Request(target, data string, variableMap map[string]any) error
- func UniqueSlice(original []string) []string
- type Capability
- type FeatureType
- type GetCapabilitiesRequest
- type HTTPGet
- type HTTPPost
- type LatLongBoundingBox
- type Service
- type ServiceException
- type WFS_Capabilities
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesEncrypt ¶
func ExampleGet ¶
GET 请求示例 target get request url
func ExamplePost ¶
POST 请求示例 target post request url body post request body
func GetBackupFile ¶
func PKCS7Padding ¶
补码 AES加密数据块分组长度必须为128bit(byte[16]),密钥长度可以是128bit(byte[16])、192bit(byte[24])、256bit(byte[32])中的任意一个。
func UniqueSlice ¶
Types ¶
type Capability ¶
type Capability struct {
Request GetCapabilitiesRequest `xml:"Request"`
}
type FeatureType ¶
type GetCapabilitiesRequest ¶
type LatLongBoundingBox ¶
type ServiceException ¶
type WFS_Capabilities ¶
type WFS_Capabilities struct { Version string `xml:"version,attr"` SchemaLocation string `xml:"schemaLocation,attr"` Service Service Capability Capability FeatureTypes []FeatureType `xml:"FeatureTypeList>FeatureType"` ServiceException ServiceException `xml:"http://www.opengis.net/ogc ServiceException"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.