How to scan for basic int value #15
-
Hello, thank you for providing this nice tool. Unfortunately, I am having trouble getting the basic integer search to work on my device. I'm not sure if I am doing something wrong, but here is the code I am using:
error: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
std::ifstream maps(std::string("/proc/") + std::to_string(pid) + "/maps");
if (!maps.is_open()) {
throw hak::file_not_found();
} Before starting the search, Hak needs to obtain the content of the process maps. If the object cannot be found (the process does not exist) or the permissions are insufficient, it will prompt that it cannot be opened. |
Beta Was this translation helpful? Give feedback.
-
thanks, it was my bad i forgot to use sudo inside termux |
Beta Was this translation helpful? Give feedback.
Before starting the search, Hak needs to obtain the content of the process maps. If the object cannot be found (the process does not exist) or the permissions are insufficient, it will prompt that it cannot be opened.