phpMyAdmin

借题目复现CVE-2018-12613

折月煮酒 提交于 2020-04-17 14:08:44
【推荐阅读】微服务还能火多久?>>> 文件包含 蒻姬我最开始接触这个 是一道 buuoj 的web签到题 进入靶机,查看源代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <!--source.php--> <br><img src="https://i.loli.net/2018/11/01/5bdb0d93dc794.jpg" /></body> </html> 划重点 进入这个php源 <?php highlight_file(__FILE__); class emmm { public static function checkFile(&$page) { $whitelist = ["source"=>"source.php","hint"=>"hint.php"]; if (! isset($page) || !is_string($page)) { echo

Mysql和Oracle的区别

可紊 提交于 2020-04-17 13:15:25
【推荐阅读】微服务还能火多久?>>> 转自: https://blog.csdn.net/star1210644725/article/details/91899117 一、并发性 并发性是oltp数据库最重要的特性,但并发涉及到资源的获取、共享与锁定。 mysql: mysql以表级锁为主,对资源锁定的粒度很大,如果一个session对一个表加锁时间过长,会让其他session无法更新此表中的数据。 虽然InnoDB引擎的表可以用行级锁,但这个行级锁的机制依赖于表的索引,如果表没有索引,或者sql语句没有使用索引,那么仍然使用表级锁。 oracle: oracle使用行级锁,对资源锁定的粒度要小很多,只是锁定sql需要的资源,并且加锁是在数据库中的数据行上,不依赖与索引。所以oracle对并发性的支持要好很多。 二、一致性 oracle: oracle支持serializable的隔离级别,可以实现最高级别的读一致性。每个session提交后其他session才能看到提交的更改。oracle通过在undo表空间中构造多版本数据块来实现读一致性, 每个session查询时,如果对应的数据块发生变化,oracle会在undo表空间中为这个session构造它查询时的旧的数据块。 mysql: mysql没有类似oracle的构造多版本数据块的机制,只支持read

Cannot connect - invalid settings

谁说胖子不能爱 提交于 2020-04-17 09:11:32
问题 I'm using windows 10 & am having all kinds of trouble with Xampp/MySql/PhpMyAdmin, problems which I did not get on Windows 7. So basically I made a Laravel website at work where I still use windows 7, so the password for the MySQL database works fine there. However when I try to login on my website at home (windows 10) I get the 'using password NO' error... So to rectify this error I used the Xampp shell and executed this command: mysqladmin --user=root password "newpassword" which then

Cannot connect - invalid settings

一个人想着一个人 提交于 2020-04-17 09:11:05
问题 I'm using windows 10 & am having all kinds of trouble with Xampp/MySql/PhpMyAdmin, problems which I did not get on Windows 7. So basically I made a Laravel website at work where I still use windows 7, so the password for the MySQL database works fine there. However when I try to login on my website at home (windows 10) I get the 'using password NO' error... So to rectify this error I used the Xampp shell and executed this command: mysqladmin --user=root password "newpassword" which then

超实用的数据库一键安装和管理教程来了

旧街凉风 提交于 2020-04-16 16:03:48
【推荐阅读】微服务还能火多久?>>> 数据库的管理维护工具非常多,除了系统自带的命令行管理工具之外,还有许多其他的管理工具,MySQL 是一个非常流行的小型关系型数据库管理系统,2008年1月16号被 Sun 公司收购。目前 MySQL 被广泛地应用在 Internet 上的中小型 网站中。由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了 MySQL 作为网站数据库。 接下来我为大家详细介绍如何通过运维面板云帮手来一键安装数据库以及管理数据库,包括数据库创建、修改、权限设置、备份和恢复。 一、数据库一键安装 在云帮手面板的 ->环境管理模块中,打开 ->软件市场 里面自带不同版本下的环境组件,支持不同场景下的一键安装环境部署,不用自己搭建框架,极速方便的一键配置安装,对于纯小白来说是非常友好的。 SQL 数据库:MySQL、SQLServer WEB 服务器:IIS、Nginx、Apache FTP 服务器:FileZilla Server 环境框架:PHP、.NET Framework 管理工具:phpMyAdmin、TightVNC 选择数据库的合适版本进行一键安装部署 二、创建数据库 1.点击"添加数据库",显示创建数据库弹框 填写相关信息后,点击"确定" 2.列表中展示已创建好的数据库 三、修改 ROOT 密码 1

PHP MySQL INSERT not inserting nor any error is displayed

☆樱花仙子☆ 提交于 2020-04-12 21:54:27
问题 I have got this code so insert values into a table in MySQL through PHP. I have tried all the possible Insert syntax, it does not insert the data... this are the codes that i used. $param = "xyzxyz"; $param1 = "sdfdfg"; $sql = "INSERT INTO trail (User_Name, Quiz_ID) VALUES ('".$param."','".$param1."')"; $result = $mysql->query($sql); if($result) echo "successful"; else echo mysql->error; if(mysql->errno==0) echo "successful" else echo mysql->error; I even tried the following sql syntax

PHP MySQL INSERT not inserting nor any error is displayed

本小妞迷上赌 提交于 2020-04-12 21:53:32
问题 I have got this code so insert values into a table in MySQL through PHP. I have tried all the possible Insert syntax, it does not insert the data... this are the codes that i used. $param = "xyzxyz"; $param1 = "sdfdfg"; $sql = "INSERT INTO trail (User_Name, Quiz_ID) VALUES ('".$param."','".$param1."')"; $result = $mysql->query($sql); if($result) echo "successful"; else echo mysql->error; if(mysql->errno==0) echo "successful" else echo mysql->error; I even tried the following sql syntax

上云概览——在云服务器上快速搭建个人网站

五迷三道 提交于 2020-04-11 15:45:20
云服务器作为云计算时代重要的产物,以绝对的性能和价格优势逐渐受到企业和个人站长朋友的青睐和使用。那么,对于个人站长而言,如何利用云服务器 搭建个人网站 呢? 通常个人站长主要是搭建一些 Wordpress博客 、Discuz论坛等站点,大多数是使用PHP语言建站,建议使用Linux云服务器,也可以选用 Windows云服务器 。而Linux系统搭建网站主要是以执行命令的形式来完成,不懂命令代码的站长很难去操作。 但如果你是搭建ASP或ASP.net这类网站,那么Windows就是最佳选择,使用起来操作简单,更容易上手。今天,小编就来介绍以下Windows系统下 云服务器怎么搭建网站 。 1、进入云服务器的管理后台,利用后台功能进行分区格式化与挂载数据盘 2、本地使用远程桌面 登录云服务器 3、将需要安装的文件上传至系统:可以通过远程桌面、FTP、云盘等方式上传。 FTP服务安装:点击服务器管理→添加角色→选择Web服务器→IIS管理器→右键添加FTP站点→设置信息无SSL、授权基本、读取与写入勾选。 测试登录输入主机IP,以管理员身份登录。 4、云服务器一般支持一键搭建Web环境: 安装IIS+MySQL+PHP+rewrite IIS指令:点击开始-运行-输入cmd-输入iisreset重置 /start/stop/restart重启 mysql指令:运行-输入cmd

phpMyAdmin configuration storage is not completely configured

北城以北 提交于 2020-04-07 21:27:39
问题 I have installed xampp 5.6.14 on windows. I open phpmyadmin http://localhost/phpmyadmin/ but warning ! The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. Or alternately go to 'Operations' tab of any database to set it up there. ! You are connected as 'root' with no password, which corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really

phpMyAdmin configuration storage is not completely configured

江枫思渺然 提交于 2020-04-07 21:27:09
问题 I have installed xampp 5.6.14 on windows. I open phpmyadmin http://localhost/phpmyadmin/ but warning ! The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. Or alternately go to 'Operations' tab of any database to set it up there. ! You are connected as 'root' with no password, which corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really