惊现乌云的漏洞裤被共享出来!

admin
28990admin首席执行运营官
2017-07-17 02:42:44
28990 2017-07-17 02:42:44
黑客话题: 乌云



有人把乌云的知识库共享出来了,十分感谢贡献者。真是尴尬,现在才知道
于是本人想把这套程序搭建服务器上
我的服务器是ubuntu,乌云的知识库数据库大小是600多M
因此要先安装个mysql
语法如下
sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install libmysqlclient-dev

==========创建用户==========
CREATE DATABASE wooyun DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE edutest DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE USER 'wooyun'@'localhost' IDENTIFIED BY '123123';  #创建用户
CREATE USER 'edutest'@'localhost' IDENTIFIED BY '123123';  #创建用户

GRANT SELECT  ON wooyun.* TO 'wooyun'@'%';   # 赋予权限
GRANT SELECT  ON edutest.* TO 'edutest'@'%';   # 赋予权限

GRANT ALL ON *.* TO 'wooyun'@'%';
========================
CREATE DATABASE xsstv DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'xsstv'@'localhost' IDENTIFIED BY 'baobei';  #创建用户
GRANT All  ON xsstv* TO 'xsstv'@'%';   # 赋予权限


==========后续==========
坑比的遇到各种问题
mysql_connect()此函数在php5.5中未找到函数的错误问题没有解决
最后干脆换血,全部换成mysqli_connect()函数替换的函数如下

mysqli_connect("localhost","root","root","wooyun")  ;
mysqli_query($conn,"SET NAMES 'UTF8'");        

mysqli_fetch_array()
mysqli_num_rows
mysqli_close($conn)


https://wooyun.xss.tv 乌云漏洞库

本文标题:惊现乌云的漏洞裤被共享出来!
本文作者:admin
本文来自:蚁安黑客官网
转载请注明本文链接:http://bbs.mayidui.net/t713.html
游客
登录黑客论坛后才可以回帖,黑客登录 或者 注册黑客
weixin
蚁安黑客

找黑客工具、找黑客教程、找黑客朋友,你想不到的黑客技术这儿都有!

微信号:baiyiwangan