kgretzky/evilginx2 · error

pause: %v

Error message

pause: %v

What it means

The 'lures pause <id> <duration>' command failed while parsing the lure ID with strconv.Atoi, or while fetching the lure with GetLure; the underlying error is wrapped as 'pause: %v'. Wrapper error — root cause is either a non-numeric ID or an ID that does not match any existing lure.

Source

Thrown at core/terminal.go:860

							m += 1
						}
					}

					if len(params_row) > 0 {
						out += " ; " + params
					}
					out += "\n"
				}

				t.output("%s", out)
				return nil
			}
			return fmt.Errorf("incorrect number of arguments")
		case "pause":
			if pn == 3 {
				l_id, err := strconv.Atoi(strings.TrimSpace(args[1]))
				if err != nil {
					return fmt.Errorf("pause: %v", err)
				}
				l, err := t.cfg.GetLure(l_id)
				if err != nil {
					return fmt.Errorf("pause: %v", err)
				}
				s_duration := args[2]

				t_dur, err := ParseDurationString(s_duration)
				if err != nil {
					return fmt.Errorf("pause: %v", err)
				}
				t_now := time.Now()
				log.Info("current time: %s", t_now.Format("2006-01-02 15:04:05"))
				log.Info("unpauses at:  %s", t_now.Add(t_dur).Format("2006-01-02 15:04:05"))

				l.PausedUntil = t_now.Add(t_dur).Unix()
				err = t.cfg.SetLure(l_id, l)
				if err != nil {

View on GitHub (pinned to 4c0988a1d9)

Solutions

  1. Check the inner error: if it is an Atoi failure, supply a numeric lure ID.
  2. Run 'lures' to list valid lure IDs and pick an existing one.
  3. Confirm the duration argument (e.g. 10m, 1h30m) is passed as the next argument.
Defensive patterns

Strategy: fallback

When it happens

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