Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

An error occured: SimpleXML not loaded.<!DOCTYPE html> <html lang="en-GB"> <head> ..

Decoded Output download

<?  An error occured: SimpleXML not loaded.<!DOCTYPE html> 
 
<html lang="en-GB"> 
 
	<head> 
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
 
		<title>Setup :: Dr Sepehr's Forensics Fun -- stitching (DVWA) v1.10 *Development*</title> 
 
		<link rel="stylesheet" type="text/css" href="dvwa/css/main.css" /> 
 
		<link rel="icon" type="\image/ico" href="favicon.ico" /> 
 
		<script type="text/javascript" src="dvwa/js/dvwaPage.js"></script> 
 
	</head> 
 
	<body class="home"> 
		<div id="container"> 
 
			<div id="header"> 
 
				<img src="dvwa/images/logo.png" alt="Damn Vulnerable Web Application" /> 
 
			</div> 
 
			<div id="main_menu"> 
 
				<div id="main_menu_padded"> 
				<ul class="menuBlocks"><li class="selected"><a href="setup.php">Setup DVWA</a></li> 
<li class=""><a href="instructions.php">Instructions</a></li> 
</ul><ul class="menuBlocks"><li class=""><a href="about.php">About</a></li> 
</ul> 
				</div> 
 
			</div> 
 
			<div id="main_body"> 
 
				 
<div class="body_padded"> 
	<h1>Database Setup <img src="dvwa/images/spanner.png" /></h1> 
 
	<p>Click on the 'Create / Reset Database' button below to create or reset your database.<br /> 
	If you get an error make sure you have the correct user credentials in: <em>/var/www/config/config.inc.php</em></p> 
 
	<p>If the database already exists, <em>it will be cleared and the data will be reset</em>.<br /> 
	You can also use this to reset the administrator credentials ("<em>admin</em> // <em>password</em>") at any stage.</p> 
	<hr /> 
	<br /> 
 
	<h2>Setup Check</h2> 
 
	Web Server SERVER_NAME: <em>www.drsepsforensicsfun.com</em><br /> 
	<br /> 
	Operating system: <em>*nix</em><br /> 
	<br /> 
	PHP version: <em>7.4.3</em><br /> 
	PHP function display_errors: <em>Disabled</em><br /> 
	PHP function safe_mode: <span class="success">Disabled</span><br/ > 
	PHP function allow_url_include: <span class="success">Enabled</span><br/ > 
	PHP function allow_url_fopen: <span class="success">Enabled</span><br /> 
	PHP function magic_quotes_gpc: <span class="success">Disabled</span><br /> 
	PHP module gd: <span class="success">Installed</span><br /> 
	PHP module mysql: <span class="success">Installed</span><br /> 
	PHP module pdo_mysql: <span class="success">Installed</span><br /> 
	<br /> 
	Backend database: <em>MySQL/MariaDB</em><br /> 
	Database username: <em>forensics</em><br /> 
	Database password: <em>******</em><br /> 
	Database database: <em>forensics</em><br /> 
	Database host: <em>127.0.0.1</em><br /> 
	Database port: <em>3306</em><br /> 
	<br /> 
	reCAPTCHA key: <span class="failure">Missing</span><br /> 
	<br /> 
	[User: www-data] Writable folder /var/www/hackable/uploads/: <span class="success">Yes</span><br /> 
	[User: www-data] Writable file /var/www/external/phpids/0.6/lib/IDS/tmp/phpids_log.txt: <span class="success">Yes</span><br /> 
	<br /> 
	<br /> 
	[User: www-data] Writable folder /var/www/config: <span class="success">Yes</span> 
	<br /> 
	<i><span class="failure">Status in red</span>, indicate there will be an issue when trying to complete some modules.</i><br /> 
	<br /> 
	If you see disabled on either <i>allow_url_fopen</i> or <i>allow_url_include</i>, set the following in your php.ini file and restart Apache.<br /> 
	<pre><code>allow_url_fopen = On 
allow_url_include = On</code></pre> 
	These are only required for the file inclusion labs so unless you want to play with those, you can ignore them. 
 
	<br /><br /><br /> 
 
	<!-- Create db button --> 
	<form action="#" method="post"> 
		<input name="create_db" type="submit" value="Create / Reset Database"> 
		<input type='hidden' name='user_token' value='91b049c88b699593600c0fd7ba060b48' /> 
	</form> 
	<br /> 
	<hr /> 
