aboul3la / Sublist3r

Fast subdomains enumeration tool for penetration testers
GNU General Public License v2.0
9.73k stars 2.1k forks source link

ImportError: No module named 'dns' #223

Closed hktalent closed 4 years ago

hktalent commented 4 years ago
apt install python-dnspython
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  python-dnspython
0 upgraded, 1 newly installed, 0 to remove and 127 not upgraded.
Need to get 0 B/102 kB of archives.
After this operation, 612 kB of additional disk space will be used.
Selecting previously unselected package python-dnspython.
(Reading database ... 36272 files and directories currently installed.)
Preparing to unpack .../python-dnspython_1.15.0-1+deb9u1_all.deb ...
Unpacking python-dnspython (1.15.0-1+deb9u1) ...
Setting up python-dnspython (1.15.0-1+deb9u1) ...

raceback (most recent call last):
  File "sublist3r.py", line 21, in <module>
    from subbrute import subbrute
  File "/root/Sublist3r/subbrute/subbrute.py", line 18, in <module>
    import dns.resolver
ImportError: No module named 'dns'
hktalent commented 4 years ago
 curl -s https://bootstrap.pypa.io/get-pip.py | python3
pip3 install dnspython==1.15.0