kgretzky/evilginx2 · error

get-url: no import path specified

Error message

get-url: no import path specified

What it means

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.

Source

Thrown at core/terminal.go:775

				if l.Hostname != "" {
					base_url = "https://" + l.Hostname + l.Path
				} else {
					purl, err := pl.GetLureUrl(l.Path)
					if err != nil {
						return err
					}
					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]

View on GitHub (pinned to 4c0988a1d9)

Solutions

  1. Re-run as: lures get-url <lure_id> import <params_file> with a valid parameter file path.
  2. Verify the file exists and is readable; one param=value pair per line.
  3. Check command syntax with 'help lures' if unsure of the argument order.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at core/terminal.go:775 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/cbc8d5fbe048f7c0. Report an issue: GitHub.