mirror of https://github.com/daffainfo/nuclei.git
lowering hmap storage requirement via omitempty (#3111)
parent
0b3992cdb8
commit
e4402e7449
|
@ -11,9 +11,9 @@ import (
|
|||
// MetaInput represents a target with metadata (TODO: replace with https://github.com/projectdiscovery/metainput)
|
||||
type MetaInput struct {
|
||||
// Input represent the target
|
||||
Input string
|
||||
Input string `json:"input,omitempty"`
|
||||
// CustomIP to use for connection
|
||||
CustomIP string
|
||||
CustomIP string `json:"customIP,omitempty"`
|
||||
}
|
||||
|
||||
func (metaInput *MetaInput) marshalToBuffer() (bytes.Buffer, error) {
|
||||
|
|
Loading…
Reference in New Issue