-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
162 lines (148 loc) · 7.71 KB
/
Copy pathindex.html
File metadata and controls
162 lines (148 loc) · 7.71 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
162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Dorker - Enhanced with 150+ Path-Based Queries</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header class="header">
<h1>GitHub Dorker by shubhk0</h1>
<p class="subtitle">Enhanced with 150+ Path-Based Queries</p>
<div class="warning-banner">
<strong>⚠️ Ethical Use Only:</strong> This tool is intended for security research and authorized testing only. Always obtain proper permission before scanning repositories.
</div>
</header>
<main class="main-content">
<section class="input-section card">
<div class="card__body">
<h2>Search Configuration</h2>
<div class="form-group">
<label class="form-label">Target Type</label>
<div class="radio-group">
<label class="radio-item">
<input type="radio" name="targetType" value="org" checked>
<span>Organization</span>
</label>
<label class="radio-item">
<input type="radio" name="targetType" value="user">
<span>User</span>
</label>
<label class="radio-item">
<input type="radio" name="targetType" value="repo">
<span>Repository</span>
</label>
<label class="radio-item">
<input type="radio" name="targetType" value="global">
<span>Global Search</span>
</label>
</div>
</div>
<div class="form-group">
<label for="targetName" class="form-label">Target Name</label>
<input type="text" id="targetName" class="form-control" placeholder="e.g., microsoft, octocat, or owner/repo">
<small class="form-text">Enter organization name, username, or repository (owner/repo format)</small>
</div>
<div class="form-row">
<div class="form-group">
<label class="checkbox-item">
<input type="checkbox" id="highRiskOnly">
<span>High Risk Only</span>
</label>
</div>
<div class="form-group">
<label for="categoryFilter" class="form-label">Category Filter</label>
<select id="categoryFilter" class="form-control">
<option value="all">All Categories</option>
<option value="credentials">Credentials</option>
<option value="keys">Keys</option>
<option value="tokens">Tokens</option>
<option value="database">Database</option>
<option value="configuration">Configuration</option>
<option value="history">History</option>
</select>
</div>
</div>
<div class="action-buttons">
<button id="generateBtn" class="btn btn--primary">Generate Search URLs</button>
<button id="openAllBtn" class="btn btn--secondary" disabled>Open All in Tabs</button>
<button id="copyAllBtn" class="btn btn--outline" disabled>Copy All URLs</button>
<button id="resetBtn" class="btn btn--outline">Reset</button>
</div>
</div>
</section>
<section class="progress-section" style="display: none;">
<div class="progress-bar">
<div class="progress-fill"></div>
</div>
<div class="progress-text">Generating search URLs...</div>
</section>
<section class="results-section" id="resultsSection" style="display: none;">
<div class="results-header">
<h2>Generated Search URLs</h2>
<div class="results-stats">
<span id="totalCount">0</span> dorks found
<span class="stats-detail" id="pathBasedCount" style="margin-left: 12px; font-size: 12px; opacity: 0.8;"></span>
</div>
</div>
<div class="results-actions">
<div class="tab-controls">
<label for="tabLimit" class="form-label">Tab Limit:</label>
<select id="tabLimit" class="form-control form-control--small">
<option value="5">5 tabs</option>
<option value="10" selected>10 tabs</option>
<option value="20">20 tabs</option>
<option value="50">50 tabs</option>
</select>
</div>
</div>
<div id="resultsContainer" class="results-container"></div>
</section>
<section class="export-section card" id="exportSection" style="display: none;">
<div class="card__body">
<h3>Export Options</h3>
<div class="export-buttons">
<button id="downloadCsvBtn" class="btn btn--secondary">Download CSV</button>
<button id="generateBookmarkletBtn" class="btn btn--secondary">Generate Bookmarklet</button>
<button id="createReportBtn" class="btn btn--secondary">Create Report</button>
</div>
</div>
</section>
</main>
</div>
<!-- Modals -->
<div id="bookmarkletModal" class="modal hidden">
<div class="modal-content">
<div class="modal-header">
<h3>GitHub Dorker Bookmarklet</h3>
<button class="modal-close">×</button>
</div>
<div class="modal-body">
<p>Drag this link to your bookmarks bar. When clicked on any GitHub page, it will automatically extract repository information and run searches:</p>
<div class="bookmarklet-container">
<a href="#" id="bookmarkletLink" class="bookmarklet-link">GitHub Dorker</a>
</div>
<p><small>Or copy the JavaScript code and create a bookmark manually:</small></p>
<textarea id="bookmarkletCode" class="form-control" readonly rows="4"></textarea>
</div>
</div>
</div>
<div id="reportModal" class="modal hidden">
<div class="modal-content">
<div class="modal-header">
<h3>Scan Report</h3>
<button class="modal-close">×</button>
</div>
<div class="modal-body">
<div id="reportContent"></div>
<div class="modal-actions">
<button id="downloadReportBtn" class="btn btn--primary">Download Report</button>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>