https://github.com/rhymeswithmogul/security-txt-parser
Fetch and parse a website's security.txt file.
https://github.com/rhymeswithmogul/security-txt-parser
foudil parser php php7 reporting-tool security-audit security-automation security-research security-researcher security-team security-testing security-tools security-txt
Last synced: 4 months ago
JSON representation
Fetch and parse a website's security.txt file.
- Host: GitHub
- URL: https://github.com/rhymeswithmogul/security-txt-parser
- Owner: rhymeswithmogul
- License: agpl-3.0
- Created: 2019-09-17T03:58:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-29T17:14:44.000Z (almost 4 years ago)
- Last Synced: 2025-04-05T14:35:12.007Z (9 months ago)
- Topics: foudil, parser, php, php7, reporting-tool, security-audit, security-automation, security-research, security-researcher, security-team, security-testing, security-tools, security-txt
- Language: PHP
- Homepage: https://colincogle.name/made/security-txt-parser/
- Size: 47.9 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
- Security: security-txt-parser.php
- Authors: AUTHORS
Awesome Lists containing this project
README

# security-txt-parser
Fetch and parse a website's security.txt file. It is compliant with the specification as defined by [draft-foudil-securitytxt-12](https://datatracker.ietf.org/doc/draft-foudil-securitytxt/12/).
## System Requirements
This code requires PHP 7, with the GnuPG and cURL modules installed.
## Installation Instructions
Simply download the file security-txt-parser.php and place it somewhere on your web server. Users will not access this file directly.
1. On another PHP web page, add an HTML form. The action should be the current page, and you can use either the GET or POST methods.
2. Add a text field with the name **uri**.
3. Wherever you'd like security-txt-parser's output, include its file with either `include_once` or `require_once`.
For example:
````php
Type a URI:
````