@@ -35,18 +35,13 @@ def initialize(info = {})
35
35
36
36
def check
37
37
begin
38
- uri = normalize_uri ( target_uri . path , '/ index.php?intcheck=1 ' )
38
+ uri = normalize_uri ( target_uri . path , 'index.php' )
39
39
res = send_request_cgi (
40
40
{
41
41
'method' => 'GET' ,
42
42
'uri' => uri ,
43
43
'vars_get' => {
44
- 'Accept' => 'text/html, application/xhtml+xml, */*' ,
45
- 'Accept-Language' => 'ru-RU' ,
46
- 'User-Agent' => 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko' ,
47
- 'Accept-Encoding' => 'gzip, deflate' ,
48
- 'Connection' => 'Close' ,
49
- 'Cookie' => "mybb[lastvisit]=" +Time . now . to_i . to_s +"; mybb[lastactive]=" +Time . now . to_i . to_s +"; loginattempts=1"
44
+ 'intcheck' => 1
50
45
}
51
46
} )
52
47
if res . nil?
@@ -92,18 +87,13 @@ def check
92
87
93
88
94
89
def run
95
- uri = normalize_uri ( target_uri . path , '/ memberlist.php?letter=-1 ' )
90
+ uri = normalize_uri ( target_uri . path , 'memberlist.php' )
96
91
response = send_request_cgi (
97
92
{
98
93
'method' => 'GET' ,
99
94
'uri' => uri ,
100
95
'vars_get' => {
101
- 'Accept' => 'text/html, application/xhtml+xml, */*' ,
102
- 'Accept-Language' => 'ru-RU' ,
103
- 'User-Agent' => 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko' ,
104
- 'Accept-Encoding' => 'gzip, deflate' ,
105
- 'Connection' => 'Close' ,
106
- 'Cookie' => "mybb[lastvisit]=" +Time . now . to_i . to_s +"; mybb[lastactive]=" +Time . now . to_i . to_s +"; loginattempts=1"
96
+ 'letter' => -1
107
97
}
108
98
} )
109
99
if response . nil?
0 commit comments