WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

@ameidatou

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions