summaryrefslogtreecommitdiff
path: root/test/test-pages/ars-1
diff options
context:
space:
mode:
authorFiveFilters.org <[email protected]>2021-08-11 23:46:14 +0200
committerFiveFilters.org <[email protected]>2021-08-11 23:46:14 +0200
commit618a3c5a2c7e15efc7957dcb8c5da62526681dbc (patch)
treea41461fe6604e03b626fb3af5ee76b25c6d5ba71 /test/test-pages/ars-1
parent70287db73ace7e97dd4367f30208a792f4bafb63 (diff)
Update test pages to use HTML5PHP output as expected output
Diffstat (limited to 'test/test-pages/ars-1')
-rw-r--r--test/test-pages/ars-1/expected.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/test-pages/ars-1/expected.html b/test/test-pages/ars-1/expected.html
index 0aecf6e..30ab17d 100644
--- a/test/test-pages/ars-1/expected.html
+++ b/test/test-pages/ars-1/expected.html
@@ -1,6 +1,12 @@
<div itemprop="articleBody">
- <figure><img height="331" src="http://cdn.arstechnica.net/wp-content/uploads/2015/04/server-crash-640x426.jpg" width="640"></img><figcaption>
- </figcaption></figure><p>A flaw in the wildly popular online game <em>Minecraft</em> makes it easy for just about anyone to crash the server hosting the game, according to a computer programmer who has released proof-of-concept code that exploits the vulnerability.</p>
+ <figure> <img src="http://cdn.arstechnica.net/wp-content/uploads/2015/04/server-crash-640x426.jpg" width="640" height="331">
+ <figcaption>
+
+ </figcaption>
+ </figure>
+
+
+ <p>A flaw in the wildly popular online game <em>Minecraft</em> makes it easy for just about anyone to crash the server hosting the game, according to a computer programmer who has released proof-of-concept code that exploits the vulnerability.</p>
<p>"I thought a lot before writing this post," Pakistan-based developer Ammar Askar wrote in a <a href="http://blog.ammaraskar.com/minecraft-vulnerability-advisory">blog post published Thursday</a>, 21 months, he said, after privately reporting the bug to <em>Minecraft</em> developer Mojang. "On the one hand I don't want to expose thousands of servers to a major vulnerability, yet on the other hand Mojang has failed to act on it."</p>
<p>The bug resides in the <a href="https://github.com/ammaraskar/pyCraft">networking internals of the <em>Minecraft </em>protocol</a>. It allows the contents of inventory slots to be exchanged, so that, among other things, items in players' hotbars are displayed automatically after logging in. <em>Minecraft</em> items can also store arbitrary metadata in a file format known as <a href="http://wiki.vg/NBT">Named Binary Tag (NBT)</a>, which allows complex data structures to be kept in hierarchical nests. Askar has released <a href="https://github.com/ammaraskar/pyCraft/tree/nbt_exploit">proof-of-concept attack code</a> he said exploits the vulnerability to crash any server hosting the game. Here's how it works.</p>
<blockquote>