-
Notifications
You must be signed in to change notification settings - Fork 37
/
popup.html
84 lines (83 loc) · 2.93 KB
/
popup.html
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
<!-- Copyright 2017 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<html>
<head>
<title>Trufflehog</title>
<link href="popup.css" rel="stylesheet" type="text/css">
</head>
<body style="width: 300px;">
<img src='./icon.png' style="width: 128px; margin: auto; display: block;">
<div>
<h3>Generic Secrets</h3>
<label class="switch">
<input type="checkbox" id="generics">
<span class="slider"></span>
</label>
</div>
<div>
<h3>Specific Secrets</h3>
<label class="switch">
<input type="checkbox" id="specifics">
<span class="slider"></span>
</label>
</div>
<div>
<h3>AWS Keys</h3>
<label class="switch">
<input type="checkbox" id="aws">
<span class="slider"></span>
</label>
</div>
<div style="margin-bottom: 10px">
<h3>Check for .env files</h3>
<h5>(can trigger WAF bans)</h5>
<label class="switch">
<input type="checkbox" id="checkEnv">
<span class="slider"></span>
</label>
</div>
<div style="margin-bottom: 10px">
<h3>Check for .git dirs</h3>
<h5>(can trigger WAF bans)</h5>
<label class="switch">
<input type="checkbox" id="checkGit">
<span class="slider"></span>
</label>
</div>
<div style="margin-bottom: 10px">
<h3>Alerts</h3>
<label class="switch">
<input type="checkbox" id="alerts">
<span class="slider"></span>
</label>
</div>
<div>
<button class="accordion"><h3>Origin Deny List</h3></button>
<div class="panel">
Comma Seperated
<textarea style="width:100%" id="denyList"></textarea>
</div>
</div>
<div>
<button class="accordion"><h3>Findings</h3></button>
<div class="panel">
<button style="margin-top: 10px" id="clearOriginFindings">Clear This Origin</button>
<button style="margin-top: 10px" id="clearAllFindings">Clear All Origins</button>
<button style="margin-top: 10px" id="downloadAllFindings">Download All Findings</button>
<h3>Findings for this origin</h3>
<ul id="findingList">
</ul>
</div>
</div>
<div>
<button class="accordion"><h3>Open Lots Of Tabs</h3></button>
<div class="panel">
Comma Seperated
<button style="margin-top: 10px" id="openTabs">Open Tabs</button>
<textarea style="width:100%" id="tabList" placeholder="https://google.com,https://yahoo.com"></textarea>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>