搭建xss测试平台


新建xsspaltform,导入数据库

修改config.php文件

执行SQL语句,

update oc_module set code = replace(code,’http://xsser.me’,’http://127.0.0.1/xss’);

打开文件C:\wamp64\www\xss\templates_c\%%08^08A^08AC213A%%register.html.php

修改第八十一行为

<button type=”submit” class=”submit” style=”float:right;”>提交注册</button>

打开

C:\wamp64\www\xss\themes\default\templates\register.html

修改69行为<button type=”submit” class=”submit” style=”float:right;”>提交注册</button>

登陆http://127.0.0.1/xss注册账号

修改数据库xssplatform,oc_user  adminlevel为1

打开C:\wamp64\www\XSS\config.php ,修改$config[‘register’] =’invite’;

修改apache httpd.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf  (去掉前面的#)

找到 # Controls who can get stuff from this server. 修改下面的,Require local  为Require all granted。

配置伪静态文件(.htaccess) 。