Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4090694
fuzz.php
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
444 B
Referenced Files
None
Subscribers
None
fuzz.php
View Options
#!/usr/bin/env php
<?php
/**
* Generate pseudorandom input, and run it in both Remex and Html5Depurate.
* Flag any cases where the results differ.
*/
use
Wikimedia\RemexHtml\Tools\FuzzTest
;
if
(
PHP_SAPI
!==
'cli'
)
{
exit
;
}
require
__DIR__
.
'/../vendor/autoload.php'
;
if
(
!
isset
(
$argv
[
2
]
)
)
{
echo
"Usage: fuzz.php <length> <url>
\n
"
;
exit
(
1
);
}
$fuzzTest
=
new
FuzzTest\FuzzTest
(
$argv
[
1
],
$argv
[
2
]
);
$fuzzTest
->
execute
();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 18 2026, 11:13 (5 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/c3/eefc9e59183ec6e550fd612a5752
Default Alt Text
fuzz.php (444 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment