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

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

2 days ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

2 days ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

3 days ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

3 days ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

3 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

3 days ago