aboul3la / Sublist3r

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

AttributeError: module 'sublist3r' has no attribute 'main' #178

Open kamalakkannan1984 opened 5 years ago

kamalakkannan1984 commented 5 years ago

When using this tool for creating python script I got this issue

Request Method: GET

http://127.0.0.1:8000/ 2.2.1 AttributeError module 'sublist3r' has no attribute 'main' C:\Users\Dell1\Documents\dev\Shield\subdomains\myapp\views.py in home, line 15 C:\Users\Dell1\Envs\shield\Scripts\python.exe 3.7.3 ['C:\Users\Dell1\Documents\dev\Shield\subdomains', 'C:\Users\Dell1\Envs\shield\Scripts\python37.zip', 'C:\Users\Dell1\Envs\shield\DLLs', 'C:\Users\Dell1\Envs\shield\lib', 'C:\Users\Dell1\Envs\shield\Scripts', 'c:\users\dell1\appdata\local\programs\python\python37-32\Lib', 'c:\users\dell1\appdata\local\programs\python\python37-32\DLLs', 'C:\Users\Dell1\Envs\shield', 'C:\Users\Dell1\Envs\shield\lib\site-packages'] Fri, 24 May 2019 04:58:34 +0000

SDugo commented 4 years ago

I also experienced this issue while using sublist3r from another program. My fix was to copy the Sublist3r/subbrute folder to the folder where I had my other script.

For instance:

Maybe this fix can help someone else.