This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: prototype-pollution-gadget-detector | |
| info: | |
| name: Prototype Pollution Gadget Detector | |
| author: nullenc0de | |
| severity: high | |
| description: | | |
| Detects potential prototype pollution gadgets in web applications that could lead to SSRF, RCE or information disclosure. | |
| # References for the issue | |
| reference: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": 0, | |
| "request": { | |
| "method": "GET", | |
| "baseURL": "https://{TARGET}.atlassian.net", | |
| "path": [ | |
| "/secure/Signup!default.jspa" | |
| ], | |
| "body": null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import sys | |
| from collections import Counter | |
| def analyze_openapi_spec(spec): | |
| endpoint_count = 0 | |
| request_count = 0 | |
| endpoints = [] | |
| method_counts = Counter() | |
| parameter_counts = Counter() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class IPv6Packet: | |
| def __init__(self, main_header_length, extension_headers): | |
| self.main_header_length = main_header_length | |
| self.extension_headers = extension_headers | |
| def process_packet(packet): | |
| total_length = packet.main_header_length | |
| # Vulnerable loop: doesn't check for integer underflow | |
| for header_length in packet.extension_headers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: suspicious-extensions-rce | |
| info: | |
| name: Suspicious File Extensions - Potential RCE | |
| author: Nullenc0de | |
| severity: medium | |
| description: Detects files with potentially suspicious extensions that could be used for Remote Code Execution (RCE). Scan your AppData folder. | |
| file: | |
| - extensions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Configuration | |
| LOCAL_PORT=8834 | |
| JUMP_SERVER="ubuntu@blah.compute-1.amazonaws.com" | |
| JUMP_KEY="./ssh.pem" | |
| NESSUS_SERVER="kali@x.x.x.x" | |
| NESSUS_KEY="./ssh.pem" | |
| NESSUS_PORT=8834 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: aws-cognito-misconfiguration-markers | |
| info: | |
| name: AWS Cognito Misconfiguration Markers | |
| author: nullenc0de | |
| severity: high | |
| description: Detects potential AWS Cognito misconfigurations by searching for sensitive markers in JavaScript files. | |
| reference: https://www.yassineaboukir.com/talks/NahamConEU2022.pdf | |
| tags: aws,cognito,misconfiguration,javascript |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ip.src in { | |
| 4.0.0.0/8 | |
| 9.0.0.0/8 | |
| 13.0.0.0/8 | |
| 20.0.0.0/8 | |
| 23.96.0.0/13 | |
| 40.0.0.0/8 | |
| 51.0.0.0/8 | |
| 52.0.0.0/8 | |
| 57.0.0.0/8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Function to add items to the todo list | |
| add_to_todo() { | |
| local item="$1" | |
| echo "$item" >> "${folder_name}/todo.txt" | |
| } | |
| # Function to send alerts via webhook | |
| send_alert() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Set the proxy server and port | |
| PROXY_SERVER="127.0.0.1" | |
| PROXY_PORT="8080" | |
| # Install Proxychains4 | |
| echo "Installing Proxychains4..." | |
| sudo apt-get update | |
| sudo apt-get install -y proxychains4 |