Sublist3r icon indicating copy to clipboard operation
Sublist3r copied to clipboard

sublist3r.py:614: DeprecationWarning:

Open Mr-Gag opened this issue 4 years ago • 11 comments

sublist3r.py:614: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead ip = Resolver.query(host, 'A')[0].to_text()

Mr-Gag avatar Aug 25 '20 23:08 Mr-Gag

I have the same issue. Any idea? or update planned to fix this?

xabix avatar Sep 30 '20 07:09 xabix

me too, any update ?

aldisaw avatar Oct 26 '20 11:10 aldisaw

same here... Has anyone fixed it?

Hell-yeahhz avatar Nov 26 '20 15:11 Hell-yeahhz

same here...anyone found the solution yet?

ashish99039 avatar Jan 18 '21 11:01 ashish99039

I have python 3+ but still getting the error. I am new here so if I am missing out on something, do let me know

On Sat, 23 Jan 2021 at 06:26, RoninNakomoto [email protected] wrote:

I wrote a fix for this and submitted a pull request for it just now. It is under: #292 https://github.com/aboul3la/Sublist3r/pull/292

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aboul3la/Sublist3r/issues/256#issuecomment-765804629, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOQDERRDF557YLQBXOUPV3S3INE5ANCNFSM4QLFZTRQ .

ashish99039 avatar Jan 23 '21 07:01 ashish99039

I will resubmit the fix specific to deprecated warning. I missed one additional deprecated statement.

RoninNakomoto avatar Jan 23 '21 07:01 RoninNakomoto

Okay! Thanks a lot. Will be waiting

On Sat, 23 Jan, 2021, 12:46 pm RoninNakomoto, [email protected] wrote:

I will resubmit the fix specific to deprecated warning. I missed one additional deprecated statement.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aboul3la/Sublist3r/issues/256#issuecomment-765881556, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOQDEWT52HSGG4IJN2GCILS3JZUNANCNFSM4QLFZTRQ .

ashish99039 avatar Jan 23 '21 17:01 ashish99039

Solve this problem. edit this file on the line:613 (ip = Resolver.query(host, 'A')[0].to_text()) /usr/lib/python3/dist-packages/sublist3r.py put this line ip = Resolver.resolve(host, 'A')[0].to_text()
Save and Solve

diegorobalino16 avatar Feb 01 '21 23:02 diegorobalino16

@ashish99039 @diegorobalino16 check sublist3r2 https://github.com/RoninNakomoto/Sublist3r2

it works on python3, is does much faster bruteforcing. it is based on sublist3r.

RoninNakomoto avatar Feb 04 '21 11:02 RoninNakomoto

@ashish99039 @diegorobalino16 check sublist3r2 https://github.com/RoninNakomoto/Sublist3r2

it works on python3, is does much faster bruteforcing. it is based on sublist3r.

Thanks so much. Will definitely check that

ashish99039 avatar Feb 04 '21 11:02 ashish99039

@ashish99039 had same issue, edited the line mentioned in the error using nano editor and it worked fine after that. Alternatively you can try sublit3r2 also.

sudo nano sublist3r.py
change the line as below lease use dns.resolver.Resolver.resolve() instead ip = Resolver.query(host, 'A')[0].to_text() save and you are good to go

detoober avatar May 22 '21 04:05 detoober