Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I fix this? #180

Closed
Brumbpo-Tungus opened this issue Apr 7, 2020 · 10 comments
Closed

How do I fix this? #180

Brumbpo-Tungus opened this issue Apr 7, 2020 · 10 comments

Comments

@Brumbpo-Tungus
Copy link

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
Copy link
Contributor

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
Copy link

I have the same issue.

@KingAkeem
Copy link
Member

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

@samitbrc
Copy link

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

@samitbrc
Copy link

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
Copy link
Member

PSNAppz commented May 17, 2020

Try this: StackOverFlow

@samitbrc
Copy link

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
Copy link
Member

PSNAppz commented May 19, 2020

@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.

@PSNAppz PSNAppz closed this as completed May 19, 2020
@yekutielyehuda
Copy link

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 KingAkeem reopened this Oct 31, 2023
@KingAkeem
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants