Cloud Security

From OasisSoftTech.com - Knowledge Base/Java/Springframework/Microservices/Cloud-AWS/AI
Revision as of 16:39, 9 January 2021 by Rasimsen (talk | contribs)
Jump to: navigation, search

Notes

nmap installation/Debian Linux

Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.


to install nmap on debian server:

$ apt-get install nmap

listen any port:

$ nmap -sV 192.168.56.1

resource:


Installing Curl on Debian

$ sudo apt install curl

How to Install Metasploit Framework on Ubuntu/Debian

Download Metasploit installer using wget or curl command.

$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall

Once the script is downloaded, make it executable.

$ chmod +x msfinstall

Then execute the installer to install Metasploit Framework on Debian.

$ ./msfinstall

The installer script will add Metasploit Framework repository to your repository list and install all tools required. If you have slower internet, the download may take a while.

Check your Framework version using:

$ msfconsole --version

When installation is completed, create and initialize the msf database.

$ msfdb init

This will create an initial database schema, set service account and start services. Output similar to below should be printed.

Use printed credentials to access MSF Web Service & API.

Launching msfconsole

Now that database is initialized, you can launch msfconsole

$ msfconsole

Verify database connectivity with the db_status command as shown below.

$ msf6 > db_status


Updating Metasploit Framework

$ msfupdate