mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-20 08:43:07 +08:00
Successfully added uprobes calculation and hooking at arbitrary function of execve_hijack.
This commit is contained in:
@@ -45,7 +45,8 @@ static long get_base_addr() {
|
||||
|
||||
while (fscanf(f, "%zx-%*x %s %zx %*[^\n]\n", &start, buf, &offset) == 3) {
|
||||
if (strcmp(buf, "r-xp") == 0) {
|
||||
fclose(f);
|
||||
fclose(f); // 401380 //text offset-> 1290 //text VA->401290
|
||||
//4199296 //4752 //4199056
|
||||
return start - offset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user