Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unhandled exception in event loop #156

Open
punchdrunktux opened this issue Jul 30, 2020 · 1 comment
Open

[BUG] Unhandled exception in event loop #156

punchdrunktux opened this issue Jul 30, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@punchdrunktux
Copy link

Attempting to use ST teamserver and client on Kali rolling 2020. The client connects to the teamserver successfully, but as soon as I type "use" + spacebar i get the error below. Note, the error happens once i press space.

Using Kali Rolling 2020, installed ST 0

  • SILENTTRINITY Version: 0.4.6dev
  • OS running the Client: Kali 2020 Rolling
  • Python Version Running the Client: 3.8.5
  • OS running the TeamServer: Kali 2020 Rolling
  • Python version running the Teamserver: 3.8.5

Expected Behavior

To either get the context help or be able to finish the command (e.g. use listener)

Current Behavior

Receive an "unhandled exception in event loop" error.

Failure Information

Unhandled exception in event loop:
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/root/.shiv/st_c074f787e9c2d63263caee22a902443d1770bab9b3f6f6dcc4d695e5c2a40684/site-packages/prompt_toolkit/eventloop/async_generator.py", line 43, in runner
    for item in get_iterable():
  File "/root/.shiv/st_c074f787e9c2d63263caee22a902443d1770bab9b3f6f6dcc4d695e5c2a40684/site-packages/silenttrinity/core/client/cmdloop.py", line 60, in get_completions
    for loadable in self.cli_menu.current_context.available:

Exception 'STShell' object has no attribute 'available'

Please help provide information about the failure if this is a bug.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Start teamserver
  2. Start client
  3. in client, type "use "

Failure Logs

Same as above.

@punchdrunktux punchdrunktux added the bug Something isn't working label Jul 30, 2020
@d-sec-net
Copy link

Use doesnt work in that context. I think this will be down to the auto completion/prompt implementation that is throwing that error. The use function/option is only available when interacting with modules. So run modules first then you can use, use.

useuseuse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants