Exploit databaseDownload repository ZIP
GH-5096af53cdbd5fde87d4a05a62ede6ed
2003huynhlong21/dvwa
Sources for CVE-2023-39848
53 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files13
2003huynhlong21/dvwaRevision d1332024fd19
- ↑..Parent directory
- help/
- public/
- source/
- src/
- .gitignore
- .htaccess
- README.md
- bootstrap.php
- composer.json
- composer.lock
- gen_openapi.php
- index.php
- openapi.yml
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
vulnerabilities/api/gen_openapi.php
PHP · 482 bytes<?php
require("vendor/autoload.php");
$openapi = \OpenApi\Generator::scan(['./src']);
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Methods: OPTIONS,GET,POST,PUT,DELETE");
header("Access-Control-Max-Age: 3600");
header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");
header('Content-Type: application/x-yaml');
echo $openapi->toYaml();