{"record":{"id":"a17a807620c059e1","repo":"kgretzky/evilginx2","slug":"get-url-v-a17a80","errorCode":null,"errorMessage":"get_url: %v","messagePattern":"get_url: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/terminal.go","lineNumber":781,"sourceCode":"\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]\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\terr = t.exportPhishUrls(export_path, phish_urls, phish_params, format)\n\t\t\t\t\t\t\t\tif err != nil {\n\t\t\t\t\t\t\t\t\treturn fmt.Errorf(\"get-url: %v\", err)\n\t\t\t\t\t\t\t\t}","sourceCodeStart":763,"sourceCodeEnd":799,"githubUrl":"https://github.com/kgretzky/evilginx2/blob/4c0988a1d9db4d172a185e979a38bfd0efdb5830/core/terminal.go#L763-L799","documentation":"The 'lures get-url ... import' command failed inside importParamsFromFile (unreadable file, malformed param lines, or bad base URL), and handleLures wraps and re-raises the underlying error prefixed with 'get_url:'. This is a wrapper error — the root cause is the inner %v.","triggerScenarios":"Thrown at core/terminal.go:781 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the inner error after 'get_url:' to find the real cause.","Verify the params file path is correct and the file parses (param=value lines).","Ensure the lure and its base_url were resolved correctly before the import."],"exampleFix":null,"handlingStrategy":"fallback","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"}