Skip to content

Unhandled Exception (70de8d071) #674

Closed

Description

@AutosploitReporter

Autosploit version: 3.1.1
OS information: Linux-4.19.0-kali1-amd64-x86_64-with-Kali-kali-rolling-kali-rolling
Running context: autosploit.py
Error mesage: object of type 'NoneType' has no len()
Error traceback:

Traceback (most recent call):
 File "/root/AutoSploit/autosploit/main.py", line 116, in main
    terminal.terminal_main_display(loaded_tokens)
  File "/root/AutoSploit/lib/term/terminal.py", line 550, in terminal_main_display
    if len(choice_data_list) < 3:
TypeError: object of type 'NoneType' has no len()

Metasploit launched: False

Activity

  1. pinned this issue on Apr 19, 2019
  2. NullArray commented on Apr 19, 2019

    @NullArray
    Owner

    @ DevTeam

    Maybe add a try: except TypeError: block here as well to handle the NoneType issue.

  3. Ekultek commented on Apr 19, 2019

    @Ekultek
    Contributor

    I have no idea what’s causing this

  4. NullArray commented on Apr 20, 2019

    @NullArray
    Owner

    I have no idea what’s causing this

    I was looking whether it would return a NoneType on an array or on a dictionary when you prefix the var with len but i couldn't replicate it on my end either.

    That's why i'm suggesting catching the type error and just moving along with a pass statement. Or a message letting the user know the operation wasn't successful.

  5. Ekultek commented on Apr 22, 2019

    @Ekultek
    Contributor

    fixed here #1054

  6. unpinned this issue on Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions