File size: 3,253 Bytes
c8c6f0a
 
 
7d73752
 
 
c8c6f0a
7d73752
c8c6f0a
7d73752
 
 
c8c6f0a
 
 
 
7d73752
 
c8c6f0a
 
 
7d73752
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8c6f0a
7d73752
 
c8c6f0a
 
 
 
 
 
7d73752
 
 
 
 
 
 
 
 
 
c8c6f0a
 
7d73752
 
 
 
 
 
 
c8c6f0a
 
 
7d73752
 
 
c8c6f0a
7d73752
 
 
c8c6f0a
7d73752
 
 
 
c8c6f0a
7d73752
 
 
 
 
 
 
 
 
c8c6f0a
7d73752
 
 
 
 
 
 
 
 
 
 
 
 
c8c6f0a
7d73752
 
 
 
 
 
 
 
c8c6f0a
7d73752
 
 
 
 
 
c8c6f0a
 
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
<!DOCTYPE html>
<html lang="ru">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>RedDork v2.0.1</title>
  <style>
    /* Киберпанк-стилизация */
    body {
      background: #000;
      color: #0f0;
      font-family: 'Consolas', monospace;
      margin: 0;
      padding: 20px;
      overflow-x: hidden;
    }
    .terminal {
      border: 3px solid #0f0;
      padding: 20px;
      margin: 20px auto;
      max-width: 800px;
      background: #001100;
      box-shadow: 0 0 25px #0f03;
    }
    input, button, select {
      background: #002200;
      border: 2px solid #0f0;
      color: #0f0;
      padding: 8px;
      margin: 5px;
      font-family: inherit;
    }
    .glow {
      text-shadow: 0 0 10px #0f0;
    }
    #output {
      height: 300px;
      overflow-y: auto;
      border: 1px solid #0f03;
      padding: 15px;
      margin: 15px 0;
      background: #000;
    }
  </style>
</head>
<body>
  <div class="terminal">
    <h1 class="glow">■ RedDork v2.0.1 ■</h1>
    
    <div>
      <input type="text" id="query" placeholder="DORK PATTERN" style="width: 65%">
      <button onclick="executeRedSearch()">EXECUTE</button>
      <select id="tabs">
        <option value="1">1 TAB</option>
        <option value="3">3 TABS</option>
        <option value="5">5 TABS</option>
      </select>
    </div>

    <div id="output"></div>

    <div style="margin-top: 20px">
      <button onclick="injectPattern('intitle:"index of" password')">CREDS</button>
      <button onclick="injectPattern('filetype:sql "INSERT INTO users"')">SQL</button>
      <button onclick="injectPattern('inurl:/admin/login.jsp')">ADMINS</button>
    </div>
  </div>

<script>
// ■ CORE LOGIC ■
const sanitize = (str) => str.replace(/[<>]/g, '');

function injectPattern(pattern) {
  document.getElementById('query').value = pattern;
}

function generateFingerprint() {
  return Math.random().toString(36).substr(2, 8) + 
         Date.now().toString(36);
}

async function executeRedSearch() {
  const rawQuery = document.getElementById('query').value;
  const tabs = parseInt(document.getElementById('tabs').value);
  const output = document.getElementById('output');
  
  if(!rawQuery) {
    output.innerHTML += '> [ERROR] EMPTY QUERY!\n';
    return;
  }

  // ■ PAYLOAD GENERATION ■
  const fingerprint = generateFingerprint();
  const safeQuery = sanitize(rawQuery);
  const payloads = [];
  
  output.innerHTML += `> [${fingerprint}] INITIATING...\n`;
  
  // ■ PATTERN ENGINE ■
  for(let i = 0; i < tabs; i++) {
    const dork = `${safeQuery} ${i % 2 ? 'intext:password' : 'filetype:cfg'}`;
    const url = `https://www.google.com/search?q=${encodeURIComponent(dork)}`;
    payloads.push(url);
  }

  // ■ STEALTH EXECUTION ■
  let delay = 0;
  payloads.forEach((url, idx) => {
    setTimeout(() => {
      window.open(url, `redWindow_${idx}`, 'noopener');
      output.innerHTML += `> [${fingerprint}] TAB ${idx+1} LAUNCHED\n`;
    }, delay += 1500 + Math.random()*1000); // Random delays
  });

  // ■ CLEANUP ■
  setTimeout(() => {
    output.innerHTML += `> [${fingerprint}] OPERATION COMPLETED\n`;
  }, delay + 2000);
}
</script>
</body>
</html>