Skip to content

Commit e346f94

Browse files
committed
Fix incorrect xxe xml
1 parent 420afac commit e346f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuggy/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ def xxe(request):
845845
'</people>'
846846
d['xxe_xml'] = '<!DOCTYPE person [<!ENTITY param SYSTEM "file:///etc/passwd">]>\n' \
847847
'<person>\n' \
848-
'<name>&param;</name>\n' \
848+
'<id>&param;</id>\n' \
849849
'</person>'
850850
return render(request, 'xxe.html', d)
851851

0 commit comments

Comments
 (0)