@@ -70,19 +70,19 @@ def check
7070 res = send_request_raw ( 'uri' => normalize_uri ( target_uri . path , 'aa.php' ) )
7171 if !res
7272 vprint_error ( "Connection failed" )
73- return Exploit ::CheckCode ::Unknown
73+ return Exploit ::CheckCode ::Unknown ( 'Could not determine the target status' )
7474 elsif res . code == 404
7575 vprint_error ( "Could not find aa.php" )
76- return Exploit ::CheckCode ::Safe
76+ return Exploit ::CheckCode ::Safe ( 'The target is not vulnerable' )
7777 elsif res . code == 200 && res . body =~ /ActualAnalyzer Lite/ && res . body =~ /Admin area<\/ title>/
7878 vprint_error ( "ActualAnalyzer is not installed. Try installing first." )
79- return Exploit ::CheckCode ::Detected
79+ return Exploit ::CheckCode ::Detected ( 'The target service was detected' )
8080 end
8181 # check version
8282 res = send_request_raw ( 'uri' => normalize_uri ( target_uri . path , 'view.php' ) )
8383 if !res
8484 vprint_error ( "Connection failed" )
85- return Exploit ::CheckCode ::Unknown
85+ return Exploit ::CheckCode ::Unknown ( 'Could not determine the target status' )
8686 elsif res . code == 200 && /title="ActualAnalyzer Lite \( free\) (?<version>[\d \. ]+)"/ =~ res . body
8787 vprint_status ( "Found version: #{ version } " )
8888 if Rex ::Version . new ( version ) <= Rex ::Version . new ( '2.81' )
@@ -92,13 +92,13 @@ def check
9292 info : "Module #{ fullname } detected ActualAnalyzer #{ version } " ,
9393 refs : references
9494 )
95- return Exploit ::CheckCode ::Vulnerable
95+ return Exploit ::CheckCode ::Vulnerable ( 'The target is vulnerable' )
9696 end
97- return Exploit ::CheckCode ::Detected
97+ return Exploit ::CheckCode ::Detected ( 'The target service was detected' )
9898 elsif res . code == 200 && res . body =~ /ActualAnalyzer Lite/
99- return Exploit ::CheckCode ::Detected
99+ return Exploit ::CheckCode ::Detected ( 'The target service was detected' )
100100 end
101- Exploit ::CheckCode ::Safe
101+ Exploit ::CheckCode ::Safe ( 'The target is not vulnerable' )
102102 end
103103
104104 #
0 commit comments