Successfully added uprobes calculation and hooking at arbitrary function of execve_hijack.

This commit is contained in:
h3xduck
2022-03-03 05:53:51 -05:00
parent e64839f080
commit 0c88d5baa9
19 changed files with 1931 additions and 1817 deletions

View File

@@ -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;
}
}