The ScanMem Daemon provides a simple way to execute scanmem commands without requiring root privileges.
This daemon relies on the scanmem tool for its functionality. Ensure that scanmem is installed on your system before using this daemon. You can install scanmem using your package manager or by downloading it from the official source.
git clone https://github.com/x3ric/scanmemd cd scanmemd make install
Once installed, follow these steps to use the daemon:
Echo your desired scanmem command into the daemon's input:
echo "\"<pid>\" \"<command>\"" | $HOME/.cache/scanmem
Retrieve the output of the executed command from the deamon:
journalctl -u scanmemd.service -f | awk -F':' '{print $4}'