Skip to content

parsing hostnames should return the type of the hostname detected i.e user or PTR #103

Description

@ameidatou

Parsing hostname should return a dictionary with the name and type attributes of the hostname and not just a string of hostnames names:
According to DTD:

<!ELEMENT hostname EMPTY >
<!ATTLIST hostname
name CDATA #IMPLIED
type %hostname_types; #IMPLIED
>

Example of XML output:

<hostnames>
<hostname name="scanme.org" type="user"/>
<hostname name="scanme.nmap.org" type="PTR"/>
</hostnames>

Currently hostnames are just string of names

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions