@@ -227,8 +227,8 @@ def mock_event(type, module, parent=None):
227227
228228 http_mod = mock_module ("http" , ["URL" , "HTTP_RESPONSE" ])
229229 excavate_mod = mock_module ("excavate" , ["URL_UNVERIFIED" , "WEB_PARAMETER" ])
230- ffuf_mod = mock_module ("ffuf_shortnames " , ["URL_UNVERIFIED" ])
231- ffuf2_mod = mock_module ("ffuf " , ["URL_UNVERIFIED" ])
230+ web_brute_shortnames_mod = mock_module ("web_brute_shortnames " , ["URL_UNVERIFIED" ])
231+ web_brute_mod = mock_module ("web_brute " , ["URL_UNVERIFIED" ])
232232 speculate_mod = mock_module ("speculate" , ["DNS_NAME" , "OPEN_TCP_PORT" , "IP_ADDRESS" , "FINDING" , "ORG_STUB" ])
233233 robots_mod = mock_module ("robots" , ["URL_UNVERIFIED" ])
234234
@@ -237,13 +237,13 @@ def mock_event(type, module, parent=None):
237237 parent = mock_event ("URL_UNVERIFIED" , excavate_mod )
238238 stats .event_produced (mock_event ("URL" , http_mod , parent = parent ))
239239
240- # 2) ffuf_shortnames discovers URL_UNVERIFIED, http verifies → ffuf_shortnames gets credit
240+ # 2) web_brute_shortnames discovers URL_UNVERIFIED, http verifies → web_brute_shortnames gets credit
241241 for _ in range (3 ):
242- parent = mock_event ("URL_UNVERIFIED" , ffuf_mod )
242+ parent = mock_event ("URL_UNVERIFIED" , web_brute_shortnames_mod )
243243 stats .event_produced (mock_event ("URL" , http_mod , parent = parent ))
244244
245- # 3) ffuf discovers URL_UNVERIFIED, http verifies → ffuf gets credit
246- parent = mock_event ("URL_UNVERIFIED" , ffuf2_mod )
245+ # 3) web_brute discovers URL_UNVERIFIED, http verifies → web_brute gets credit
246+ parent = mock_event ("URL_UNVERIFIED" , web_brute_mod )
247247 stats .event_produced (mock_event ("URL" , http_mod , parent = parent ))
248248
249249 # 4) speculate (internal module) creates URL_UNVERIFIED, http verifies → http keeps credit
@@ -267,8 +267,8 @@ def mock_event(type, module, parent=None):
267267
268268 # verify per-module produced counts
269269 assert stats .module_stats ["excavate" ].produced == {"URL" : 5 }
270- assert stats .module_stats ["ffuf_shortnames " ].produced == {"URL" : 3 }
271- assert stats .module_stats ["ffuf " ].produced == {"URL" : 1 }
270+ assert stats .module_stats ["web_brute_shortnames " ].produced == {"URL" : 3 }
271+ assert stats .module_stats ["web_brute " ].produced == {"URL" : 1 }
272272 assert stats .module_stats ["robots" ].produced == {"URL" : 2 }
273273 # http gets credit for speculate's 4 URLs + 2 from OPEN_TCP_PORT = 6
274274 assert stats .module_stats ["http" ].produced == {"URL" : 6 }
@@ -286,9 +286,9 @@ def mock_event(type, module, parent=None):
286286 table_dict = {row [0 ]: row [1 ] for row in rows }
287287 assert table_dict ["http" ] == "6 (6 URL)"
288288 assert table_dict ["excavate" ] == "5 (5 URL)"
289- assert table_dict ["ffuf_shortnames " ] == "3 (3 URL)"
289+ assert table_dict ["web_brute_shortnames " ] == "3 (3 URL)"
290290 assert table_dict ["robots" ] == "2 (2 URL)"
291- assert table_dict ["ffuf " ] == "1 (1 URL)"
291+ assert table_dict ["web_brute " ] == "1 (1 URL)"
292292 assert table_dict ["CNAME" ] == "1 (1 DNS_NAME)"
293293 assert table_dict ["cloudcheck" ] == "1 (1 STORAGE_BUCKET)"
294294 assert "speculate" not in table_dict
0 commit comments