{"record":{"id":"09aafc9a5cb6c839","repo":"kgretzky/evilginx2","slug":"pause-v","errorCode":null,"errorMessage":"pause: %v","messagePattern":"pause: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/terminal.go","lineNumber":860,"sourceCode":"\t\t\t\t\t\t\tm += 1\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif len(params_row) > 0 {\n\t\t\t\t\t\tout += \" ; \" + params\n\t\t\t\t\t}\n\t\t\t\t\tout += \"\\n\"\n\t\t\t\t}\n\n\t\t\t\tt.output(\"%s\", out)\n\t\t\t\treturn nil\n\t\t\t}\n\t\t\treturn fmt.Errorf(\"incorrect number of arguments\")\n\t\tcase \"pause\":\n\t\t\tif pn == 3 {\n\t\t\t\tl_id, err := strconv.Atoi(strings.TrimSpace(args[1]))\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn fmt.Errorf(\"pause: %v\", err)\n\t\t\t\t}\n\t\t\t\tl, err := t.cfg.GetLure(l_id)\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn fmt.Errorf(\"pause: %v\", err)\n\t\t\t\t}\n\t\t\t\ts_duration := args[2]\n\n\t\t\t\tt_dur, err := ParseDurationString(s_duration)\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn fmt.Errorf(\"pause: %v\", err)\n\t\t\t\t}\n\t\t\t\tt_now := time.Now()\n\t\t\t\tlog.Info(\"current time: %s\", t_now.Format(\"2006-01-02 15:04:05\"))\n\t\t\t\tlog.Info(\"unpauses at:  %s\", t_now.Add(t_dur).Format(\"2006-01-02 15:04:05\"))\n\n\t\t\t\tl.PausedUntil = t_now.Add(t_dur).Unix()\n\t\t\t\terr = t.cfg.SetLure(l_id, l)\n\t\t\t\tif err != nil {","sourceCodeStart":842,"sourceCodeEnd":878,"githubUrl":"https://github.com/kgretzky/evilginx2/blob/4c0988a1d9db4d172a185e979a38bfd0efdb5830/core/terminal.go#L842-L878","documentation":"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.","triggerScenarios":"Thrown at core/terminal.go:860 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the inner error: if it is an Atoi failure, supply a numeric lure ID.","Run 'lures' to list valid lure IDs and pick an existing one.","Confirm the duration argument (e.g. 10m, 1h30m) is passed as the next argument."],"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-14T00:17:10.932Z"}