0

I was using this auxiliary and 5 minutess in I get this error:

 Auxiliary failed: RuntimeError Problem invalidating login: PG::InvalidRegularExpression: ERROR:  invalid regular expression: quantifier operand invalid
: SELECT  DISTINCT "metasploit_credential_cores"."id", "metasploit_credential_cores"."id" AS alias_0 FROM "metasploit_credential_cores" LEFT OUTER JOIN "metasploit_credential_privates" ON "metasploit_credential_privates"."id" = "metasploit_credential_cores"."private_id" LEFT OUTER JOIN "metasploit_credential_publics" ON "metasploit_credential_publics"."id" = "metasploit_credential_cores"."public_id" LEFT OUTER JOIN "metasploit_credential_logins" ON "metasploit_credential_logins"."core_id" = "metasploit_credential_cores"."id" LEFT OUTER JOIN "services" ON "services"."id" = "metasploit_credential_logins"."service_id" LEFT OUTER JOIN "hosts" ON "hosts"."id" = "services"."host_id" LEFT OUTER JOIN "metasploit_credential_realms" ON "metasploit_credential_realms"."id" = "metasploit_credential_cores"."realm_id" WHERE "metasploit_credential_cores"."workspace_id" = $1 AND "services"."name" IN ('https') AND "services"."port" IN (443) AND ("metasploit_credential_publics"."username" ~* '^tomcat$') AND ("metasploit_credential_privates"."data" ~* '^******$') AND ("metasploit_credential_logins"."id" IS NOT NULL)  ORDER BY "metasploit_credential_cores"."id" ASC LIMIT 1. See log for more details.
[-] Call stack:
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/core.rb:174:in `log_error'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/login_data_proxy.rb:55:in `rescue in invalidate_login'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/login_data_proxy.rb:32:in `invalidate_login'
[-]   /usr/share/metasploit-framework/lib/msf/core/auxiliary/report.rb:58:in `invalidate_login'
[-]   /usr/share/metasploit-framework/modules/auxiliary/scanner/http/tomcat_mgr_login.rb:133:in `block in run_host'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/base.rb:234:in `block in scan!'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/base.rb:179:in `block in each_credential'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/credential_collection.rb:132:in `block in each'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/credential_collection.rb:130:in `each_line'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/credential_collection.rb:130:in `each'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/base.rb:141:in `each_credential'
[-]   /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/base.rb:205:in `scan!'
[-]   /usr/share/metasploit-framework/modules/auxiliary/scanner/http/tomcat_mgr_login.rb:119:in `run_host'
[-]   /usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:111:in `block (2 levels) in run'
[-]   /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:106:in `block in spawn'
[*] Auxiliary module execution completed

Anyone know why?

  • Please format your post properly. – davidbaumann Apr 4 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.