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