Exploit databaseDownload repository ZIP
GH-68a106f50640b22c0bb32b6b806a797e
ahallais/php82-ubuntu2404-backport
Sources for CVE-2026-109618
411 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files15
ahallais/php82-ubuntu2404-backportRevision 7995f69c237f
- ↑..Parent directory
- libmagic/
- tests/
- CREDITS
- Makefile.frag
- config.m4
- config.w32
- create_data_file.php
- data_file.c
- fileinfo.c
- fileinfo.stub.php
- fileinfo_arginfo.h
- generate_patch.sh
- libmagic.patch
- magicdata.patch
- php_fileinfo.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
sury/build/php8.2-8.2.35/ext/fileinfo/create_data_file.php
PHP · 472 bytes#!/usr/bin/env php
/* This is a generated file, do not modify */
/* Usage: php create_data_file.php /path/to/magic.mgc > data_file.c */
<?php
$dta = file_get_contents( $argv[1] );
$dta_l = strlen($dta);
$j = 0;
echo "const unsigned char php_magic_database[$dta_l] = {\n";
for ($i = 0; $i < $dta_l; $i++) {
printf("0x%02X, ", ord($dta[$i]));
if ($j % 16 == 15) {
echo "\n";
}
$j++;
}
echo "};\n";
?>