Test log files for command injection
To test for command injection in log files, try injecting a semicolon followed by a command, such as ;id>/tmp/attacker, into a log record. If the log file is not properly sanitized, the command may be executed by the system. Look for any indication that the command was executed,…