Skip to content

[bug] argument of type 'NoneType' is not iterable (spn_data["hostname"]) #1

@p0dalirius

Description

@p0dalirius
Traceback (most recent call last):
  File "/workspace/GhostSPN/./GhostSPN.py", line 467, in <module>
    g.list_ghost_spns(
  File "/workspace/GhostSPN/./GhostSPN.py", line 168, in list_ghost_spns
    hosts_exists, wildcard_resolved = self.is_ghost_spn(userdata, spn)
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/GhostSPN/./GhostSPN.py", line 210, in is_ghost_spn
    if "." not in spn_data["hostname"]:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions