Skip to content

AttributeError: 'list' object has no attribute 'items' #20

@MrAnonymousse

Description

@MrAnonymousse

`./sshprank.py rank -b hosts.txt > sshds2.txt

[+] game started
[+] cracking single target
[+] game over
Traceback (most recent call last):
File "/root/sshprank/./sshprank.py", line 720, in
main(sys.argv[1:])
File "/root/sshprank/./sshprank.py", line 667, in main
crack_single()
File "/root/sshprank/./sshprank.py", line 534, in crack_single
host, ports = list(opts['targets'].copy().items())[0]
AttributeError: 'list' object has no attribute 'items'`

No matter what order you place, the same error occurs.
I know there is already another issue on the same error, but the error is not fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions