mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 20:15:27 +00:00
* use parsed options while signing * update project layout to v3 * fix .gitignore * remove example template * misc updates * bump tlsx version * hide template sig warning with env * js: retain value while using log * fix nil pointer derefernce * misc doc update --------- Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
10 lines
205 B
Go
10 lines
205 B
Go
package contextargs
|
|
|
|
// GenerateVariables from context args
|
|
func GenerateVariables(ctx *Context) map[string]interface{} {
|
|
vars := map[string]interface{}{
|
|
"ip": ctx.MetaInput.CustomIP,
|
|
}
|
|
return vars
|
|
}
|