InQuest / omnibus

The OSINT Omnibus (beta release)
MIT License
316 stars 69 forks source link

Cmd2.py user warnings #32

Open lifeHacker42 opened 4 years ago

lifeHacker42 commented 4 years ago

Primary Question / Request

What type of request is there?

Please explain the bug in a clear and concise manner

On startup omnibus shows several user warnings referring to cmd2.py. Cmd2 seems properly installed.
Program then won't return any output and doesn't terminate. Ctrl+c must be used to return to prompt but help and exit are not even working

Steps to Recreate (If Applicable)

Install and run omnibus then attempt to run any command

Is this preventing you from using the application?

If you selected Yes, please explain why fully

No output is returned on any command

Do you have any screenshots, log output, tracebacks, or otherwise to support your requests?

` ██████╗ ███╗   ███╗███╗   ██╗██╗██████╗ ██╗   ██╗███████╗
██╔═══██╗████╗ ████║████╗  ██║██║██╔══██╗██║   ██║██╔════╝
██║   ██║██╔████╔██║██╔██╗ ██║██║██████╔╝██║   ██║███████╗
██║   ██║██║╚██╔╝██║██║╚██╗██║██║██╔══██╗██║   ██║╚════██║
╚██████╔╝██║ ╚═╝ ██║██║ ╚████║██║██████╔╝╚██████╔╝███████║
 ╚═════╝ ╚═╝     ╚═╝╚═╝  ╚═══╝╚═╝╚═════╝  ╚═════╝ ╚══════╝
             https://github.com/InQuest/omnibus

[*] Using configuration file (/home/lifehacker42/security/omnibus/etc/omnibus.conf) ...
[*] Debug: False
/home/lifehacker42/.local/lib/python2.7/site-packages/cmd2.py:3999: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'statement' on And expression collides with 'terminator' on contained expression
  lambda x: x[0].strip())('args') + blankLineTerminator)('statement')
/home/lifehacker42/.local/lib/python2.7/site-packages/cmd2.py:4006: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'statement' on And expression collides with 'terminator' on contained expression
  ignore=do_not_parse).setParseAction(lambda x: x[0].strip())('suffix') +
/home/lifehacker42/.local/lib/python2.7/site-packages/cmd2.py:4014: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'statement' on And expression collides with 'command' on contained expression
  pyparsing.Optional(terminator_parser) + after_elements)
/home/lifehacker42/.local/lib/python2.7/site-packages/cmd2.py:4014: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'statement' on And expression collides with 'args' on contained expression
  pyparsing.Optional(terminator_parser) + after_elements)
/home/lifehacker42/.local/lib/python2.7/site-packages/cmd2.py:4016: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'statement' on And expression collides with 'terminator' on contained expression
  blankLineTerminationParser = blankLineTerminationParser.setResultsName('statement')
Welcome to the Omnibus shell! Type "session" to get started or "help" to view all commands.
omnibus >>`
deadbits commented 4 years ago

Before starting omnibus can you add the —debug flag to it and share that output? Definitely looks like something broke with cmd2 but I’m not entirely sure why since I thought I have my requirements.txt repos pinned to specific versions.

I’ll see if I can recreate this in the meantime.

deadbits commented 4 years ago

Yup, library versions are pinned so idk what is going on here. I’ll try to recreate it.. could be some downstream library broke something in cmd2. That —debug argument output would be very helpful @lifeHacker42