Installation of metasploit common method in Debian, ubuntu

There are a number of ways to get the github downloaded and installed, which can be but very slow and updated, and here’s the faster way.

 

vim /etc/apt/sources.list

Add a domestic kali source based on the original source, where the source of the telecommunication cloud is different from the extranet domain name.

 

Deb http://mirrors.cloud.tencent.com/kali/ kali-rolling main contrib non-free deb-src http://mirrors.cloud.tencent.com/kali/ kali-rolling main contrib non-free

2. Add digital signatures

 

wget -q -O – https://archive.kali.org/archive-key.asc | apt-key add

3. Installation of msf

 

apt update&&apt install metaspliot-framework -y

Update msf

 

apt update; apt install metasploit-framework

Add Digital Certificate

$wget archive.kali.org/archive-key.asc   //下载签名
$apt-key add archive-key.asc   //安装签名

Update Package List

$apt-get update

0x2 Installation of postgresql

Add postgresql source

deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main

Install postgresql

$wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -

/ Add Digital Certificate

$apt-get update
$apt-get install postgresql

0x3 installation metasploit-framework

$apt-get install metasploit-framework #so easy

0x4 initialize metastloit-framework

$msfdb init 

0x5 complete installation, check

msf start

$msfconsole

Test database connection

msf>db_status

Postgresql connected to xx indicates that the database connection is normal

Error reporting: warning: deprecated object#=is called on Integer; it always returns string. This is the path I report problems, open files, jump to 84 lines Swap SIMPLE_INT and config, then add.to_s (the link database is not reported wrong because no config, msfkonsole is not revolving string, resulting in unconnected)

     def self.type_cast_config_to_integer(config)
              if SIMPLE_INT =~ config.to_s
          config.to_i
        else
          config
        end
      end

 

Other software under kali can also be installed in other Debian systems.

未经允许不得转载:萌萌Apprentissage » Installation of metasploit common method in Debian, ubuntu

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本