mirror of https://github.com/daffainfo/nuclei.git
Support raw base64 encoding
parent
3fb9972114
commit
693aec37d8
|
@ -58,6 +58,8 @@ func gadgetEncodingHelper(returnData []byte, encoding string) string {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return urlsafeBase64Encode(buffer.Bytes())
|
return urlsafeBase64Encode(buffer.Bytes())
|
||||||
|
case "base64":
|
||||||
|
return base64.StdEncoding.EncodeToString(returnData)
|
||||||
default:
|
default:
|
||||||
return urlsafeBase64Encode(returnData)
|
return urlsafeBase64Encode(returnData)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue