Exploitation Tools

Contributing Your Work – A Guide To Submitting Exploits On GitHub

To contribute your work to the project you need to create a pull request on the Github where it is hosted.

The pull request should contain all needed information – such as an exploit itself, exploit prerequisites, exploit YAML profile if needed hardware profile, hardware prerequisites and if possible needed hardware verification code.

The pull request would be inspected for possible malicious actions and then merged and added to the installation VM.

There are 5 possible codes for non-DoS exploits:

  • 0 – error
  • 1 – not vulnerable
  • 2 – vulnerable
  • 3 – undefined
  • 4 – none of the 4 states observed (reserved for the toolkit only to identify a problem in the toolkit itself, not in the exploit)

These codes translate into the following wrapper functions that you can import into your exploit code or wrapper:

from bluekit.report import report_vulnerable, report_not_vulnerable, report_error, report_undefined, report_none_of_4_state_observed
  • report_vulnerable(data: str) – report that the target is vulnerable to the exploit
  • report_not_vulnerable(data: str) – report that the target is not vulnerable to the exploit
  • report_error(data: str) – report that there was an error during the execution of an exploit
  • report_undefined(data: str) – for future use
  • report_none_of_4_state_observed(data: str) – for future use

In all functions “data” argument represents the data that would appear in the report and logs.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

15 hours ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

19 hours ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

2 days ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

2 days ago

Bash Functions Explained: Syntax, Examples, and Best Practices

Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…

4 days ago

50+ Essential Linux Commands for Beginners and Experts: A Complete Guide

Introduction Unlock the full potential of your Linux system with this comprehensive guide to essential…

3 weeks ago