Knowledge Base

Ask A Question

Questions

2

Issues starting Nexpose Security Console.

After installing Nexpose Community Edition, I run `sudo service nexposeconsole start`, and eventually the console exits automatically. In `/opt/rapid7/nexpose/nsc/logs/nsc.log`, the log consistently ends in the following messages after starting the console multiple times. ``` 2018-06-28T19:08:29 [INFO] [Thread: Security Console] [Started: 2018-06-28T19:08:26] [Duration: 0:00:03.206] Completed loading malware data. 2018-06-28T19:08:30 [INFO] [Thread: Security Console] Loaded 41 fingerprint files from /opt/rapid7/nexpose/plugins/fp/builtin. 2018-06-28T19:08:34 [WARN] [Thread: Security Console] Unable to read file: java/AlpineLinuxScanner/plugin.properties com.rapid7.assessment.plugin.PluginException: File cannot be read: plugin.properties at com.rapid7.assessment.plugin.PluginFile.getPluginFile(PluginFile.java:43) ~[assessment-plugins-3.1.0.jar:na] at com.rapid7.framework.load.LoadContentFile.getJavaDirectoryFiles(LoadContentFile.java:54) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentFile.getFile(LoadContentFile.java:40) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.addFileToContentDirectories(LoadContentConfigFiles.java:68) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.lambda$loadPluginPropertyFiles$1(LoadContentConfigFiles.java:57) [framework-11.2.2.jar:na] at java.util.HashMap$KeySet.forEach(HashMap.java:933) ~[na:1.8.0_162] at com.rapid7.framework.load.LoadContentConfigFiles.loadPluginPropertyFiles(LoadContentConfigFiles.java:57) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.getContentConfigDirectories(LoadContentConfigFiles.java:43) [framework-11.2.2.jar:na] at com.rapid7.nexpose.content.service.ContentLoadService.loadContentConfigDirectories(Unknown Source) ~[nxshared.jar:na] at com.rapid7.nexpose.nsc.content.ConsoleContentLoadService.fullContentLoad(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.content.service.ContentServiceRegistry.loadContent(Unknown Source) ~[nxshared.jar:na] at com.rapid7.nexpose.nsc.NSC.initContentManager(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.initSecondarySubsystems(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) ~[nsc.jar:na] 2018-06-28T19:08:34 [WARN] [Thread: Security Console] java/AlpineLinuxScanner/plugin.properties not found 2018-06-28T19:08:34 [WARN] [Thread: Security Console] Unable to read file: java/AppSpiderScanner/plugin.properties com.rapid7.assessment.plugin.PluginException: File cannot be read: plugin.properties at com.rapid7.assessment.plugin.PluginFile.getPluginFile(PluginFile.java:43) ~[assessment-plugins-3.1.0.jar:na] at com.rapid7.framework.load.LoadContentFile.getJavaDirectoryFiles(LoadContentFile.java:54) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentFile.getFile(LoadContentFile.java:40) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.addFileToContentDirectories(LoadContentConfigFiles.java:68) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.lambda$loadPluginPropertyFiles$1(LoadContentConfigFiles.java:57) [framework-11.2.2.jar:na] at java.util.HashMap$KeySet.forEach(HashMap.java:933) ~[na:1.8.0_162] at com.rapid7.framework.load.LoadContentConfigFiles.loadPluginPropertyFiles(LoadContentConfigFiles.java:57) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.getContentConfigDirectories(LoadContentConfigFiles.java:43) [framework-11.2.2.jar:na] at com.rapid7.nexpose.content.service.ContentLoadService.loadContentConfigDirectories(Unknown Source) ~[nxshared.jar:na] at com.rapid7.nexpose.nsc.content.ConsoleContentLoadService.fullContentLoad(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.content.service.ContentServiceRegistry.loadContent(Unknown Source) ~[nxshared.jar:na] at com.rapid7.nexpose.nsc.NSC.initContentManager(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.initSecondarySubsystems(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) ~[nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) ~[nsc.jar:na] 2018-06-28T19:08:34 [WARN] [Thread: Security Console] java/AppSpiderScanner/plugin.properties not found 2018-06-28T19:08:34 [WARN] [Thread: Security Console] Unable to read file: java/OraclePolicyScanner/domino.xml com.rapid7.assessment.plugin.PluginException: File cannot be read: domino.xml at com.rapid7.assessment.plugin.PluginFile.getPluginFile(PluginFile.java:43) ~[assessment-plugins-3.1.0.jar:na] at com.rapid7.framework.load.LoadContentFile.getJavaDirectoryFiles(LoadContentFile.java:54) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentFile.getFile(LoadContentFile.java:40) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.addFileToContentDirectories(LoadContentConfigFiles.java:68) [framework-11.2.2.jar:na] at com.rapid7.framework.load.LoadContentConfigFiles.getContentConfigDirectories(LoadContentConfigFiles.java:46) [framework-11.2.2.jar:na] at com.rapid7.nexpose.content.service.ContentLoadService.loadContentConfigDirectories(Unknown Source) [nxshared.jar:na] at com.rapid7.nexpose.nsc.content.ConsoleContentLoadService.fullContentLoad(Unknown Source) [nsc.jar:na] at com.rapid7.nexpose.content.service.ContentServiceRegistry.loadContent(Unknown Source) [nxshared.jar:na] at com.rapid7.nexpose.nsc.NSC.initContentManager(Unknown Source) [nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.initSecondarySubsystems(Unknown Source) [nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) [nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) [nsc.jar:na] at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) [nsc.jar:na] 2018-06-28T19:08:34 [WARN] [Thread: Security Console] java/OraclePolicyScanner/domino.xml not found 2018-06-28T19:08:35 [WARN] [Thread: Security Console] Cannot update risk scores for new and modified vulnerabilities. A risk model is not defined. ``` How do I fix this problem and get a security console running?

Posted by Raymond Chee 5 months ago

5

Why do i get this error when starting msf? (its too long to google)

root@kali:~# service postgresql start root@kali:~# msfconsole /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `not_after=': bignum too big to convert into `long' (RangeError) from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `sign_jar' from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:118:in `generate_jar' from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:38:in `generate' from /usr/share/metasploit-framework/lib/msf/core/payload.rb:204:in `size' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:158:in `block (2 levels) in recalculate' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `each_pair' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `block in recalculate' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `each_pair' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `recalculate' from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:251:in `block in load_modules' from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `each' from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `load_modules' from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:119:in `block in load_modules' from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `each' from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `load_modules' from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path' from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `each' from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path' from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths' from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each' from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths' from /usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:219:in `initialize' from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new' from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver' from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start' from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start' from /usr/bin/msfconsole:48:in `<main>'

Posted by Zero Nairo 5 months ago