[go: nahoru, domu]

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 to use Sherloq? #85

Open
AndreaPGITA opened this issue May 31, 2024 · 3 comments
Open

How to use Sherloq? #85

AndreaPGITA opened this issue May 31, 2024 · 3 comments

Comments

@AndreaPGITA
Copy link
AndreaPGITA commented May 31, 2024

I followed the procedure step by step, but I can't start Sherloq. I'm working on Trace Lab virtual machine.
Can you recommend an optimal working environment for using sherloq?
When I launch the command "~/.bashrc", I have this error:

<Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
_comp_dequote__initialize:unset:2: no such hash table element:
/usr/share/bash-completion/bash_completion:615: parse error near `&'
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/premkproject
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/postmkproject
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/initialize
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/premkvirtualenv
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/postmkvirtualenv
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/prermvirtualenv
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/postrmvirtualenv
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/predeactivate
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/postdeactivate
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/preactivate
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/postactivate
virtualenvwrapper.user_scripts creating /home/osint/.virtualenvs/get_env_details

[\e]0;\u@\h: \w\a][\033[;32m]┌──([\033[1;34m]\u㉿\h[\033[;32m])-[[\033[0;1m]\w[\033[;32m]]\n[\033[;32m]└─[\033[1;34m]$[\033[0m]

@GuidoBartoli
Copy link
Owner
GuidoBartoli commented Jun 2, 2024

Are you referring to this OSINT VM?

If so, I honestly do not have experience on the Linux distribution provided with these Operating System and I do not know if it is Ubuntu based or not, since Sherloq has only been tested on that. Can you provide some more information about the underlying distribution?

When I launch the command "~/.bashrc", I have this error:

~/.bashrc is not a command, it is the shell script executed every time you open a bash terminal on the machine. If you are referring to the $ source ~/.bashrc step in the Installation, this is needed to enable python virtual environments in the current shell if you just installed virtualenvwrapper, but if you just open a new one, this is automatically executed from then on.

However, I added instructions in the README to use the Python built-in venv alternative to virtualenvwrapper, so maybe it's simpler that way.

@AndreaPGITA
Copy link
Author
AndreaPGITA commented Jun 2, 2024

Are you referring to this OSINT VM?

If so, I honestly do not have experience on the Linux distribution provided with these Operating System and I do not know if it is Ubuntu based or not, since Sherloq has only been tested on that. Can you provide some more information about the underlying distribution?

When I launch the command "~/.bashrc", I have this error:

~/.bashrc is not a command, it is the shell script executed every time you open a bash terminal on the machine. If you are referring to the $ source ~/.bashrc step in the Installation, this is needed to enable python virtual environments in the current shell if you just installed virtualenvwrapper, but if you just open a new one, this is automatically executed from then on.

However, I added instructions in the README to use the Python built-in venv alternative to virtualenvwrapper, so maybe it's simpler that way.

Thanks GuidoBartoli, I read the new readme file, I created a virtual machine with "VirtualBox" and as S.O. I chose Ubuntu 22.04.
I later updated python3 and installed pip3 and git.
I followed the procedure in the readme file with Virtual Environment, but when I run the "pip install -r requirements.txt" command I get errors because it doesn't find the specific versions of some packages.
of the packages that gave me this error, modify the requirements.txt file, I installed the latest versions.
launching "python sherloq.py" gives me an error in the core

@GuidoBartoli
Copy link
Owner

I followed the procedure in the readme file with Virtual Environment, but when I run the "pip install -r requirements.txt" command I get errors because it doesn't find the specific versions of some packages.

Can you please report the error messages you are receiving?

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

No branches or pull requests

2 participants