Skip to content

Commit

Permalink
Merge pull request #11 from Frissi0n/feature/exploit_descriptions
Browse files Browse the repository at this point in the history
Add descriptions to payloads where available.
  • Loading branch information
Frissi0n authored Dec 3, 2023
2 parents fc7914f + 5a08f63 commit 2727f3b
Show file tree
Hide file tree
Showing 2 changed files with 2,048 additions and 660 deletions.
2 changes: 1 addition & 1 deletion gtfobin_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def process_yaml(filename, key):
doc = yaml.load(content, Loader=yaml.Loader)
if key in doc["functions"]:
binary = os.path.basename(filename).replace(".md", "")
return binary, [payload["code"] for payload in doc["functions"][key]]
return binary, doc["functions"][key]
return None, None


Expand Down
Loading

0 comments on commit 2727f3b

Please sign in to comment.