2025 marks a 37% rise in deepfake-led cyber attacks targeting enterprise systems.

icon icon icon

admin |

Read to Know about Working with Nexpose GEM – Guide

Read to Know about Working with Nexpose GEM – Guide

In my previous blog post i have explained about Nexpose GEM Installation with Ruby API. – Click to Read the blog post

Below I am explaining here its working with Nexpose GEM

  1. In your terminal type irb to launch Ruby interpreter
  2. Enter the following lines to enter Gem and setup connection to a security console

               require ‘nexpose’

              nsc =Nexpose::Connection.new(‘localhost’, ’username’, ‘password’)

Be sure that you have set the correct IP or HostnameUsername and Password for your Security Console.

Enter the following lines to log in to Nexpose and list all sites

              nsc.login

             nsc.list_sites

When you are finished interacting with Nexpose session, you should logout to ensure the session is freed up

             nsc.logout

             exit

In my next blog post i will explain how to Convert CSV to JSON with Ruby Script .. Keep Reading.!

icon icon
icon
innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies innovative companies
icon icon