This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount_duplicate_finder.php
executable file
·68 lines (50 loc) · 1.96 KB
/
account_duplicate_finder.php
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
<?php
error_reporting(0);
$host = '';
$login = '';
$password = '';
$database = '';
$connect = mysql_connect($host, $login, $password) or die("MySQL server currently down ");
mysql_query('SET NAMES utf8', $connect);
mysql_query('SET CHARACTER SET utf8', $connect);
mysql_query('SET COLLATION_CONNECTION="utf8_bin"', $connect);
mysql_select_db($database, $connect) or die ("MySQL server currently down!");
echo '<title>Тулза :3</title>';
echo 'Узнать все ники на IP<br />Введите IP:<br />
<form id="form1" name="form1" method="post" action="">
<input type="text" name="userip" id="userip" maxlength="20" size="20"/>
<input type="submit" name="view" id="view" value="Смотреть" /></form>';
$userip = mysql_escape_string($_POST['userip']);
$userip = htmlspecialchars($userip);
if (isset($_POST['view'])) {
if (!empty($userip)) {
$query = mysql_query("SELECT * FROM `banlistip`
WHERE `lastip` = '$userip' LIMIT 300")
or die(mysql_error());
while ($string = mysql_fetch_array($query)) {
echo '' . $string['name'] . ' | ' . $string['lastip'] . ' <br />';
}
} else {
echo "Введите IP";
}
}
echo '<hr>';
echo 'Узнать IP юзера<br />Введите ник:';
echo '<form id="form2" name="form2" method="post" action="">
<input type="text" name="username" id="username" maxlength="20" size="20"/>
<input type="submit" name="view2" id="view2" value="Смотреть" /></form>';
$username = mysql_escape_string($_POST['username']);
$username = htmlspecialchars($username);
if (isset($_POST['view2'])) {
if (!empty($username)) {
$query = mysql_query("SELECT * FROM `banlistip`
WHERE `name` = '$username' LIMIT 300")
or die(mysql_error());
while ($string = mysql_fetch_array($query)) {
echo '' . $string['name'] . ' | ' . $string['lastip'] . ' <br />';
}
} else {
echo "Введите Ник";
}
}
?>