forked from zhuifengshaonianhanlu/pikachu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxssmanager.php
41 lines (35 loc) · 1.18 KB
/
xssmanager.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
include_once "inc/mysql.inc.php";
include_once "inc/config.inc.php";
$link=connect();
// 判断是否登录,没有登录不能访问
if(!check_login($link)){
header("location:index.php");
}
if(isset($_GET['logout']) && $_GET['logout'] == 1){
session_unset();
session_destroy();
setcookie(session_name(),'',time()-3600,'/');
header("location:index.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pikachu Xss 后台</title>
<link rel="stylesheet" type="text/css" href="pkxss.css"/>
</head>
<body>
<div id="title">
<h1>pikachu Xss 后台</h1>
<div id="xsstest_main">
<h2 class="left_title">测试模块 |<a href="xssmanager.php?logout=1">退出登陆</a></h2>
<ul class="left_list">
<li><a href="xcookie/pkxss_cookie_result.php">cookie搜集</a></li>
<li><a href="xfish/pkxss_fish_result.php">钓鱼结果</a></li>
<li><a href="rkeypress/pkxss_keypress_result.php">键盘记录</a></li>
</ul>
</div>
</body>
</html>