KaliLinux penetration testing system experience sharing

Source: Internet
Author: User
Tags kali linux
Thanks to the SuperMan shipping version: because it is based on Debian, then use Debian of the Chinese process, command: dpkg-reconfigurelocales select character encoding: en_US.UTF-8, zh_CN.GBK, zh_CN.UTF-8 select character: zh_CN.UTF-8 after setting the reboot Chinese input method: Command: apt-getinstal

Thanks for delivery by SuperMan

Versioning:

Because it is based on Debian, Debian's localization process is required,

Command:

Dpkg-reconfigure locales

Select character encoding: en_US.UTF-8, zh_CN.GBK, zh_CN.UTF-8

Select character: zh_CN.UTF-8

Reboot after setting

Chinese input method:

Command:

Apt-get install ibus-pinyin

After reboot, right-click the input method icon in the upper right corner-> preference-> Input method + Chinese-> Advanced (check that all programs share the same input method)

VPN:

After network-manager-pptp-gnome is installed, the Add button of the VPN menu of the network manager can be used.

Run Metasploit Framework:

According to the Kali Linux network service policy, Kali does not automatically start network services, including database services. therefore, to enable Metasploit to run in a database-supported manner, some necessary steps are required,

Start the PostgreSQL service of Kali

Metasploit uses PostgreSQL as a database, so you must first run it

Service PostgresqlStart

You can use the ss-ant output to check whether PostgreSQL is running, and then confirm that Port 5432 is in the listening status.

State Recv-Q Send-Q Local Address: Port Peer Address: Port

LISTEN 0 128: 22 :::*

LISTEN 0 128 *: 22 *:*

LISTEN 0 128 127.0.0.1: 5432 *:*

LISTEN 0 128: 1: 5432 :::*

StartKaliOfMetasploitService:

As PostgreSQL starts and runs, we need to run the Metasploit service,

When you run the service for the first time, you will create an msf3 database user and a database named msf3. you will also run Metasploit RPC and the required WEB server.

Service metasploit start

InKaliRunMsfconsole:

Now PostgreSQL and Metasploit services are running. you can run msfconsole and then run the db_status command to check database connectivity.

Msfconsole
Msf> db_status
[*] Postgresql connected to msf3
Msf>

ConfigurationMetasploitRun as the system starts:

If you want PostgreSQL and Metasploit to run at startup, you can use the update-rc.d to enable the service

Update-rc.d postgresql enable
Metasploit enable update-rc.d
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.