kgretzky/evilginx2 · error

get_url: %v

Error message

get_url: %v

What it means

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.

Source

Thrown at core/terminal.go:781

					}
					base_url = purl
				}

				var phish_urls []string
				var phish_params []map[string]string
				var out string

				params := url.Values{}
				if pn > 2 {
					if args[2] == "import" {
						if pn < 4 {
							return fmt.Errorf("get-url: no import path specified")
						}
						params_file := args[3]

						phish_urls, phish_params, err = t.importParamsFromFile(base_url, params_file)
						if err != nil {
							return fmt.Errorf("get_url: %v", err)
						}

						if pn >= 5 {
							if args[4] == "export" {
								if pn == 5 {
									return fmt.Errorf("get-url: no export path specified")
								}
								export_path := args[5]

								format := "text"
								if pn == 7 {
									format = args[6]
								}

								err = t.exportPhishUrls(export_path, phish_urls, phish_params, format)
								if err != nil {
									return fmt.Errorf("get-url: %v", err)
								}

View on GitHub (pinned to 4c0988a1d9)

Solutions

  1. Read the inner error after 'get_url:' to find the real cause.
  2. Verify the params file path is correct and the file parses (param=value lines).
  3. Ensure the lure and its base_url were resolved correctly before the import.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at core/terminal.go:781 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of kgretzky/evilginx2@4c0988a1d9 (2026-09-05). Data as JSON: /api/errors/a17a807620c059e1. Report an issue: GitHub.