mirror of https://github.com/daffainfo/nuclei.git
Merge pull request #994 from wdahlenburg/base64-helper
Support Raw Base64 Encoding for Deserialization Helpersdev
commit
8011b9f721
|
@ -58,6 +58,8 @@ func gadgetEncodingHelper(returnData []byte, encoding string) string {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return urlsafeBase64Encode(buffer.Bytes())
|
return urlsafeBase64Encode(buffer.Bytes())
|
||||||
|
case "base64-raw":
|
||||||
|
return base64.StdEncoding.EncodeToString(returnData)
|
||||||
default:
|
default:
|
||||||
return urlsafeBase64Encode(returnData)
|
return urlsafeBase64Encode(returnData)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue