-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup.html
126 lines (112 loc) · 5.62 KB
/
backup.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Do6</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh; /* Full viewport height */
margin: 0;
}
input[type="text"] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 80%; /* Adjust the width as needed */
box-sizing: border-box;
}
button:hover {
opacity: 0.8;
}
#result {
margin-top: 20px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
header {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
margin-bottom: 10px;
}
.logo {
display: block;
margin: 0 auto;
max-width: 500px;
max-height: 500px;
}
</style>
</head>
<body>
<header>
<h1>Dorks Explorer</h1>
<img class="logo" src="https://i.ibb.co/GddTPtK/osintyr-removebg-preview.png" alt="Logo">
</header>
<p>Enter domain and get started:</p>
<input type="text" id="domain" name="domain">
<button onclick="search()">Search</button>
<div id="result"></div>
<script>
const googleLink = "https://www.google.com/search?q=";
const dorks = [
{ query: "site:example.com ext:php inurl:?", description: "PHP Files" },
{ query: "site:openbugbounty.org inurl:reports intext:\"example.com\"", description: "Bugbounty Reports" },
{ query: "site:example.com ext:log | ext:txt | ext:conf | ext:cnf | ext:ini | ext:env | ext:sh | ext:bak | ext:backup | ext:swp | ext:old | ext:~ | ext:git | ext:svn | ext:htpasswd | ext:htaccess", description: "Log and Configuration Files" },
{ query: "inurl:q= | inurl:s= | inurl:search= | inurl:query= | inurl:keyword= | inurl:lang= inurl:& site:example.com", description: "Search Query in URL" },
{ query: "site:example.com -www -help -support -community -developer -event -blog", description: "Exclude Subdomains and Unwanted Pages" },
{ query: "inurl:q= | inurl:s= | inurl:search= | inurl:query= | inurl:keyword= | inurl:lang= inurl:& site:example.com", description: "XSS Prone Parameters" },
{ query: "inurl:url= | inurl:return= | inurl:next= | inurl:redirect= | inurl:redir= | inurl:ret= | inurl:r2= | inurl:page= inurl:& inurl:http site:example.com", description: "Open Redirect Prone Parameters" },
{ query: "inurl:id= | inurl:pid= | inurl:category= | inurl:cat= | inurl:action= | inurl:sid= | inurl:dir= inurl:& site:example.com", description: "SQLi Prone Parameters" },
{ query: "inurl:http | inurl:url= | inurl:path= | inurl:dest= | inurl:html= | inurl:data= | inurl:domain= | inurl:page= inurl:& site:example.com", description: "SSRF Prone Parameters" },
{ query: "inurl:include | inurl:dir | inurl:detail= | inurl:file= | inurl:folder= | inurl:inc= | inurl:locate= | inurl:doc= | inurl:conf= inurl:& site:example.com", description: "LFI Prone Parameters" },
{ query: "inurl:cmd | inurl:exec= | inurl:query= | inurl:code= | inurl:do= | inurl:run= | inurl:read= | inurl:ping= inurl:& site:example.com", description: "RCE Prone Parameters" },
{ query: "inurl:config | inurl:env | inurl:setting | inurl:backup | inurl:admin | inurl:php site:example.com", description: "High % inurl Keywords" },
{ query: "inurl:email= | inurl:phone= | inurl:password= | inurl:secret= inurl:& site:example.com", description: "Sensitive Parameters" },
{ query: "inurl:apidocs | inurl:api-docs | inurl:swagger | inurl:api-explorer site:example.com", description: "API Docs" },
{ query: "site:pastebin.com \"example.com\"", description: "Code Leaks - Pastebin" },
{ query: "site:jsfiddle.net \"example.com\"", description: "Code Leaks - JSFiddle" },
{ query: "site:codebeautify.org \"example.com\"", description: "Code Leaks - Code Beautify" },
{ query: "site:codepen.io \"example.com\"", description: "Code Leaks - CodePen" },
];
function search() {
const domain = document.getElementById("domain").value;
const result = document.getElementById("result");
if (!domain) {
alert("Please enter a domain.");
return;
}
let output = "<h2>Results for Domain: " + domain + "</h2>";
output += "<div id='button-container'>";
dorks.forEach(dork => {
const modifiedDork = dork.query.replace("example.com", domain);
output += `<div class='button-box'><button onclick="window.open('${googleLink + encodeURIComponent(modifiedDork)}', '_blank')">${dork.description}</button></div>`;
});
output += "</div>";
result.innerHTML = output;
}
</script>
</body>
</html>