Vulnerability: File Inclusion

File 3


Welcome back " . dvwaCurrentUser() . "
Your IP address is: {$_SERVER[ 'REMOTE_ADDR' ]}
"; if( array_key_exists( 'HTTP_X_FORWARDED_FOR', $_SERVER )) { $page[ 'body' ] .= "Forwarded for: " . $_SERVER[ 'HTTP_X_FORWARDED_FOR' ]; $page[ 'body' ] .= "
"; } $page[ 'body' ] .= "Your user-agent address is: {$_SERVER[ 'HTTP_USER_AGENT' ]}
"; if( array_key_exists( 'HTTP_REFERER', $_SERVER )) { $page[ 'body' ] .= "You came from: {$_SERVER[ 'HTTP_REFERER' ]}
"; } $page[ 'body' ] .= "I'm hosted at: {$_SERVER[ 'HTTP_HOST' ]}

[back]

More info

\n"; ?>