You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting it up all up and despite using a virtual environment I still am unable to get the gmail authentication to work. I have tried two different app passwords with gmail resulting in the same issue.
Work environment
Question
Answer
OS version (server)
Ubuntu
OS version (client)
20.04.5 LTS
Python version
3.8.10
Type of email address used
Gmail
Mail client type & version
Gmail
Browser type & version
Chrome
Virtualized Env.
True
Dedicated RAM
4 GB
vCPU
6
ThePhish version
Where do I find this info? latest git clone
TheHive version
5.0.18-1
Cortex version
cortex0 - 3.1.7-1
MISP version
MISP - 2.4.164
Installed using Docker and Docker Compose
False
To Reproduce
Steps to reproduce the behavior:
Go to the Phish URL'
Click on List emails'
An error is produced
Expected behavior
Expect a valid connection to gmail
Screenshots
Dependencies met
App password configured
Config file
Error
Additional context
My Hive, Cortex and MISP is hosted on another container within my proxmox server.
The only thing I cant seem to get working is the "Add the run_responder()". Is it still relevant for my case? Do I run the command on my ThePhish container or my other container holding thehive?
The text was updated successfully, but these errors were encountered:
I see from your environment that you're using TheHive 5. ThePhish has not been tested on TheHive 5. This is the reason why your "add_run_responder()" will never work.
However, this issue seems to be unrelated to TheHive or ThePhish itself, it is likely more of a configuration problem either in your configuration file or with your Google App password.
I suggest you switch to TheHive 4 to try ThePhish, maybe you can use the docker-compose available in the repo.
I have the same error, the credentials are fine
"imap" : {
"host" : "imap.gmail.com",
"port" : "993",
"user" : "email@gmail.com",
"password" : "password",
"folder" : "inbox"
},
Error
thephish | [ERROR]_[list_emails]: Error while trying to connect to IMAP server: Traceback (most recent call last):
thephish | File "/root/thephish/list_emails.py", line 243, in main
thephish | connection = connect_to_IMAP_server()
thephish | File "/root/thephish/list_emails.py", line 21, in connect_to_IMAP_server
thephish | connection.login(config['imapUser'], config['imapPassword'])
thephish | File "/usr/lib/python3.8/imaplib.py", line 601, in login
thephish | typ, dat = self._simple_command('LOGIN', user, self._quote(password))
thephish | File "/usr/lib/python3.8/imaplib.py", line 1205, in _simple_command
thephish | return self._command_complete(name, self._command(name, *args))
thephish | File "/usr/lib/python3.8/imaplib.py", line 1030, in _command_complete
thephish | raise self.error('%s command error: %s %s' % (name, typ, data))
thephish | imaplib.IMAP4.error: LOGIN command error: BAD [b'Not enough arguments provided h10mb16417107edv']
Describe the bug
After setting it up all up and despite using a virtual environment I still am unable to get the gmail authentication to work. I have tried two different app passwords with gmail resulting in the same issue.
Work environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect a valid connection to gmail
Screenshots
Dependencies met
App password configured
Config file
Error
Additional context
My Hive, Cortex and MISP is hosted on another container within my proxmox server.
The only thing I cant seem to get working is the "Add the run_responder()". Is it still relevant for my case? Do I run the command on my ThePhish container or my other container holding thehive?
The text was updated successfully, but these errors were encountered: