Installation and use of yara
Environment and installation
Operating system: win10
Installation address: https://github.com/VirusTotal/yara/releases/tag/v4.2.0-rc1
Just under this address
Tool use
Open in cmd directory Command:
yara my_rule my_file
The first parameter is your yara rule file, and the second parameter is the detection file, which can be a directo ...
Added by erupt on Wed, 09 Mar 2022 07:38:38 +0200
JavaScript regular expression
What is a regular expression? Regular expressions are objects that describe character patterns. Regular expressions are search patterns formed by a sequence of characters. Syntax of regular expression: / regular expression body / modifier (optional)
For example:
const exp = /abc/i
/abc/i is a regular expression, where abc is a regular expre ...
Added by Sterculius on Sat, 26 Feb 2022 10:26:49 +0200
Operators --- logical operators, bitwise operators, regular expressions and operator priorities
1, Logical operator
Logical operators are mainly used to judge whether an expression is true or false. In mysql, the return result of logical operators is 1, 0 or NULL. MySQL supports four logical operators as follows:
1.1 logical non operator
Logical non (NOT or!) Operator means to return 1 when the given value is 0Returns 0 when the g ...
Added by dkode on Fri, 25 Feb 2022 02:51:23 +0200
Mobile phone number validation latest regular expression
If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions.
Generally, the form page needs to fill i ...
Added by nate2687 on Sun, 20 Feb 2022 22:53:34 +0200
4. Greed and non greed
1. Greed
Greedy matching: when regular expressions contain qualifiers that can accept repetition, the usual behavior is to match as many characters as possible (on the premise that the whole expression can be matched). This matching method is called greedy matching. Features: read the whole string at one time for matching. Whenever there is ...
Added by cdrees on Sun, 20 Feb 2022 03:18:12 +0200
Regular expressions for headaches
regular expression
Learning regular expressions has always been a headache, but the main reason is that there are too many characters and rules. Therefore, for me, it is because of laziness. I can change this state by summing up carefully and slowly. Regular expression is actually a tool for string pattern matching, so as to realize the func ...
Added by orlandinho on Fri, 18 Feb 2022 18:02:00 +0200
Programming three swordsmen in Shell regular expressions (grep, sed, awk)
preface:
There are many kinds of text processors or text editors in Linux/UNIX system, including VIM editor and grep, which we have learned before.
grep, sed and awk are text processing tools often used in shell programming, which are called three swordsmen of shell programming.
1, sed editor
(1) Overview of sed editor
sed is a flow editor ...
Added by justAnoob on Mon, 14 Feb 2022 14:14:42 +0200
Regular expression explanation of Shell script
I regular expression
1. Concept of regular expression
Regular expression, also known as regular expression, is often abbreviated as regex, regexp or RE in code. It is a concept of computer science. Regular expressions are often used to retrieve and replace text that conforms to a pattern (rule).
There is not only one regular expression, and ...
Added by paxman356 on Mon, 14 Feb 2022 08:29:46 +0200
Dynamic regular expression in Matlab
catalogue
Dynamic regular expression
brief introduction
Dynamic matching expression - (?? expr)
Modify the command matching the expression - (? @ cmd)
Functional requirements of (@ cmd)
Override command in expression - ${cmd}
Dynamic regular expression
brief introduction
In a dynamic expression, you can require regexp to match. The ...
Added by shan169 on Mon, 14 Feb 2022 03:07:26 +0200
Regular expression review
@[TOC] table of contents according to Rookie tutorial Add a few personal understanding and finishing, which can be used to review the knowledge points. For details, please refer to the original link
1. re.match function re match(pattern,string,flags=0)
re.match only matches the beginning of the string. If the beginning of the string does not ...
Added by hoogeebear on Sat, 12 Feb 2022 00:01:17 +0200