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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?php
 
/* Setting the POST data to variables */
$option = $_POST['option'];
$hashs_submited = $_POST['hashs'];
 
if (isset($_POST['hashs']) == TRUE) {
   
   /* The form will be printed */
   echo " <html>\n";
   echo "               <head>\n";
   echo "                     <title> Md5 Hash Lookup v1 </title>\n";
   echo "               </head>\n";
   echo "               <body bgcolor=\"#000000\">\n";
   echo "                     <table border=\"0\" align=\"center\" valign=\"top\" width=\"300\" height=\"300\">\n";
   echo "                        <tr width=\"300\" height=\"250\">\n";
   echo "                              <td align=\"left\">\n";
   echo "                                    <font color=\"#0000CC\">\n";
   echo "                                          <b>\n";
   echo "                                             <center>\n";
   echo "                                                   - Md5 Hash Lookup v1 -<br>\n";
   echo "                                             </center>\n";
   echo "                                             <br>\n";
   echo "                                             Enter your md5 hashs:\n";
   echo "                                          </b>\n";
   echo "                                    </font>\n";
   echo "                                    <form method=\"post\" action=\"\">\n";
   echo "                                          <textarea name=\"hashs\" rows=\"10\" cols=\"50\">" .$hashs_submited. "</textarea>\n";
   echo "                                          <select name=\"option\">\n";
   echo "                                             <option value =\"1\">Hash</option>\n";
   echo "                                             <option value =\"2\">Username:hash</option>\n";
   echo "                                          </select>\n";
   echo "                                          <input type=\"submit\" value=\"Search\" />\n";
   echo "                                    </form>\n";
   echo "                                    <center>\n";
   echo "                                          <font color=\"#0000CC\" size=\"2\">\n";
   echo "                                             <b>\n";
   echo "                                                   <br>\n";
   echo "                                                   By durge69 ©<br>\n";
   echo "                                                   <font color=\"#FF0000\" size=\"2\">\n";
   echo "                                                         Life is too short not to hack!\n";
   echo "                                                   </font>\n";
   echo "                                             </b>\n";
   echo "                                          </font>\n";
   echo "                                    </center>\n";
   echo "                              </td>\n";
   echo "                        </tr>\n";
   echo "                     </table>\n";
   echo "<br>\n";
   echo "<br>\n";
   echo "<hr width=\"50%\">\n";
   /* END OF FORM PRINTING */
   
   /* HASH only lookup */
   if ($option == 1) {
        
         /* Md5 hashs in array form */
         $md5_from_txt = $hashs_submited;
        
         $amount = str_word_count($md5_from_txt, "0", "1234567890");
         $h_a = "0";
               
         /* Word_counting $md5_from_txt, md5 hashs in txt format */
         $md5_counted = str_word_count($md5_from_txt, "1", "1234567890");
        
         /* echoing time */
         echo "<center><font color=\"white\">";
         echo date('H:i:s');
         echo "</font></center><br><br>";
        
         /* Sending query to site (GDATAONLINE.COM) */
         for ($i = 1; $i <= $amount; $i++) {   
               
               $data_from_site = file_get_contents("http://gdataonline.com/qkhash.php?mode=xml&hash=".$md5_counted[$h_a]);
               $data = str_word_count($data_from_site, "1", "1234567890");
                 
               /* Starting IF success or not */
               if ($data[8] == "Success") {
                     echo "<center><b><font color=\"#00CC00\">".$md5_counted[$h_a].":".$data[11]."</font></b></center>\n";
               } else {
                     echo "<center><b><font color=\"#ff0000\">".$md5_counted[$h_a]."</font></b></center>\n";
               }   
               
               $h_a++;
               sleep(1);
         }
        
         /* echoing time */
         echo "<br><center><font color=\"white\">";
         echo date('H:i:s');
         echo "</font></center><br><br>";
        
         /* HTML footer */
         echo "<br> End of lookup!";
         echo "</body>\n";
         echo "</html>\n";
   }
   /* END of HASH only lookup */
   
   /* USERNAME:HASH lookup */
   if ($option == 2) {
        
         /* username:hashs in array form */
         $md5_from_txt = str_replace(" ", "", $hashs_submited);
                 
         /* Counting the number of words */
         $amount = str_word_count($md5_from_txt, "0", "1234567890:-_@.~#[]{}");
        
         /* Arraying each word (user, hash) */
         $content = str_word_count($md5_from_txt, "1", "1234567890-_@.~#[]{}");
        
         /* setting default number */
         $username = "0";
         $hash = "1";
        
         /* echoing time */
         echo "<center><font color=\"white\">";
         echo date('H:i:s');
         echo "</font></center><br><br>";
        
         /* Sending query to site (GDATAONLINE.COM) */
         for ($i = 1; $i <= $amount; $i++) {   
               
               $data_from_site = file_get_contents("http://gdataonline.com/qkhash.php?mode=xml&hash=".$content[$hash]);
               $data = str_word_count($data_from_site, "1", "1234567890");
                 
               /* Starting IF success or not */
               if ($data[8] == "Success") {
                     echo "<center><b><font color=\"#00CC00\">".$content[$username].":".$content[$hash].":".$data[11]."</font></b></center>\n";
               } else {
                     echo "<center><b><font color=\"#ff0000\">".$content[$username].":".$content[$hash]."</font></b></center>\n";
               }
               
               $username = $username + 2;
               $hash = $hash + 2;
               sleep(1);
         }
        
         /* echoing time */
         echo "<br><center><font color=\"white\">";
         echo date('H:i:s');
         echo "</font></center><br><br>";        
        
         /* HTML footer */
         echo "<br><center><b><font color=\"blue\">End of lookup.</font></b></center>\n";
         echo "</body>\n";
         echo "</html>\n";
   }
   /* END of USERNAME:HASH lookup */
   
 
   
} else {
 
   $self = $_SERVER['PHP_SELF'];
   
   echo " <html>\n";
   echo "               <head>\n";
   echo "                     <title> Md5 Hash Lookup v1 </title>\n";
   echo "               </head>\n";
   echo "               <body bgcolor=\"#000000\">\n";
   echo "                     <table border=\"0\" align=\"center\" valign=\"top\" width=\"300\" height=\"300\">\n";
   echo "                        <tr width=\"300\" height=\"250\">\n";
   echo "                              <td align=\"left\">\n";
   echo "                                    <font color=\"#0000CC\">\n";
   echo "                                          <b>\n";
   echo "                                             <center>\n";
   echo "                                                   - Md5 Hash Lookup v1 -<br>\n";
   echo "                                             </center>\n";
   echo "                                             <br>\n";
   echo "                                             Enter your md5 hashs:\n";
   echo "                                          </b>\n";
   echo "                                    </font>\n";
   echo "                                    <form method=\"post\" action=\"\">\n";
   echo "                                          <textarea name=\"hashs\" rows=\"10\" cols=\"50\"></textarea>\n";
   echo "                                          <select name=\"option\">\n";
   echo "                                             <option value =\"1\">Hash</option>\n";
   echo "                                             <option value =\"2\">Username:hash</option>\n";
   echo "                                          </select>\n";   
   echo "                                          <input type=\"submit\" value=\"Search\" />\n";
   echo "                                    </form>\n";
   echo "                                    <center>\n";
   echo "                                          <font color=\"#0000CC\" size=\"2\">\n";
   echo "                                             <b>\n";
   echo "                                                   <br>\n";
   echo "                                                   By durge69<br>\n";
   echo "                                                   <font color=\"#FF0000\" size=\"2\">\n";
   echo "                                                         Life is too short not to hack!\n";
   echo "                                                   </font>\n";
   echo "                                             </b>\n";
   echo "                                          </font>\n";
   echo "                                    </center>\n";
   echo "                              </td>\n";
   echo "                        </tr>\n";
   echo "                     </table>\n";
   echo "               </body>\n";
   echo " </html>\n";
 
}
 
?>