Last active
May 19, 2021 09:33
-
-
Save nerdoc/f058ac5a26abfe91b9f0bdfe862dc5ab to your computer and use it in GitHub Desktop.
simple detect script for RotaJakiro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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