hatRiot / clusterd

application server attack toolkit
MIT License
687 stars 198 forks source link

Stack trace in fingerprint.py #20

Closed Meatballs1 closed 10 years ago

Meatballs1 commented 10 years ago
clusterd/0.3 - clustered attack toolkit
            [Supporting 6 platforms]

 [2014-05-16 11:40AM] Started at 2014-05-16 11:40AM
 [2014-05-16 11:40AM] Servers' OS hinted at windows
 [2014-05-16 11:40AM] Fingerprinting host 'x'
 [2014-05-16 11:40AM] Checking jboss version 3.2 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 3.2 JBoss Web Console...
 [2014-05-16 11:40AM] Checking jboss version 3.0 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 4.2 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 4.2 JBoss Web Console...
 [2014-05-16 11:40AM] Checking jboss version 4.0 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 4.0 JBoss Web Console...
 [2014-05-16 11:40AM] Checking jboss version 5.1 JBoss Web Manager...
 [2014-05-16 11:40AM] Checking jboss version 5.1 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 5.1 JBoss Web Console...
 [2014-05-16 11:40AM] Checking jboss version 5.0 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 5.0 JBoss Web Console...
 [2014-05-16 11:40AM] Checking jboss version 6.0 JBoss Web Manager...
 [2014-05-16 11:40AM] Checking jboss version 6.1 JBoss Web Manager...
 [2014-05-16 11:40AM] Checking jboss version 6.1 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 6.0 JBoss JMX Console...
 [2014-05-16 11:40AM] Checking jboss version 7.1 JBoss Management...
 [2014-05-16 11:40AM] Checking jboss version 7.0 JBoss Management...
 [2014-05-16 11:40AM] Checking jboss version 8.0 JBoss Management...
 [2014-05-16 11:40AM] Checking jboss version Any JBoss EJB Invoker Servlet...
 [2014-05-16 11:40AM] Checking jboss version Any JBoss HTTP Headers (Unreliable)...
Traceback (most recent call last):
  File "./clusterd.py", line 119, in <module>
    run(options)
  File "./clusterd.py", line 92, in run
    fingerengine.run()
  File "/root/git/clusterd/src/core/fingerprint.py", line 97, in run
    matched_fps = self.check_service(service)
  File "/root/git/clusterd/src/core/fingerprint.py", line 59, in check_service
    matched_fingerprints = self.definitions(self.options.ip, self.options.port, service)
  File "/root/git/clusterd/src/core/fingerprint.py", line 32, in definitions
    fp = fp.FPrint()
  File "/root/git/clusterd/src/platform/jboss/fingerprints/JBossInvoker.py", line 13, in __init__
AttributeError: class JINTERFACES has no attribute 'IN'
Meatballs1 commented 10 years ago

This is caused by left over .pyc files that were created before going to the latest version (JBossInvoker.py didn't exist anymore). git clean -f removed them and then it ran correctly.