Skip to content

Instantly share code, notes, and snippets.

@tomasmetal23
Created March 17, 2021 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasmetal23/7ee05062c7206ad4133a420dc7b5ddb1 to your computer and use it in GitHub Desktop.
Save tomasmetal23/7ee05062c7206ad4133a420dc7b5ddb1 to your computer and use it in GitHub Desktop.
Scritp para borrar minero kdevtmpfsi, kinsing
#!/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