Table of Contents 1. into outfile Conditions of use Write to webshell 2. –os-shell –sql-shell This article introduces several methods of using sql injection to obtain system permissions. One is to use the outfile function, and the other is to use –os-shell. 一. into outfile Conditions of use 1. Prerequisites for using this method The […]
Tag: shell
Shell script practical case—Using third-party tools to back up the database
Case: MySQL backup script based on Innobackupex Specific requirements: 1. All preparations for Sunday 2. Incremental backup from Monday to Saturday 3. Use backup user for backup Table of Contents 1. Create a user and authorize it 2. Create a database, create a table, and insert data 3. Backup command 4. Conduct analysis: incremental backup […]
RHCE—shell script programming sed
Article Directory Table of Contents Article directory Preface I. Overview working principle 2.sed command parameter: Address character: operate: 3. Cases Use n .=.p to print numbers, numbers 2,$ 1~2: ! semicolon; 1, + 3: /regular expression/ Semicolon represents or relationship special structure 4. Text replacement text replacement Use the address symbol & amp; 5. Text […]
Operating system (Linux) shell shell, user, permissions
Article directory Operating systems and shells Linux users Creation and deletion of ordinary users User switching Linux permissions Linux permission classification File access permissions Modify file permissions permission mask sticky bit Hello everyone, my name is Ji Ning. This article will introduce the Linux shell program and the content of Linux users switching Linux permissions. […]
Linux-Xshell-Jenkins
1. Agile development and continuous integration (CI) 1. What is agile development Agile development takes the evolution of user needs as the core and adopts an iterative and step-by-step approach to software development. In agile development, the software project is divided into multiple sub-projects in the early stages of construction, and the results of each […]
Rust Anti-kill Shellcode Loading and Obfuscation
Foreword These are some records I took when I was learning Rust and Anti-Virus half a year ago. I recently opened the knowledge base and saw this note from half a year ago, and found that in the security communities I often visit, there are relatively few people sharing posts about Rust and Rust Anti-Virus, […]
Shell implements deployment of ftp to provide shared yum warehouse
shell Script implementation script test The script realizes automatic configuration of vsftp and shares the opt directory with other node machines to realize offline source configuration. To use the script, you need to modify the following: ftp_ip is the ftp server ip reponame is the repo file name dir is the warehouse directory, which is […]
Shell script practical case—database backup
Table of Contents 1.Environment preparation 2. Sub-database and table backup of database 2.1 Branch database backup 2.2 Table backup 2.3 Sub-database and sub-table backup Through this shell script practical case, we will learn and understand how to use shell scripts to implement database and table backups. 1. Environment preparation To implement database backup, first we […]
Shell Programming-“Variables”
The difference between single quotes, double quotes and “ in shell name=”hello” echo name echo “$name” echo ‘$name’ echo $name Guess what the output is, actually it is In the shell, variables under double quotes can be parsed, but variables under single quotes cannot. In addition, the results returned by “ wrapped commands can also […]
Rust Anti-kill Shellcode Loading and Obfuscation
Preface These are some records I took when I was learning Rust and Anti-Virus half a year ago. I recently opened the knowledge base and saw this note from half a year ago, and found that in the security communities I often visit, there are relatively few people sharing posts about Rust and Rust Anti-Virus, […]