-
Notifications
You must be signed in to change notification settings - Fork 501
Add linux sockscan plugin #1120
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
base: develop
Are you sure you want to change the base?
Conversation
Looks like I've not understood how the testing works, it's my own test that's failing. so I'll update that! |
…None' as per CodeQL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for work @eve-mem
Co-authored-by: Donghyun Kim <[email protected]>
Thanks for merging those changes in directly for me @ikelos, and for the suggested fix @digitalisx. |
…, make use of relative_child_offset, fix f string.
Is this still being worked on or was it replaced by a different PR? @eve-mem @gcmoreira |
This still needs work from me, i don't think there is another at the moment (I won't be offended if someone does have the time to sort this out, or make an alternative) |
Co-authored-by: ikelos <[email protected]>
Co-authored-by: ikelos <[email protected]>
Co-authored-by: ikelos <[email protected]>
I'm loving all the new code checking in the tests - really helpful. |
…unction" This reverts commit d532f37.
… has been tested with
Hello @ikelos and @gcmoreira I've tried updating this to work with the various framework changes and updates. You won't have seen this in a little while so I expect you'll have a fair few comments on how I can make this better. Let me know what you think, thanks again for all the help! <3 🦊 |
Hello 👋
This PR adds a first attempt at a sockscan plugin. Based heavily on the vol2 netscan plugin by @atcuno. I've also added another method following the path from a file object as per the sockstat plugin by @gcmoreira, and to display the results this plugin makes heavy use of the great socket handling from sockstat.
I've tried to include scanning for all the types of sockets supported rather than just the INET ones used un the vol2 plugin. I've hard coded the symbols to search for, I think it has reasonably good coverage of most cases but I'd welcome any feedback.
I've tried adding a test case as well - hopefully I've done that correctly.
Thanks for taking the time to review this, and I look forward to and feedback you might have.
Thank you!
Here is a sample of the results: