Skip to content

Instantly share code, notes, and snippets.

@nerdoc
Last active May 19, 2021 09:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerdoc/f058ac5a26abfe91b9f0bdfe862dc5ab to your computer and use it in GitHub Desktop.
Save nerdoc/f058ac5a26abfe91b9f0bdfe862dc5ab to your computer and use it in GitHub Desktop.
simple detect script for RotaJakiro
#!/bin/bash
# you can run this script (if you dare...) using
# wget -qO- https://gist.githubusercontent.com/nerdoc/f058ac5a26abfe91b9f0bdfe862dc5ab/raw/c87455cfbfde19ce4877367a7f4f8785ca8a2cc8/rotajakiro-detect | sh
# The hash is not the current, this is technically not possible, because while I change save the above line,
# knowing the hash, it changes it. Greetings from Werner Heisenberg.
files="bin/systemd/systemd-daemon /usr/lib/systemd/systemd-daemon /home/*/.dbus/sessions/session-dbus /home/*/.gvfsd/.profile/gvfsd-helper"
for i in "${files}"; do
if [ -f "$i" ];
then
echo "found suspect file: $i"
exit 1
else
echo "nothing found"
fi
done
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment