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

Adding a module #312

Open
alt-glitch opened this issue Apr 27, 2021 · 4 comments
Open

Adding a module #312

alt-glitch opened this issue Apr 27, 2021 · 4 comments

Comments

@alt-glitch
Copy link

Hi,
If I understand correctly, each application protocol has its own module. Can anyone just give me a brief overview of how to add a new module for a protocol. How does a module work exactly and where does zgrab2_schemas come into play here?
What would be the procedure I'd have to go through to add a module for a protocol all in all?

Thank you in advance.

@haempel
Copy link

haempel commented Aug 2, 2021

If I understand correctly, each application protocol has its own module. Can anyone just give me a brief overview of how to add a new module for a protocol. How does a module work exactly and where does zgrab2_schemas come into play here?

Hi,
I have some understanding issues with the python schemas as well. I like to change some fields in the output file.
Changing the corresponding python files and reinstalling the zschema python module does not help.
I have no idea where these python files are used by zgrab, too.
Can anyone give a hint on this?

I am grateful for any help.

@dadrian
Copy link
Member

dadrian commented Aug 2, 2021

They're useful if you want to load ZGrab output directly into a database such as Elasticsearch or BigQuery. However, they're likely out-of-date / wrong, and not particularly well tested, so we should probably move them to an examples directory or similar. If you're adding a module, I wouldn't worry about them.

@haempel
Copy link

haempel commented Aug 2, 2021 via email

@dadrian
Copy link
Member

dadrian commented Aug 2, 2021

Yes

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