We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae47e2 commit 30d7de3Copy full SHA for 30d7de3
lib/msf/ui/console/command_dispatcher/core.rb
@@ -1335,13 +1335,11 @@ def cmd_search(*args)
1335
}
1336
1337
if framework.db and framework.db.migrated and framework.db.modules_cached
1338
- sql_results = search_modules_sql(match)
1339
- return sql_results if sql_results # Patches around #7553
1340
- else
1341
- print_warning("Database not connected or cache not built.")
+ search_modules_sql(match)
+ return
1342
end
1343
1344
- print_warning("Falling back to slow search.")
+ print_warning("Database not connected or cache not built, using slow search")
1345
1346
tbl = generate_module_table("Matching Modules")
1347
[
0 commit comments