Skip to content

PentHertz/5GC_API_parse

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 20, 2021 21:11
July 18, 2021 11:17
July 22, 2021 12:18

5GC_API_parse

Description

5GC API parse is a BurpSuite extension allowing to assess 5G core network functions, by parsing the OpenAPI 3.0 not supported by previous OpenAPI extension in Burp, and generating requests for intrusion tests purposes.

Burp extension's tab

Installation

Jython installation (required)

java -jar jython-installer-2.7.2.jar
./jython PyYAML-5.4.1/setup.py install
  • Open Burp on Extender / Options
  • In Python Environment, set the location of the Jython JAR to the installed one

5GC API parse

  • Set Extension file to <installation_folder>/5GC_API_parse.py
  • Click Next
  • The addon is now installed, a new tab named 5GC API parse should appear

Usage

Just provide a target address with URL scheme, a port number and a OpenAPI 3.0 file you want to process and voilà:

Burp extension's tab

You are ready to use it in the repeater, intruder to fuzz, etc.

Quick demo:

5GCAPIParser_edit.mp4

Change log

  • 1.2 (07/20/2021): Core reorganization + adding Swagger browsing for associated YAML files and a clear-all button
  • 1.1 (07/20/2021): Fixing errors in headers and adapting default values to actual 5G core
  • 1.0 (05/20/2021): Initial release

About

A BurpSuite extension to parse 5GC NF OpenAPI 3.0 files to assess 5G core networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages