DVWA part II: command injection
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