Skip to content

Commit 59faa1b

Browse files
committed
Change version fingerprinting
1 parent 43fabb0 commit 59faa1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/exploits/multi/http/spip_connect_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def initialize(info = {})
7777
end
7878

7979
def check
80-
rversion = spip_version
80+
rversion = spip_version || spip_plugin_version('spip')
8181
return Exploit::CheckCode::Unknown('Unable to determine the version of SPIP') unless rversion
8282

8383
print_status("SPIP Version detected: #{rversion}")

modules/exploits/multi/http/spip_rce_form.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def initialize(info = {})
7575
end
7676

7777
def check
78-
rversion = spip_version
78+
rversion = spip_version || spip_plugin_version('spip')
7979
return Exploit::CheckCode::Unknown('Unable to determine the version of SPIP') unless rversion
8080

8181
print_status("SPIP Version detected: #{rversion}")

0 commit comments

Comments
 (0)