Skip to content

Commit

Permalink
Merge pull request #27 from kaplanelad/feature/base-check-history
Browse files Browse the repository at this point in the history
mark history | sh/bash as risky command
  • Loading branch information
kaplanelad authored Jan 3, 2022
2 parents 5092cd5 + 0af7c15 commit 36db72c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion checks/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
is: ":(){ :|: & };:"
method: Contains
enable: true
description: "This short line defines a shell function that creates new copies of itself.\nThe process continually replicates itself, and its copies continually replicate themselves, quickly taking up all your CPU time and memory.\nThis can cause your computer to freeze. It’s basically a denial-of-service attack."
description: "This short line defines a shell function that creates new copies of itself.\nThe process continually replicates itself, and its copies continually replicate themselves, quickly taking up all your CPU time and memory.\nThis can cause your computer to freeze. It’s basically a denial-of-service attack."
- from: base
is: \s*history.*.[|].*.(bash|sh)
method: Regex
enable: true
description: "You are going to executes every command from the command log that you have already executed."

0 comments on commit 36db72c

Please sign in to comment.