Output the timthumb version if found
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
timthumb.php
|
$wp-content$/timthumb.php
|
||||||
arras/library/timthumb.php
|
$wp-content$/arras/library/timthumb.php
|
||||||
uBillboard/timthumb.php
|
$wp-content$/uBillboard/timthumb.php
|
||||||
uploads/thumb-temp/timthumb.php
|
$wp-content$/uploads/thumb-temp/timthumb.php
|
||||||
$wp-content$/themes/eGamer/timthumb.php
|
$wp-content$/themes/eGamer/timthumb.php
|
||||||
$wp-plugins$/add-new-default-avatar-emrikols-fork/includes/thumb.php
|
$wp-plugins$/add-new-default-avatar-emrikols-fork/includes/thumb.php
|
||||||
$wp-plugins$/add-new-default-avatar-emrikols-fork/includes/timthumb.php
|
$wp-plugins$/add-new-default-avatar-emrikols-fork/includes/timthumb.php
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ class WpTimthumb < WpItem
|
|||||||
module Output
|
module Output
|
||||||
|
|
||||||
def output
|
def output
|
||||||
puts ' | ' + red('[!]') + " #{url}"
|
puts ' | ' + red('[!]') + " #{self}"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -9,5 +9,10 @@ class WpTimthumb < WpItem
|
|||||||
response = Browser.instance.get(url)
|
response = Browser.instance.get(url)
|
||||||
response.body[%r{TimThumb version\s*: ([^<]+)} , 1]
|
response.body[%r{TimThumb version\s*: ([^<]+)} , 1]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def to_s
|
||||||
|
"#{url}#{ ' v' + version if version}"
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user