Get the App
SLTechnology News&Howtos  ›  Network Security  › 

DVWA part II: command injection

Shulou Source: shulou.com Published: 2022-06-01 03:28:50 10月05日 Update

1 introduction of test environment

The test environment is the DVWA module in the OWASP environment

2 Test description

Command connector:

Command1 & & command2 executes command1 first and then command2

Command1 | command2 only executes command2

Command1 & command2 executes command2 first and then command1

The above three connectors are supported in both windows and linux environments

If the program is not filtered, then we can execute multiple system commands through connectors.

3 Test steps

Enter the command "1.1.1.1 & & ps" and execute the ps command

Execute "1.1.1.1 & & ls" and you can see the files and directories in the current directory

Execute the command "1.1.1.1 | ls"

Execute the "1.1.1.1 & ls" command

Tags: Commands environments tests directories can be passed multiple files modules steps programs systems results top three support input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi MariaDB vpn Apple