Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Option sorting.

smicallef7641bcd4baf3
diff --git a/dyn/opts.tmpl b/dyn/opts.tmpl
index f3bfe3f3..d64483cb 100644
--- a/dyn/opts.tmpl
+++ b/dyn/opts.tmpl
@@ -98,7 +98,7 @@
<thead><tr> <th>Option</th> <th>Value</th></tr></thead>
<tbody>
- % for opt in opts['__modules__'][mod]['opts'].keys():
+ % for opt in sorted(opts['__modules__'][mod]['opts'].keys()):
% if not opt.startswith("_"):
<%
if not opts['__modules__'][mod].has_key('optdescs'):