DedSecInside / TorBot

Dark Web OSINT Tool
Other
2.88k stars 526 forks source link

How do I fix this? #180

Closed Brumbpo-Tungus closed 10 months ago

Brumbpo-Tungus commented 4 years ago

Traceback (most recent call last): File "torBot.py", line 10, in from modules.analyzer import LinkTree ImportError: No module named analyzer [4542] Failed to execute script torBot

What have I done wrong in the process of installing?

SubaruSama commented 4 years ago

That's odd. In the code of torBot.py, in line 10, it is referencing the right module, and in the module is all good. Have you tried again? My suggestion is: create a python virtual env, clone the repo and install the dependencies.

JeffBarron commented 4 years ago

I have the same issue.

KingAkeem commented 4 years ago

How are you executing torBot.py and what version of Python are you using?

samitbrc commented 4 years ago

oh I have created another issue like this my python is 3.8.2 os is kali

samitbrc commented 4 years ago

File "torBot.py", line 10, in from modules.analyzer import LinkTree File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.dict) File "modules/analyzer.py", line 6, in from ete3 import Tree, TreeStyle, TextFace, add_face_to_node File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.dict) File "site-packages/ete3/init.py", line 51, in File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.dict) File "site-packages/ete3/ncbi_taxonomy/init.py", line 40, in File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.dict) File "site-packages/ete3/ncbi_taxonomy/ncbiquery.py", line 56, in File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.dict) File "sqlite3/init.py", line 23, in File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.dict) File "sqlite3/dbapi2.py", line 27, in ModuleNotFoundError: No module named '_sqlite3' [7377] Failed to execute script torBot

PSNAppz commented 4 years ago

Try this: StackOverFlow

samitbrc commented 4 years ago

Thanks PSN....it worked..... now I'm able to see the result of python3 torBot.py -h now can you help me with steps to proceed further....? I've used the command python3 torbot.py -u http://weevil.info/

  1. It is showing multiple entries.........now I want to understand what is the actual use of crwaling this and get the output?
  2. Is that possible to find darkweb footprints for a website using this tool???

please help

PSNAppz commented 4 years ago

@samitbrc Great!

  1. You will get a list of URLs crawled from the page and you can see the tree output. Along with this, you can get the contents of the page, emails etc. So basically, it's an OSINT tool.
  2. We are working on that. Currently, this tool can be used for crawling both dark web and surface web pages. @KingAkeem can give some more details.
yekutielyehuda commented 10 months ago

I got the next errors:

/home/kali/TorBot/torbot/modules/linktree.py:64: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
  soup = BeautifulSoup(resp.text, "html.parser")
/home/kali/TorBot/torbot/modules/nlp/main.py:17: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
  soup = BeautifulSoup(data, features="html.parser")
/home/kali/TorBot/torbot/modules/linktree.py:175: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
  soup = BeautifulSoup(html, "html.parser")
^CInterrupt received! Exiting cleanly...

how can i fix this?

KingAkeem commented 10 months ago

These are warnings that are set by BeautifulSoup, the program should still run to completion. I could possibly set the log level to a lower setting so they aren't displayed but it's not a breaking change currently. You can create a new ticket for this warning and I'll take a look at it.