Introduction to Perl language
Perl language learning - Introduction
The introduction includes but is not limited to the following contents
Introduction to PerlVersion historyFirst Perl programBasic data types of PerlPerl's operation operator and judgment operatorPerl array operationPerl control structure statementPerl subroutine
Note: Although the logic controller is ...
Added by hardyvoje on Wed, 19 Jan 2022 07:22:20 +0200
CTFshow topic brushing Diary - WEB-PHP feature (Part I 89-115)
Part1
Bypass skills about intval() function
web89
clude("flag.php");
highlight_file(__FILE__);
if(isset($_GET['num'])){
$num = $_GET['num'];
if(preg_match("/[0-9]/", $num)){
die("no no no!");
}
if(intval($num)){
echo $flag;
}
}
It can be recognized as a number by intval, excluding the numbers 0-9
After ...
Added by molave on Wed, 15 Dec 2021 15:56:51 +0200
Using the awk command
Using the awk command
1. What is awk
AWK, a data filtering tool (similar to grep and more powerful than grep), is a data processing engine. It checks the input text based on pattern matching, processes and outputs it line by line. It is usually used in Shell scripts to obtain the specified data. When used alone, it can make statistics on text ...
Added by WeddingLink on Wed, 22 Sep 2021 04:55:45 +0300
awk advanced usage
awk
1, Introduction
AWK is a language for processing text files and a powerful text analysis tool.
AWK is called because it takes the first character of the Family Name of the three founders Alfred Aho, Peter Weinberger, and Brian Kernighan.
2, Basic grammar
//awk [options] 'script command' file name
awk [Option parameters] 'script' va ...
Added by scriptkiddie on Tue, 21 Sep 2021 11:41:10 +0300
if branch structure and for cycle knowledge combing on September 16
September 16
I. if Branch Structure
1. Process Control--Three Structures
1) Sequential structure (default)
Default sequential structure for program execution
Code executes from top to bottom, each code executes only once
2) Branch structure (if)
You can choose to execute a section of code (if) depending on whether the ...
Added by 2DaysAway on Fri, 17 Sep 2021 07:30:16 +0300