Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Cloudflare resolver

Hello HF
Can somebody help me with Cloudflare resolver but scripted in PYTHON.
I am newbie and don't know too much about python scripting.
Im running win xp 32bit sp3
what have you wrote so far? if nothing you got google to start learning or to search for existing sources.

did the cloudflare resolver a really long time ago... share here your progress i will help you out.
I code one in 2 minutes, test it

Install Dependence
Code
pip install dnspython

Script
Code
import sys
import dns.resolver

if len(sys.argv) >= 1:
   domain = sys.argv[0]
   answers = dns.resolver.query(domain,'A')
   for server in answers:
      print server

I din't code python in last 2 months, so don't bla me for errors in the code :/ Just reply and i will fix...

[Image: winged_scarab_white.png]
1AnubisAb8YszYn8TboYsBX5tywX9CnNy5
correct me if I'm wrong but isn't a cloudfare resolver just basically the last jump of a tracert?
I made my own priv8 in python and works perfect, thanks for replies :)
I scanned it on virustotal.com website and Neshta.A virus appeared and i think this is because i compiled it with py2exe.
Tested this with cmd by browsing folder with "cd" command and running it from cmd with typing again "CloudFlareRESOLVER.exe"
mega. nz/#!9F5xRQqZ!87N_Ss4IZgk9Zw2tJ-GRGmEPvrVr2VpL64ERAgi3t9M
(Nov 2, 2015 03:41 AM)Radical_ed Wrote:  correct me if I'm wrong but isn't a cloudfare resolver just basically the last jump of a tracert?

You are wrong. A CloudFlare "resolver" is querying common subdomains like direct, mail, ftp, etc, and seeing if they return an IP that isn't a CloudFlare IP.

I love this user <3
Spoiler (Click to View)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by gigajewFeb 15, 2017 02:30 AM 6 840 Feb 15, 2017 02:30 AM
Last Post: Sakuto
[.NET] by PhunKTecHJun 29, 2016 02:21 AM 7 441 Jun 29, 2016 02:21 AM
Last Post: fathurion
[.NET] by H0udini_R.UMay 2, 2015 08:52 PM 19 1,585 May 2, 2015 08:52 PM
Last Post: xs3rve