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
http-robtex-reverse-ip outdated #679
Comments
Could you please elaborate on why you propose to parse this particular section? I have observed that the section covers the history as well, which can result in stale and/or duplicate entries. You can see this effect towards the end of the script output when submitting 216.58.199.36:
My suggestion would be to bracket the section with |
Hi dude, I don't know why I cannot get that to work now.
This is the command I have based it on:
curl https://www.robtex.com/ip-lookup/$1 --silent | grep "xsha" | grep -Po
"(?<=dns-lookup/).*?(?=\">)"
where $i is the ip I want to take the hosts from.
Anyway, for this script being useful to the people to be used I propose
taking the hosts from several sources.
For that task I use this bashrc function. I think it would be useful to
adapt it to nmap.
ip2hosts() {
curl https://www.robtex.com/ip-lookup/$1 --silent | grep "xsha" | grep -Po
"(?<=dns-lookup/).*?(?=\">)"
curl "
http://www.virustotal.com/vtapi/v2/ip-address/report?ip=$1&apikey=3c052e9a7339f3a73f00bd67baea747e47f59ee6c1596e59590fd953d00ce519"
-s | json_pp | grep -Po "(?<=\"hostname\" : \").*?(?=\",)"
dig -x $1 +short
}
which use is the following: ip2hosts <ip>
Regards
2017-02-26 19:01 GMT+01:00 nnposter <notifications@github.com>:
… Could you please elaborate on why you propose to parse this particular
section?
I have observed that the section covers the history as well, which can
result in stale and/or duplicate entries. You can see this effect towards
the end of the script output when submitting 216.58.199.3
<https://www.robtex.com/ip-lookup/216.58.199.36>:
Pre-scan script results:
| http-robtex-reverse-ip:
| google.ac
| google.af
...
| p5.vjsmbr7ssmt4k.2dp6eokk4j72qntx.520044.s1.v4.ipv6-exp.l.google.com
| p4.dh2ccohnsiq36.5yf4vb7vs6awmfnf.555425.s1.v4.ipv6-exp.l.google.com
| syd09s12-in-f36.1e100.net
| syd09s12-in-f4.1e100.net
| syd09s12-in-f36.1e100.net
|_ syd09s12-in-f4.1e100.net
My suggestion would be to bracket the section with <h2>Shared</h2> and
<h2>History</h2> instead. Thoughts?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#679 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGyTKwQ4u0RciVrvZ8xe_0zc5MLbF_Hfks5rgb3ygaJpZM4L2W3y>
.
|
One reason why the script might not work for you at this moment is due to #708, i.e. nothing wrong with the script itself. Try patching |
Hello, regarding the ip2hosts functionality, I have been working hard on
it, if you want to take something from it this is my script:
https://github.com/adon90/ip2hosts
;)
2017-03-05 18:32 GMT+01:00 nmap-bot <notifications@github.com>:
… Closed #679 <#679> via d7c8bf9
<d7c8bf9>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#679 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AGyTKzU11k8b1GjVkZtLz2qQ_E20QxRPks5rivG6gaJpZM4L2W3y>
.
|
Didn't get my pull request to work, so I send you the updated code: https://github.com/adon90/http-robtex-reverse-ip/blob/master/http-robtex-reverse-ip.nse
The text was updated successfully, but these errors were encountered: