fix: Phase constants, version sync, log TTY check, Makefile warnings
Swapped EXPLOIT_PHASE_SETUP/SPRAY to match gaster execution order. Aligned version to 0.2.0 in both tr4mpass.h and start.sh. Log now checks isatty(stderr) before emitting ANSI colors. Makefile warns when pkg-config cannot find required libraries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5fccb44766
commit
3cf511c992
4 changed files with 23 additions and 6 deletions
|
|
@ -12,8 +12,8 @@
|
|||
/* Exploit phase constants */
|
||||
#define EXPLOIT_PHASE_INIT 0
|
||||
#define EXPLOIT_PHASE_RESET 1
|
||||
#define EXPLOIT_PHASE_SPRAY 2
|
||||
#define EXPLOIT_PHASE_SETUP 3
|
||||
#define EXPLOIT_PHASE_SETUP 2
|
||||
#define EXPLOIT_PHASE_SPRAY 3
|
||||
#define EXPLOIT_PHASE_PATCH 4
|
||||
#define EXPLOIT_PHASE_DONE 5
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define TR4MPASS_VERSION "0.1.0"
|
||||
#define TR4MPASS_VERSION "0.2.0"
|
||||
|
||||
#define TR4MPASS_OK 0
|
||||
#define TR4MPASS_ERR -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue