Knowledge Base

Ask A Question

Questions

0

Please help me i Just in installed Metasploit on windows

but when i try to run the console.bat i get this C:\metasploit>console.bat C:/metasploit/ruby/lib/ruby/site_ruby/2.3.0/rubygems/user_interaction.rb:688:in `initialize': Is a directory @ rb_sysopen - /dev/null (Errno::EISDIR) from C:/metasploit/ruby/lib/ruby/site_ruby/2.3.0/rubygems/user_interaction.rb:688:in `open' from C:/metasploit/ruby/lib/ruby/site_ruby/2.3.0/rubygems/user_interaction.rb:688:in `initialize' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/ui/rg_proxy.rb:10:in `initialize' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:68:in `new' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:68:in `ui=' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:64:in `ui' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/lockfile_parser.rb:108:in `warn_for_outdated_bundler_version' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/lockfile_parser.rb:92:in `initialize' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:63:in `new' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:63:in `initialize' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/dsl.rb:177:in `new' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/dsl.rb:177:in `to_definition' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/dsl.rb:12:in `evaluate' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:25:in `build' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:123:in `definition' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:91:in `setup' from C:/metasploit/ruby/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:9:in `<top (required)>' from C:/metasploit/ruby/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:128:in `require' from C:/metasploit/ruby/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require' from C:/metasploit/ruby/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:39:in `require' C:\metasploit>

Posted by Daniel Murphy 23 days ago

1

SQL Report Help

I need number count of critical, severe and moderate vulnerabilities summary I found this: which does the above. SELECT da.ip_address AS "Asset IP Address", da.host_name AS "Asset Name", fa.critical_vulnerabilities AS "Critical Vulnerabilities", fa.severe_vulnerabilities AS "Severe Vulnerabilities", fa.moderate_vulnerabilities AS "Moderate Vulnerabilities", fa.vulnerabilities AS "Vulnerabilities" FROM dim_asset da JOIN fact_asset fa USING(asset_id) Also, needs to list the ip address, host name, vulnerability, cvss score with a 30,60, 90 day old vulnerabilities. I found this: SELECT to_char(fav.date, 'Mon-YY') AS date, dv.title as "Title", da.ip_address as "Ip Address", da.host_name as "Hostname", dvc.category_name as "Category", CASE WHEN dv.severity_score < '3' THEN 'MODEATE' WHEN dv.severity_score <= '7' THEN 'SEVERE' WHEN dv.severity_score <= '10' THEN 'CRITICAL' ELSE 'Unknown' END AS "Severity", CASE WHEN age(dv.date_published) < '30 days' THEN '<30 days' WHEN age(dv.date_published) <= '60 days' THEN '30-60 days' WHEN age(dv.date_published) <= '90 days' THEN '60-90 days' ELSE '90+ days' END AS "Age" FROM fact_asset_vulnerability_instance AS fav INNER JOIN dim_vulnerability AS dv ON fav.vulnerability_id = dv.vulnerability_id INNER JOIN dim_asset AS da ON fav.asset_id = da.asset_id INNER JOIN dim_vulnerability_category AS dvc ON fav.vulnerability_id = dvc.vulnerability_id GROUP BY to_char(fav.date, 'Mon-YY'), CASE WHEN age(dv.date_published) < '30 days' THEN '<30 days' WHEN age(dv.date_published) <= '60 days' THEN '30-60 days' WHEN age(dv.date_published) <= '90 days' THEN '60-90 days' ELSE '90+ days' END, date_part('year', fav.date), date_part('month', fav.date), dv.title, da.ip_address, da.host_name, dvc.category_name,dv.date_published, dv.severity_score ORDER BY date_part('year', fav.date), date_part('month', fav.date), "Age"; But I dont know how to link them ...ANy suggestion?

Posted by Vanessa villalpando 26 days ago

0

InsightVM console won't start

