{"record":{"id":"cbc8d5fbe048f7c0","repo":"kgretzky/evilginx2","slug":"get-url-no-import-path-specified","errorCode":null,"errorMessage":"get-url: no import path specified","messagePattern":"get-url: no import path specified","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/terminal.go","lineNumber":775,"sourceCode":"\t\t\t\tif l.Hostname != \"\" {\n\t\t\t\t\tbase_url = \"https://\" + l.Hostname + l.Path\n\t\t\t\t} else {\n\t\t\t\t\tpurl, err := pl.GetLureUrl(l.Path)\n\t\t\t\t\tif err != nil {\n\t\t\t\t\t\treturn err\n\t\t\t\t\t}\n\t\t\t\t\tbase_url = purl\n\t\t\t\t}\n\n\t\t\t\tvar phish_urls []string\n\t\t\t\tvar phish_params []map[string]string\n\t\t\t\tvar out string\n\n\t\t\t\tparams := url.Values{}\n\t\t\t\tif pn > 2 {\n\t\t\t\t\tif args[2] == \"import\" {\n\t\t\t\t\t\tif pn < 4 {\n\t\t\t\t\t\t\treturn fmt.Errorf(\"get-url: no import path specified\")\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparams_file := args[3]\n\n\t\t\t\t\t\tphish_urls, phish_params, err = t.importParamsFromFile(base_url, params_file)\n\t\t\t\t\t\tif err != nil {\n\t\t\t\t\t\t\treturn fmt.Errorf(\"get_url: %v\", err)\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif pn >= 5 {\n\t\t\t\t\t\t\tif args[4] == \"export\" {\n\t\t\t\t\t\t\t\tif pn == 5 {\n\t\t\t\t\t\t\t\t\treturn fmt.Errorf(\"get-url: no export path specified\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\texport_path := args[5]\n\n\t\t\t\t\t\t\t\tformat := \"text\"\n\t\t\t\t\t\t\t\tif pn == 7 {\n\t\t\t\t\t\t\t\t\tformat = args[6]","sourceCodeStart":757,"sourceCodeEnd":793,"githubUrl":"https://github.com/kgretzky/evilginx2/blob/4c0988a1d9db4d172a185e979a38bfd0efdb5830/core/terminal.go#L757-L793","documentation":"In 'lures get-url <id> import', the command requires a file path argument containing URL parameters to import, but none was given (fewer than 4 args). It is an argument-count validation guard inside handleLures before importParamsFromFile is called.","triggerScenarios":"Thrown at core/terminal.go:775 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-run as: lures get-url <lure_id> import <params_file> with a valid parameter file path.","Verify the file exists and is readable; one param=value pair per line.","Check command syntax with 'help lures' if unsure of the argument order."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4c0988a1d9db4d172a185e979a38bfd0efdb5830","analyzedAt":"2026-09-05T19:23:07.238Z","contentChangedAt":"2026-09-05T19:23:07.238Z","schemaVersion":2},"datasetVersion":"2026-09-12T22:17:10.623Z"}