-
Notifications
You must be signed in to change notification settings - Fork 0
/
signDB.pl
121 lines (115 loc) · 2.48 KB
/
signDB.pl
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
#!/usr/bin/env perl
$main::engines = {
SimpleTDS => [
{
url => '/header.php',
file => 'data/SimpleTDS.txt',
signs => [
qr#<div class="subheader">v\d+\.\d+ Beta (MySQL version)</div>#i,
qr#<div class="header">Simple TDS#i,
qr#<title>Simple TDS</title>#i,
],
},
],
WordPress => [
{
url => '/wp-login.php',
file => 'data/WordPress.txt',
signs => [
qr#/wp-login\.php\?action=lostpassword#i,
qr#/wp-login\.php\?action=register#i,
qr#type="password" name="pwd"#i,
qr#type="submit" name="wp-submit"#i,
qr#type="hidden" name="testcookie"#i,
],
},
{
url => '/robots.txt',
file => 'data/WordPress.txt',
signs => [
qr#wp-#i,
qr#/wp-.*/#i,
],
},
{
url => '',
file => 'data/WordPress.txt',
signs => [
qr#wp-.+#i,
qr#/wp-.+/#i,
],
},
],
Joomla => [
{
url => '/administrator/index.php',
file => 'data/Joomla.txt',
signs => [
qr#input name="username"#i,
qr#form action="index.php" method="post" name="login" id="form-login"#i,
qr#input name="passwd"#i,
qr#name="lang"#i,
qr#type="submit".+?value="Login"#i,
qr#input type="hidden" name="\w+" value="1"#i,
],
},
],
uCoz => [
{
url => '/robots.txt',
file => 'data/uCoz.txt',
signs => [
qr#Disallow: /?ssid=#i,
qr#Disallow: /abnl/#i,
],
},
],
Drupal => [
{
url => '/robots.txt',
file => 'data/Drupal.txt',
signs => [
qr#Disallow: /CHANGELOG\.txt#i,
qr#\# Paths \(clean URLs\)#i,
qr#Disallow: /UPGRADE\.txt#i,
qr#Disallow: /\?q=user/password/#i,
],
},
],
DataLifeEngine => [
{
url => '/admin.php',
file => 'data/DataLifeEngine.txt',
signs => [
qr#<title>DataLife Engine#i,
qr#name="login" action="" method="post"#i,
qr#name="subaction" value="dologin"#i,
qr#type="text" name="username"#i,
qr#type="password" name="password"#i,
qr#type="checkbox" name="login_not_save"#i,
],
},
{
url => '',
file => 'data/DataLifeEngine.txt',
signs => [
qr#/templates/#i,
],
},
{
url => '/robots.txt',
file => 'data/DataLifeEngine.txt',
signs => [
qr#/engine/#i,
qr#\Wengine\W#i,
],
},
{
url => '/engine/ajax/updates.php',
file => 'data/DataLifeEngine.txt',
signs => [
qr#\QИзвините, но в целях безопасности эта функция была отключена! Нет необходимости палить лишний раз нуленый движек ;-)\E#i,
],
},
],
};