After the November '18 Windows updates, my InsightVM console won't start. It reaches 94% initialising, then hangs. The log shows the following repeating endlessly: 2018-11-16T11:27:43 [ERROR] [Thread: directory-watcher-file-processor-006] Received an error from the parser: [File: j50tmp.log] -- Unexpected exception com.hierynomus.mssmb2.SMBApiException: STATUS_SHARING_VIOLATION(3221225539/3221225539): Create failed for Windows\System32\dhcp\j50tmp.log at com.hierynomus.smbj.share.Share.receive(Share.java:342) ~[smb-file-service-0.2.4.jar:na] at com.hierynomus.smbj.share.Share.sendReceive(Share.java:322) ~[smb-file-service-0.2.4.jar:na] at com.hierynomus.smbj.share.Share.createFile(Share.java:135) ~[smb-file-service-0.2.4.jar:na] at com.hierynomus.smbj.share.DiskShare.createFileAndResolve(DiskShare.java:79) ~[smb-file-service-0.2.4.jar:na] at com.hierynomus.smbj.share.DiskShare.open(DiskShare.java:69) ~[smb-file-service-0.2.4.jar:na] at com.hierynomus.smbj.share.DiskShare.openFile(DiskShare.java:144) ~[smb-file-service-0.2.4.jar:na] at com.rapid7.net.smb.impl.SmbjRandomAccessFile.read(SmbjRandomAccessFile.java:57) ~[smb-file-service-0.2.4.jar:na] at com.rapid7.razor.collector.common.FileProcessor.readLines(FileProcessor.java:510) [collector-plugin-common-0.6.11.jar:na] at com.rapid7.razor.collector.common.FileProcessor.processNormalFile(FileProcessor.java:403) [collector-plugin-common-0.6.11.jar:na] at com.rapid7.razor.collector.common.FileProcessor.processFile(FileProcessor.java:260) [collector-plugin-common-0.6.11.jar:na] at com.rapid7.razor.collector.common.FileProcessor.run(FileProcessor.java:100) [collector-plugin-common-0.6.11.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_162] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_162] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_162] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_162] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_162] This appears to be related to our DHCP discovery Sites, and may be a file lock on the .log file. A couple of similar logs show locks on the temp.edb file and j50.log files. We have connections into ~15 DHCP servers so stopping each server to unlock the file will be difficult. I haven't seen this issue when starting the console previously.

Posted by Tim Lovegrove about a month ago

0

how to sole this?

/opt/metasploit-framework/embedded/framework/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb:24:in `initialize': uninitialized constant Msf::Handler::ReverseTcp (NameError) from /opt/metasploit-framework/embedded/framework/lib/msf/core/payload_set.rb:198:in `new' from /opt/metasploit-framework/embedded/framework/lib/msf/core/payload_set.rb:198:in `add_module' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/loading.rb:73:in `on_module_load' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/base.rb:183:in `load_module' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/base.rb:238:in `block in load_modules' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/directory.rb:49:in `block (2 levels) in each_module_reference_name' from /opt/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/rex-core-0.1.13/lib/rex/file.rb:133:in `block in find' from /opt/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/rex-core-0.1.13/lib/rex/file.rb:132:in `catch' from /opt/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/rex-core-0.1.13/lib/rex/file.rb:132:in `find' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/directory.rb:40:in `block in each_module_reference_name' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/directory.rb:30:in `foreach' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/directory.rb:30:in `each_module_reference_name' from /opt/metasploit-framework/embedded/framework/lib/msf/core/modules/loader/base.rb:237:in `load_modules' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/loading.rb:119:in `block in load_modules' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/loading.rb:117:in `each' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/loading.rb:117:in `load_modules' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/module_paths.rb:40:in `each' from /opt/metasploit-framework/embedded/framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path' from /opt/metasploit-framework/embedded/framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths' from /opt/metasploit-framework/embedded/framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each' from /opt/metasploit-framework/embedded/framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths' from /opt/metasploit-framework/embedded/framework/lib/msf/ui/console/driver.rb:199:in `initialize' from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:62:in `new' from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:62:in `driver' from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:48:in `start' from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/base.rb:82:in `start' from /opt/metasploit-framework/bin/../embedded/framework/msfconsole:49:in `<main>'

Posted by vsly about a month ago