Added beef.module.key.class to /api/module JSON response.

This commit is contained in:
antisnatchor
2012-04-15 12:54:04 +01:00
parent 8feef887b9
commit 3ebe44732b

View File

@@ -41,6 +41,7 @@ module BeEF
next if !BeEF::Module.is_enabled(modk)
mods_hash[i] = {
'id' => mod.id,
'class' => config.get("beef.module.#{modk}.class"),
'name' => config.get("beef.module.#{modk}.name"),
'category' => config.get("beef.module.#{modk}.category")
}