Created
April 29, 2023 20:41
-
-
Save mehdiMj-ir/fe763e6a6fc451155334117d511f60bf to your computer and use it in GitHub Desktop.
kill-kdevtmpfsi.sh
This file contains 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 | |
# kinsing deleteing here | |
PID=$(pidof kinsing) | |
echo "$PID" | |
kill -9 $PID | |
# /tmp/kinsing deleteing here (Some times it will run /tmp path) | |
PID=$(pidof /tmp/kinsing) | |
echo "$PID" | |
kill -9 $PID | |
# kdevtmpfsi deleteing here | |
PID=$(pidof kdevtmpfsi) | |
echo "$PID" | |
kill -9 $PID | |
# /tmp/kdevtmpfsi deleteing here (Some times it will run /tmp path) | |
PID=$(pidof /tmp/kdevtmpfsi) | |
echo "$PID" | |
kill -9 $PID | |
# Delete malware files | |
find / -iname kdevtmpfsi -exec rm -fv {} \; | |
find / -iname kinsing -exec rm -fv {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment