Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

index.php issue #1926

Open
Open

Description

@leoloveisme

Describe the Bug

content of index.php is not shown per default, instead of that I get the listing of the directory's content, which is not ideal.

To Reproduce

https://youtu.be/Wf3mBmgpc1I

Expected Behavior

to show the content of index.php per default

Screenshots

Screenshot 2021-05-14 15:01:43
Screenshot 2021-05-14 15:02:14
Screenshot 2021-05-14 15:06:59
Screenshot 2021-05-14 15:03:30

Environment

  • OS: Ubuntu Linux
  • Beaker Version: Version: 0.8.10 Electron: 8.1.1 - Chromium: 80.0.3987.141 - Node: 12.13.0

Additional Context

content of index.php is not shown per default, instead of that I get the listing of the directory's content, which is not ideal.

See some screenshots below:

Screenshot 2021-05-14 15:01:43
Screenshot 2021-05-14 15:02:14
Screenshot 2021-05-14 15:06:59
Screenshot 2021-05-14 15:03:30

and please also take a look onto 2 minutes something video I uploaded onto YouTube:

If you would make it able to run index.php per default, it would be able to run Wordpress and other php programmed or perl or python programmed projects, you would have many more users, using your browser.

https://youtu.be/Wf3mBmgpc1I

Activity

  1. da2x commented on Jul 27, 2021

    @da2x
    Contributor

    Beaker doesn’t have a PHP, Perl, or Python interpreter and it’s very unlikely it’ll ever get either of these. You can’t run server-side code on the client. It would be a security nightmare to even attempt to safely support these languages. You need to use HTML and JavaScript and do things client-side instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions