The simple configuration of Raspberry Pi after installing Kali

Source: Internet
Author: User

Raspberry Pi can be said to be a geek's favorite, can be customized according to different needs.

The previous article, "Using Raspberry Pi and Kali Linux to build portable penetration kits," says some of the basics of using Raspberry Pi, mainly focusing on using Raspberry Pi as a physical backdoor. I prefer to use Raspberry Pi as a server, to do some Metasploit session bounce, xssme and other lightweight penetration testing business.

Hardware:

2 32G SD Card

Software:

kali-2.0. 1-rpi

: Http://images.kali.org/kali-2.0.1-rpi2.img.xz

0X01 Extended Partition

The Raspberry Pi does not use the entire SD card space by default, so it needs to expand the partition

The best extension tool for Raspberry Pi is raspi-config, which is also present in the source of Kali1, but is removed in version 2.0 and has to be installed manually.

First download the latest raspi-config from http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/and then resolve the dependencies:

apt-get install Triggerhappy lua5. 1  alsa--I. raspi-config_20151019_all.deb

In terminal input Raspi-config, double press two times OK key, reboot can.

This makes it possible to fully use the SD card space.

0x02 Installing Kali Components

Download the image is mainly Kali operating system, can be considered as Kali framework, in addition to nmap,sqlmap these well-known tools, other penetration tools such as Metasploit is not installed by default, to use the full functionality of Kali, you need to fill the missing tools.

First run the Apt-get update cache:

Apt-cache Search kali-

You can see some of the Kali component packages:

To reduce the hassle, load all the components:

apt-get Install Kali-linux-all

Download 2G, fully decompress nearly 5G, Khan. Or use screen to put down the backstage.

Download and install it took nearly four hours, to be cautious, it is best to restart the Raspberry Pi after the installation is complete.

0x03 Metasploit Connection Database

Metasploit the database is not connected by default and needs to be configured:

Run/etc/init.d/postgresql start database, in order to boot, it is recommended to write into the/etc/rc.local file:

# su [email protected]:/root$ psqlpostgres"msf3"'s1riu5  '  nocreatedb;postgres'msfdb "with owner="  MSF3";

To modify a database configuration file:

Edit DATABASE.ML

Still not connected, rebuild the cache.

Db_connect Msf3:[email protected]:5432/msfdb

0X04 Configuration VNC

SSH is simple and convenient, but sometimes it is inseparable from the graphical interface, in the terminal input Vncserver can open the VNC service:

Just find a vnc-view connection.

Graphics interface really big card, can not use.

This is followed by mapping the open port of the Raspberry Pi to the public network.

Reference

Http://221.173.128.5:8011/file/view?fl=1910-Raspberry%E5%AE%89%E8%A3%85Kali2

http://www.malos-ojos.com/?p=794

Http://www.tuicool.com/articles/AJ32eqi

The simple configuration of Raspberry Pi after installing Kali

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.