" # 2016-04-22
9 | version "0.1"
10 | description "BackBee is an open source Content Management System (CMS)"
11 |
12 | # Matches #
13 | matches [
14 | { :certainty=>100, :text=>'' },
15 | ]
16 |
17 | end
18 |
--------------------------------------------------------------------------------
/Module/WhatWeb/plugins/openid.rb:
--------------------------------------------------------------------------------
1 | ##
2 | # This file is part of WhatWeb and may be subject to
3 | # redistribution and commercial restrictions. Please see the WhatWeb
4 | # web site for more information on licensing and terms of use.
5 | # http://www.morningstarsecurity.com/research/whatweb
6 | ##
7 |
8 |
9 | Plugin.define "OpenID" do
10 | author "Caleb Anderson"
11 | version "0.1"
12 | description "openid detection"
13 |
14 |
15 |
16 | matches [
17 | {:name=>"openid",
18 | :regexp=>/]*rel=['"](openid\.server|openid\.delegate)['"][^>]*>/i
19 | },
20 |
21 | ]
22 |
23 |
24 | end
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Module/theHarvester/lib/hostchecker.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # encoding: utf-8
3 | """
4 | Created by laramies on 2008-08-21.
5 | """
6 |
7 | import sys
8 | import socket
9 |
10 |
11 | class Checker():
12 |
13 | def __init__(self, hosts):
14 | self.hosts = hosts
15 | self.realhosts = []
16 |
17 | def check(self):
18 | for x in self.hosts:
19 | try:
20 | res = socket.gethostbyname(x)
21 | self.realhosts.append(res + ":" + x)
22 | except Exception as e:
23 | pass
24 | return self.realhosts
25 |
--------------------------------------------------------------------------------
/Module/WhatWeb/plugins/ip.rb:
--------------------------------------------------------------------------------
1 | ##
2 | # This file is part of WhatWeb and may be subject to
3 | # redistribution and commercial restrictions. Please see the WhatWeb
4 | # web site for more information on licensing and terms of use.
5 | # http://www.morningstarsecurity.com/research/whatweb
6 | ##
7 |
8 | # Version 0.2
9 | # added - unless @ip.empty?
10 |
11 | Plugin.define "IP" do
12 | author "Andrew Horton"
13 | version "0.2"
14 | description "IP address of the target, if available."
15 |
16 | def passive
17 | m=[]
18 |
19 | m << {:string=>@ip } unless @ip.nil? or @ip.empty?
20 | m
21 | end
22 |
23 | end
24 |
25 |
--------------------------------------------------------------------------------
/Module/Spaghetti/modules/fingerprints/framework/cakephp.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 | #
4 | # Spaghetti: Web Application Security Scanner
5 | #
6 | # @url: https://github.com/m4ll0k/Spaghetti
7 | # @author: Momo Outaadi (M4ll0k)
8 | # @license: See the file 'doc/LICENSE'
9 |
10 | import re
11 |
12 | class Cakephp():
13 | @staticmethod
14 | def Run(headers):
15 | _ = False
16 | try:
17 | for item in headers.items():
18 | _ = re.search(r'cakephp',item[1],re.I) is not None
19 | if _:
20 | return "CakePHP"
21 | break
22 | except Exception,ERROR:
23 | print ERROR
--------------------------------------------------------------------------------
/Module/Spaghetti/modules/fingerprints/framework/cherry.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 | #
4 | # Spaghetti: Web Application Security Scanner
5 | #
6 | # @url: https://github.com/m4ll0k/Spaghetti
7 | # @author: Momo Outaadi (M4ll0k)
8 | # @license: See the file 'doc/LICENSE'
9 |
10 | import re
11 |
12 | class Cherry():
13 | @staticmethod
14 | def Run(headers):
15 | _ = False
16 | try:
17 | for item in headers.items():
18 | _ = re.search(r'CherryPy',item[1],re.I) is not None
19 | if _:
20 | return "CherryPy"
21 | break
22 | except Exception,ERROR:
23 | print ERROR
--------------------------------------------------------------------------------
/Module/Spaghetti/modules/fingerprints/framework/symfony.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 | #
4 | # Spaghetti: Web Application Security Scanner
5 | #
6 | # @url: https://github.com/m4ll0k/Spaghetti
7 | # @author: Momo Outaadi (M4ll0k)
8 | # @license: See the file 'doc/LICENSE'
9 |
10 | import re
11 |
12 | class Symfony():
13 | @staticmethod
14 | def Run(headers):
15 | _ = False
16 | try:
17 | for item in headers.items():
18 | _ = re.search(r'symfony=*',item[1],re.I) is not None
19 | if _:
20 | return "Symfony"
21 | break
22 | except Exception,ERROR:
23 | pass
24 |
--------------------------------------------------------------------------------
/Module/Spaghetti/modules/fingerprints/framework/nette.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 | #
4 | # Spaghetti: Web Application Security Scanner
5 | #
6 | # @url: https://github.com/m4ll0k/Spaghetti
7 | # @author: Momo Outaadi (M4ll0k)
8 | # @license: See the file 'doc/LICENSE'
9 |
10 | import re
11 |
12 | class Nette():
13 | @staticmethod
14 | def Run(headers):
15 | _ = False
16 | try:
17 | for item in headers.items():
18 | _ = re.search(r'nette*|nette-browser=*',str(item),re.I) is not None
19 | if _:
20 | return "Nette"
21 | break
22 | except Exception,ERROR:
23 | print ERROR
--------------------------------------------------------------------------------
/Module/Spaghetti/modules/fingerprints/os/solaris.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 | #
4 | # Spaghetti: Web Application Security Scanner
5 | #
6 | # @url: https://github.com/m4ll0k/Spaghetti
7 | # @author: Momo Outaadi (M4ll0k)
8 | # @license: See the file 'doc/LICENSE'
9 |
10 | import re
11 |
12 | class Solaris():
13 | @staticmethod
14 | def Run(os):
15 | _ = False
16 | try:
17 | for item in os.items():
18 | _ = re.search(r'solaris|sunos|opensolaris|sparc64|sparc',str(item),re.I) is not None
19 | if _:
20 | return "Solaris"
21 | break
22 | except Exception,ERROR:
23 | print ERROR
--------------------------------------------------------------------------------
/Module/WhatWeb/plugins/lightbox.rb:
--------------------------------------------------------------------------------
1 | ##
2 | # This file is part of WhatWeb and may be subject to
3 | # redistribution and commercial restrictions. Please see the WhatWeb
4 | # web site for more information on licensing and terms of use.
5 | # http://www.morningstarsecurity.com/research/whatweb
6 | ##
7 |
8 |
9 | # Version 0.2
10 | # removed :probability & :name
11 |
12 | Plugin.define "Lightbox" do
13 | author "Andrew Horton"
14 | version "0.2"
15 | description "Javascript for nice image popups"
16 |
17 | # identifying strings
18 |
19 | matches [
20 | {:regexp=>/