</div> 
				<br /><br /> 
				 
 
			</div> 
 
			<div class="clear"> 
			</div> 
 
			<div id="system_info"> 
				 
			</div> 
 
			<div id="footer"> 
 
				<p>Damn Vulnerable Web Application (DVWA) v1.10 *Development*</p> 
				<script src='/dvwa/js/add_event_listeners.js'></script> 
 
			</div> 
 
		</div> 
 
	</body> 
 
</html> ?>

Did this file decode correctly?

Original Code

An error occured: SimpleXML not loaded.<!DOCTYPE html>

<html lang="en-GB">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

		<title>Setup :: Dr Sepehr's Forensics Fun -- stitching (DVWA) v1.10 *Development*</title>

		<link rel="stylesheet" type="text/css" href="dvwa/css/main.css" />

		<link rel="icon" type="\image/ico" href="favicon.ico" />

		<script type="text/javascript" src="dvwa/js/dvwaPage.js"></script>

	</head>

	<body class="home">
		<div id="container">

			<div id="header">

				<img src="dvwa/images/logo.png" alt="Damn Vulnerable Web Application" />

			</div>

			<div id="main_menu">

				<div id="main_menu_padded">
				<ul class="menuBlocks"><li class="selected"><a href="setup.php">Setup DVWA</a></li>
<li class=""><a href="instructions.php">Instructions</a></li>
</ul><ul class="menuBlocks"><li class=""><a href="about.php">About</a></li>
</ul>
				</div>

			</div>

			<div id="main_body">

				
<div class="body_padded">
	<h1>Database Setup <img src="dvwa/images/spanner.png" /></h1>

	<p>Click on the 'Create / Reset Database' button below to create or reset your database.<br />
	If you get an error make sure you have the correct user credentials in: <em>/var/www/config/config.inc.php</em></p>

	<p>If the database already exists, <em>it will be cleared and the data will be reset</em>.<br />
	You can also use this to reset the administrator credentials ("<em>admin</em> // <em>password</em>") at any stage.</p>
	<hr />
	<br />

	<h2>Setup Check</h2>

	Web Server SERVER_NAME: <em>www.drsepsforensicsfun.com</em><br />
	<br />
	Operating system: <em>*nix</em><br />
	<br />
	PHP version: <em>7.4.3</em><br />
	PHP function display_errors: <em>Disabled</em><br />
	PHP function safe_mode: <span class="success">Disabled</span><br/ >
	PHP function allow_url_include: <span class="success">Enabled</span><br/ >
	PHP function allow_url_fopen: <span class="success">Enabled</span><br />
	PHP function magic_quotes_gpc: <span class="success">Disabled</span><br />
	PHP module gd: <span class="success">Installed</span><br />
	PHP module mysql: <span class="success">Installed</span><br />
	PHP module pdo_mysql: <span class="success">Installed</span><br />
	<br />
	Backend database: <em>MySQL/MariaDB</em><br />
	Database username: <em>forensics</em><br />
	Database password: <em>******</em><br />
	Database database: <em>forensics</em><br />
	Database host: <em>127.0.0.1</em><br />
	Database port: <em>3306</em><br />
	<br />
	reCAPTCHA key: <span class="failure">Missing</span><br />
	<br />
	[User: www-data] Writable folder /var/www/hackable/uploads/: <span class="success">Yes</span><br />
	[User: www-data] Writable file /var/www/external/phpids/0.6/lib/IDS/tmp/phpids_log.txt: <span class="success">Yes</span><br />
	<br />
	<br />
	[User: www-data] Writable folder /var/www/config: <span class="success">Yes</span>
	<br />
	<i><span class="failure">Status in red</span>, indicate there will be an issue when trying to complete some modules.</i><br />
	<br />
	If you see disabled on either <i>allow_url_fopen</i> or <i>allow_url_include</i>, set the following in your php.ini file and restart Apache.<br />
	<pre><code>allow_url_fopen = On
allow_url_include = On</code></pre>
	These are only required for the file inclusion labs so unless you want to play with those, you can ignore them.

	<br /><br /><br />

	<!-- Create db button -->
	<form action="#" method="post">
		<input name="create_db" type="submit" value="Create / Reset Database">
		<input type='hidden' name='user_token' value='91b049c88b699593600c0fd7ba060b48' />
	</form>
	<br />
	<hr />
</div>
				<br /><br />
				

			</div>

			<div class="clear">
			</div>

			<div id="system_info">
				
			</div>

			<div id="footer">

				<p>Damn Vulnerable Web Application (DVWA) v1.10 *Development*</p>
				<script src='/dvwa/js/add_event_listeners.js'></script>

			</div>

		</div>

	</body>

</html>

Function Calls

None

Variables

None

Stats

MD5 f1bbc64eac9935e74b9bf5d8b2efded7
Eval Count 0
Decode Time 32 ms