Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ameidatou opened this issue Jun 18, 2020 · 2 comments
Labels

Comments

@ameidatou
Copy link

ameidatou commented Jun 18, 2020

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

@ameidatou ameidatou changed the title parsing hostnames should return the type of the hostname detected user or PTR parsing hostnames should return the type of the hostname detected i.e user or PTR Jun 18, 2020
@savon-noir
Copy link
Owner

thanks for flagging this. i'll add this to the backlog of version 0.7.1 (next update)

@savon-noir
Copy link
Owner

I've got to jump to 0.7.2 without including this in the package but i've already started with the 0.7.3 work..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants