Skip to content

Commit

Permalink
New CMS ident checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasBensalah committed Jan 2, 2020
1 parent 40f4849 commit 594f2a6
Show file tree
Hide file tree
Showing 39 changed files with 1,149 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.5
29 changes: 29 additions & 0 deletions checks/http/NetObjects.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module Intrigue
module Ident
module Check
class KokenCMS< Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "NetObjects Inc.",
:product => "Koken",
:references => ["http://koken.me/"],
:version => nil,
:match_type => :content_body,
:match_content => /koken (.*.\d)/i ,
:dynamic_version => lambda { |x| _first_body_capture(x, /koken (.*.\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end
end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/Seamless.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class SeamlessCMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "SeamlessCMS",
:product => "SeamlessCMS",
:references => ["https://www.seamlesscms.com/"],
:version => nil,
:match_type => :content_body,
:match_content => /Published by Seamless.CMS.WebUI, (.*.\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /Published by Seamless.CMS.WebUI, (.*.\d)/i)},
:match_details => "Header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/alkacon.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class Alkacon < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "Alkacon",
:product => "OpenCMS",
:references => [],
:version => nil,
:match_type => :content_body,
:match_content => /Powered by Al Mubda version (\d.*?)<\/a>/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /Powered by Al Mubda version (\d.*?)<\/a>/i)},
:match_details => "footer match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/almubdaCMS.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class AlmubdaCMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "AlMubda",
:product => "Almubda CMS",
:references => [],
:version => nil,
:match_type => :content_body,
:match_content => /Powered by Al Mubda version (\d.*?)<\/a>/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /Powered by Al Mubda version (\d.*?)<\/a>/i)},
:match_details => "footer match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/beehive.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class Beehive < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["Forum system"],
:vendor => "Beehive",
:product => "Beehive Forum",
:references => ["https://www.beehiveforum.co.uk/"],
:version => nil,
:match_type => :content_body,
:match_content => /Beehive Forum (.*\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /Beehive Forum (.*\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/browsermedia.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class BrowserCMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "BrowserMedia",
:product => "BrowserCMS",
:references => ["http://www.browsercms.org/"],
:version => nil,
:match_type => :content_body,
:match_content => /BrowserCMS (.*.\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /BrowserCMS (.*.\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/cmsimple.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class CMSimple < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "CMSimple",
:product => "CMSimple",
:references => ["https://www.cmsimple.fr/"],
:version => nil,
:match_type => :content_body,
:match_content => /CMSimple (.*\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /CMSimple (.*\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/concrete5.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class Concrete5CMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "Concrete5",
:product => "Concrete5",
:references => ["https://www.concrete5.org/"],
:version => nil,
:match_type => :content_body,
:match_content => /concrete5 - (.*\d)/,
:dynamic_version => lambda { |x| _first_body_capture(x, /concrete5 - (.*\d)/)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/contenido.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class ContenidoCMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "Contenido",
:product => "Contenido CMS",
:references => ["https://www.contenido.org/"],
:version => nil,
:match_type => :content_body,
:match_content => /contenido (.*.\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /contenido (.*.\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/danneo.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class DanneoCMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "Danneo",
:product => "Danneo",
:references => ["http://danneo.ru/"],
:version => nil,
:match_type => :content_body,
:match_content => /CMS Danneo (.*.\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /CMS Danneo (.*.\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/discourse.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class DiscourseCMS < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "Discourse",
:product => "Discourse",
:references => ["https://www.discourse.org/"],
:version => nil,
:match_type => :content_body,
:match_content => /Discourse (\d....)/,
:dynamic_version => lambda { |x| _first_body_capture(x, /Discourse (\d....)/)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
30 changes: 30 additions & 0 deletions checks/http/discuz!.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module Intrigue
module Ident
module Check
class Discuz < Intrigue::Ident::Check::Base

def generate_checks(url)
[
{
:type => "fingerprint",
:category => "application",
:tags => ["CMS"],
:vendor => "Discuz!",
:product => "Discuz!",
:references => ["http://www.discuz.net/"],
:version => nil,
:match_type => :content_body,
:match_content => /discuz! (.*\d)/i,
:dynamic_version => lambda { |x| _first_body_capture(x, /discuz! (.*\d)/i)},
:match_details => "header match",
:hide => false,
:paths => ["#{url}"],
:inference => true
}
]
end

end
end
end
end
Loading

0 comments on commit 594f2a6

Please sign in to comment.