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

[BUG] ERROR: Error processing command: Invalid isoformat string: #728

Open
1 task done
masmsec opened this issue May 7, 2024 · 2 comments
Open
1 task done

[BUG] ERROR: Error processing command: Invalid isoformat string: #728

masmsec opened this issue May 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@masmsec
Copy link

masmsec commented May 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Empire Version

5.10.2

Python Version

3.10.13

Operating System

Debian

Database

MySQL

Current Behavior

(Empire) > agents
ERROR: Error processing command: Invalid isoformat string: '2024-05-07T09:54:57Z'
(Empire) > agents
ERROR: Error processing command: Invalid isoformat string: '2024-05-07T09:58:08Z'
(Empire) > modules
(Empire) > agents
ERROR: Error processing command: Invalid isoformat string: '2024-05-07T09:59:11Z'
(Empire) > listeners
ERROR: Error processing command: Invalid isoformat string: '2024-05-07T09:13:16Z'
(Empire) >

Expected Behavior

It is suppose to show the agents, listeners when ever I type .

Steps To Reproduce

Before I started the Listener, When I type Listener command, it shows the listener table.
If I start a listener, It no longer shows the table giving me the below error.
(Empire) > listeners
ERROR: Error processing command: Invalid isoformat string: '2024-05-07T09:13:16Z'

This same thing happens when I type agents. When there is no agent, it displays the table but when an agent connets, It displays the below.
(Empire) > agents
ERROR: Error processing command: Invalid isoformat string: '2024-05-07T09:59:11Z'

Anything else?

error_empire

@masmsec masmsec added the bug Something isn't working label May 7, 2024
@Cx01N
Copy link

Cx01N commented May 21, 2024

Can you try a few things please:

  1. Does a server reset with `--reset`` make a difference?
  2. Can you try running with Python 3.12 and see if that gets rid of the error?

@Cx01N Cx01N self-assigned this May 21, 2024
@masmsec
Copy link
Author

masmsec commented May 27, 2024

Does a server reset with `--reset`` make a difference?
This did not work .

Can you try running with Python 3.12 and see if that gets rid of the error?
I started with Python 3.12 then downgraded to 3.10

I think the error has to do with date/time formatting. This only happens when an agent comes it and possibly, unable to process the time.

I have been using the web version instead of console .

cmndcntrlcyber pushed a commit to cmndcntrlcyber/Empire that referenced this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants