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
This one is about web-server implementation. Current implementation is writing data into the tables and as response gives only how many rows is added and how many rows are new but it would be very useful if /tasks/{id} endpoint (or something similar) will respond with actual data retrieved by specific task.
Also would be nice to have a module identifier for each task in a queue to know which module is running.
Do you have any plans on implementing this?
The text was updated successfully, but these errors were encountered:
Recon-ng doesn't maintain state when running a module. Meaning, it doesn't aggregate data then add it at one time. It adds data to the database as it goes. That way, it's less memory intensive because it doesn't have to store all the results in memory, and it won't lose data if something were to fail before the module finishes. It only knows the summary information because it maintains counters internally.
The API responds with only the task ID so the task queue can be queried for task progress. Once again, there's no maintained state between data gained and module ran (task) other than the "module" column in each table which says which module added that data. But subsequent runs will not be distinct.
Because these tasks are running in an asynchronous worker in the background, there is significant re-engineering required to figure out a way to maintain state of data harvested between the main app, Recon-ng, and the task worker. Tracking which module is associated with a task is something that can be handled by the API client. It would also be pretty easy to add to the task result as well. I'd need to take a closer look.
This one is about web-server implementation. Current implementation is writing data into the tables and as response gives only
how many rows is added and how many rows are new
but it would be very useful if/tasks/{id}
endpoint (or something similar) will respond with actual data retrieved by specific task.Also would be nice to have a module identifier for each task in a queue to know which module is running.
Do you have any plans on implementing this?
The text was updated successfully, but these errors were encountered: