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

Best Email APIs for Secure Business Email: Why Developers Are Moving Beyond SMTP

Email is still one of the most important communication channels inside modern applications. Password resets,…

10 hours ago

Nginx Commands in Linux: Start, Stop, Reload, Test, and Log

Nginx is a high-performance web server and reverse proxy trusted by some of the largest…

3 days ago

ufw Command in Linux: Manage Firewall Rules with Examples

ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…

3 days ago

who Command in Linux: Show All Logged-In Users and Sessions

When you share a server with a team or investigate unexpected activity, the first question…

3 days ago

file Command in Linux: Identify File Types Without Extensions

The file command inspects the actual contents of a file and reports its type — regardless of…

5 days ago

chattr Command in Linux: Set File Attributes with lsattr

chattr sets and removes special file attributes that operate at the filesystem level, separate from standard…

5 days ago