Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (142 loc) · 6.17 KB
/
Copy pathindex.html
File metadata and controls
161 lines (142 loc) · 6.17 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow">
<title>Northwind Retail Analytics</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="demo-banner" role="note">
<strong>Deliberately vulnerable demo.</strong>
Northwind Retail Analytics is a fictional product built by
<a href="https://eyalsec.com">EyalSec</a> to demonstrate
<a href="https://github.com/EyalSec/es-chromium">es-chromium</a>. Every screen
here contains real DOM-XSS on purpose. Nothing you enter is stored or sent
anywhere.
<a class="banner-link" href="catalog.html">Open the vulnerability catalogue</a>
</div>
<header class="topbar">
<div class="brand">
<span class="brand-mark" aria-hidden="true"></span>
<span class="brand-name">Northwind</span>
<span class="brand-sub">Retail Analytics</span>
</div>
<form class="search" method="get" action="index.html" role="search">
<input type="search" name="q" placeholder="Search stores, SKUs, regions" aria-label="Search">
</form>
<div class="account">
<span class="acct-name">Dana Whitfield</span>
<span class="acct-role">Regional lead</span>
<img id="avatar" class="avatar" alt="" src="data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23d7dee3%22%2F%3E%3Ctext%20x%3D%2232%22%20y%3D%2241%22%20font-family%3D%22sans-serif%22%20font-size%3D%2224%22%20fill%3D%22%233c4a52%22%20text-anchor%3D%22middle%22%3EDW%3C%2Ftext%3E%3C%2Fsvg%3E">
</div>
</header>
<div class="shell">
<nav class="sidebar" aria-label="Sections">
<a class="nav-item is-current" href="index.html#view=Company%20overview">Overview</a>
<a class="nav-item" href="index.html#view=Stores">Stores</a>
<a class="nav-item" href="index.html#view=Inventory">Inventory</a>
<a class="nav-item" href="index.html#view=Promotions">Promotions</a>
<a class="nav-item" href="index.html#view=Returns">Returns</a>
<div class="nav-sep"></div>
<a class="nav-item" href="catalog.html">Vulnerability catalogue</a>
<a class="nav-item" href="depart.html">Referrer test page</a>
</nav>
<main class="content">
<div id="resume-strip" class="strip" hidden>
<span class="strip-label">Continue where you left off</span>
<span id="resume-body"></span>
<span id="resume-time" class="strip-time"></span>
</div>
<div class="page-head">
<div>
<h1 class="view-title">
<span id="view-label">Company overview</span>
</h1>
<p id="view-note" class="view-note">Rolling 28 days, all regions, compared with the prior period.</p>
</div>
<div class="page-actions">
<button id="btn-export" class="btn" type="button">Export</button>
<button id="btn-share" class="btn btn-primary" type="button">Share</button>
</div>
</div>
<div id="search-panel" class="panel" hidden>
<div id="search-head" class="panel-head"></div>
<ul id="search-results" class="result-list"></ul>
</div>
<section class="tiles" aria-label="Key figures">
<article class="tile">
<span class="tile-label">Net revenue</span>
<span class="tile-value" id="kpi-revenue">4,182,900</span>
<span class="tile-delta up">+6.4% vs prior</span>
</article>
<article class="tile">
<span class="tile-label">Orders</span>
<span class="tile-value" id="kpi-orders">51,038</span>
<span class="tile-delta up">+3.1% vs prior</span>
</article>
<article class="tile">
<span class="tile-label">Return rate</span>
<span class="tile-value" id="kpi-returns">4.7%</span>
<span class="tile-delta down">+0.6pt vs prior</span>
</article>
<article class="tile tile-computed">
<span class="tile-label" id="computed-label">Average order value</span>
<span class="tile-value" id="computed-value">81.96</span>
<span class="tile-delta" id="computed-formula">revenue / orders</span>
</article>
</section>
<section class="grid">
<div class="panel panel-chart">
<div class="panel-head">
<h2>Revenue by week</h2>
<span class="panel-meta" id="refresh-note">Auto refresh off</span>
</div>
<nw-chart id="chart"></nw-chart>
</div>
<div class="panel">
<div class="panel-head">
<h2>Embedded report</h2>
<span class="panel-meta">Provided by Northwind Partner Reports</span>
</div>
<div id="widget-title" class="widget-title">Waiting for the report widget</div>
<div id="widget-body" class="widget-body"></div>
<iframe id="widget-frame" class="widget-frame" title="Partner report widget" src="about:blank"></iframe>
</div>
</section>
<section class="panel">
<div class="panel-head">
<h2>Top stores</h2>
<span class="panel-meta" id="live-note">Live updates idle</span>
</div>
<table class="table">
<thead><tr><th>Store</th><th>Region</th><th>Revenue</th><th>Orders</th></tr></thead>
<tbody id="store-rows"></tbody>
</table>
</section>
<section class="panel">
<div class="panel-head">
<h2>Notes on this view</h2>
<span class="panel-meta" id="draft-count"></span>
</div>
<div id="draft-slot" class="draft-slot">No saved draft.</div>
<textarea class="draft-input" rows="2" placeholder="Add a note for your team"></textarea>
</section>
</main>
</div>
<div id="export-panel" class="export-panel" hidden>
<div class="panel-head"><h2>Export preview</h2></div>
<div id="export-head" class="export-head"></div>
<iframe id="print-frame" class="print-frame" title="Print preview"></iframe>
</div>
<footer class="foot">
Northwind Retail Analytics is not a real company or a real product. It exists
to be attacked. Source:
<a href="https://github.com/EyalSec/vulnerable-javascript">EyalSec/vulnerable-javascript</a>
</footer>
<script src="catalog.js"></script>
<script src="components.js"></script>
<script src="app.js"></script>
</body>
</html>