PHP Management Raspberry Pi

Source: Internet
Author: User

Recently the classmate sent a Raspberry Pi, including an already packed Raspberry Pi Board (the Raspberry Pi box needs to be purchased separately), a power supply, and an SD card with a pre-installed operating system. After a simple connection to the Raspberry Pi, the Raspberry Pi can be accessed with a computer, because there is no buy screen, so other terminals are needed for management.


To facilitate management, install the lamp environment on the Raspberry Pi and then write a simple PHP page with the following code:

<?php $cmd = isset ($_get[' cmd ") &&!empty ($_get[' cmd '])? $_get[' cmd ']: ';? >

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8C/4E/wKiom1hp9oLznRR9AABFyvslLP4545.jpg-wh_500x0-wm_3 -wmp_4-s_1714069962.jpg "title=" executes the command result. jpg "alt=" wkiom1hp9olznrr9aabfyvsllp4545.jpg-wh_50 "/>

The script can run on other Linux platforms because the Raspberry Pi is using the kernel of the Linux operating system.


The php script resembles a word trojan.

This article is from the "Sleep Blog" blog, please be sure to keep this source http://wujue.blog.51cto.com/11999347/1888266

PHP Management Raspberry Pi

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.