Refactor help plugin, and included metadata to all plugins
This commit is contained in:
+15
-1
@@ -124,4 +124,18 @@ async def handle_command(room, message, bot, prefix, config):
|
||||
room.room_id,
|
||||
f"An error occurred during subdomain enumeration for {domain}. Please try again later."
|
||||
)
|
||||
logging.error(f"Error in subdomains plugin for {domain}: {e}", exc_info=True)
|
||||
logging.error(f"Error in subdomains plugin for {domain}: {e}", exc_info=True)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Plugin Metadata
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Funguy Bot"
|
||||
__description__ = "Subdomain enumeration via CertSpotter"
|
||||
__help__ = """
|
||||
<details>
|
||||
<summary><strong>!subdomains</strong> – Enumerate subdomains</summary>
|
||||
<p><code>!subdomains <domain></code> – Finds subdomains using SSL certificate transparency logs (CertSpotter API).</p>
|
||||
</details>
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user