Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 19:49:13.372039]
1	0	1	0.000362	393528
1	3	0	0.000519	406552	{main}	1		/var/www/html/uploads/xmlparser.php	0	0
1		A						/var/www/html/uploads/xmlparser.php	14	$streamPrefix = 'file://'
2	4	0	0.000593	406552	array_slice	0		/var/www/html/uploads/xmlparser.php	17	2	NULL	1
2	4	1	0.000616	406616
2	4	R			NULL
1		A						/var/www/html/uploads/xmlparser.php	17	$arguments = NULL
2	5	0	0.000642	406552	current	0		/var/www/html/uploads/xmlparser.php	18	1	NULL
2	5	1	0.000661	406584
2	5	R			NULL
1		A						/var/www/html/uploads/xmlparser.php	18	$xmlFile = NULL
2	6	0	0.000686	406552	sys_get_temp_dir	0		/var/www/html/uploads/xmlparser.php	23	0
2	6	1	0.000699	406592
2	6	R			'/tmp'
2	7	0	0.000713	406592	tempnam	0		/var/www/html/uploads/xmlparser.php	24	2	'/tmp'	'xxe-php-target'
2	7	1	0.000758	406712
2	7	R			'/tmp/xxe-php-targetBQDzkD'
1		A						/var/www/html/uploads/xmlparser.php	24	$target = '/tmp/xxe-php-targetBQDzkD'
2	8	0	0.000787	406616	file_put_contents	0		/var/www/html/uploads/xmlparser.php	28	2	'/tmp/xxe-php-targetBQDzkD'	'Sensitive data'
2	8	1	0.000889	406800
2	8	R			14
1		A						/var/www/html/uploads/xmlparser.php	30	$streamPath = 'file:///tmp/xxe-php-targetBQDzkD'
1		A						/var/www/html/uploads/xmlparser.php	35	$xml = '<!DOCTYPE scan [<!ENTITY test SYSTEM "file:///tmp/xxe-php-targetBQDzkD">]><scan>&test;</scan>'
2	9	0	0.000936	406920	libxml_disable_entity_loader	0		/var/www/html/uploads/xmlparser.php	42	1	FALSE
2	9	1	0.000950	406952
2	9	R			FALSE
2	10	0	0.000964	406920	libxml_use_internal_errors	0		/var/www/html/uploads/xmlparser.php	46	1	FALSE
2	10	1	0.000978	406960
2	10	R			FALSE
1	3	1	0.001012	407280
1	11	0	0.001020	407312	Error->__toString	0		Unknown	0	0
2	12	0	0.001033	407392	Error->getTraceAsString	0		Unknown	0	0
2	12	1	0.001045	407648
2	12	R			'#0 {main}'
1	11	1	0.001061	407944
1	11	R			'Error: Call to undefined function xml_parser_create() in /var/www/html/uploads/xmlparser.php:50\nStack trace:\n#0 {main}'
			0.001109	328640
TRACE END   [2023-02-12 19:49:13.372844]

