139k views
1 vote
Yara!

Write a rule to find PDF files with ANY of the following
strings:
-> /JS
-> /JavaScript
-> One rule to match on the strings mention (I'm not sure how
to do this line)

User Leonth
by
8.3k points

1 Answer

3 votes

Final answer:

To find PDF files with specific strings, you can use a regular expression with the strings you want to match.

Step-by-step explanation:

To write a rule that finds PDF files with any of the following strings: /JS, /JavaScript, or /One rule to match on the strings mention, you can use a regular expression. Regular expressions allow you to search for patterns in text. In this case, you can use the regular expression /JS|/JavaScript|/One rule to match on the strings mention to find PDF files that contain any of those strings.

User Cappittall
by
8.1k points