Page MenuHomeWickedGov Phorge

fuzz.php
No OneTemporary

Size
444 B
Referenced Files
None
Subscribers
None

fuzz.php

#!/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

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)

Event Timeline