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

Tanner API Parameter for setting number of returned session #404

Open
BlackPreacher opened this issue Feb 13, 2021 · 4 comments
Open

Tanner API Parameter for setting number of returned session #404

BlackPreacher opened this issue Feb 13, 2021 · 4 comments

Comments

@BlackPreacher
Copy link

After a few days for the snare honeypot collecting data there had been about 1000 sessions with data.
If I tried to export and query them at one time to analyse the collected data for some ressearches I saw that there were returned only 50 requests.
I would suggest to add an filter-parameter (e.g. called "size"), where the user can choose the number of returned sessions.

@mohamedmostafadawood
Copy link

result = await self.api.return_snare_info(snare_uuid, 50)

I think this line is the key solution for your problem.

@mohamedmostafadawood
Copy link

@afeena @mzfr is there a reason for choosing to return 50 requests only?
I can work on it if it is possible : )

@mzfr
Copy link
Collaborator

mzfr commented Mar 12, 2022

@mohamedmostafadawood AFAIK it is just for the single query. So in the single query, it returns 50. And then I think filters were supposed to be used for getting the other sessions. But yes there has to be a better way via which any number of sessions can be extracted.

@mohamedmostafadawood
Copy link

@mzfr I got 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

3 participants