2023-01-30 00:28:48 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2023-02-14 03:41:09 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>XSSBook - Admin Panel</title>
|
|
|
|
|
|
|
|
<meta name="author" content="Tyler Murphy">
|
|
|
|
<meta name="description" content="Admin Panel">
|
|
|
|
|
|
|
|
<meta property="og:title" content="xssbook">
|
|
|
|
<meta property="og:site_name" content="xssbook.com">
|
|
|
|
<meta property="og:description" content="Admin Panel">
|
|
|
|
|
|
|
|
<meta itemprop="name" content="xssbook">
|
|
|
|
<meta itemprop="description" content="Admin Panel">
|
|
|
|
|
2023-01-30 00:28:48 +00:00
|
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
|
|
<link rel="stylesheet" href="/css/header.css">
|
|
|
|
<link rel="stylesheet" href="/css/admin.css">
|
2023-02-15 03:16:29 +00:00
|
|
|
|
|
|
|
<script src="/js/admin.js" type="module"></script>
|
2023-01-30 00:28:48 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
|
|
|
<span class="logo"><a href="/">xssbook</a></span>
|
2023-01-30 23:55:36 +00:00
|
|
|
<span class="gtext desc" style="margin-left: 6em; font-size: 2em; color: #606770">Admin Panel</span>
|
2023-01-30 00:28:48 +00:00
|
|
|
</div>
|
|
|
|
<div id="login" class="hidden">
|
2023-02-12 19:11:50 +00:00
|
|
|
<form autocomplete="off" onsubmit="window.auth(event)">
|
2023-01-30 00:28:48 +00:00
|
|
|
<input autocomplete="new-password" type="password" name="adminpassword" id="adminpassword" placeholder="Login Secret">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="admin" class="hidden">
|
|
|
|
<div id="queryinput">
|
|
|
|
<input type="text" name="query" id="query" placeholder="SQL Query">
|
2023-01-30 20:37:16 +00:00
|
|
|
<div id="buttons">
|
2023-02-12 19:11:50 +00:00
|
|
|
<button class="submit" onclick="window.submit()">Submit</button>
|
|
|
|
<button class="view" onclick="window.posts()">View Posts</button>
|
|
|
|
<button class="view" onclick="window.users()">View Users</button>
|
|
|
|
<button class="view" onclick="window.sessions()">View Sessions</button>
|
|
|
|
<button class="view" onclick="window.comments()">View Comments</button>
|
|
|
|
<button class="view" onclick="window.likes()">View Likes</button>
|
2023-01-30 20:37:16 +00:00
|
|
|
</div>
|
2023-01-30 00:28:48 +00:00
|
|
|
</div>
|
|
|
|
<table id="table"></table>
|
|
|
|
</div>
|
|
|
|
</body>
|