-
Notifications
You must be signed in to change notification settings - Fork 589
spider_plus module enhancement: new 'KEYWORDS' option #913
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: main
Are you sure you want to change the base?
spider_plus module enhancement: new 'KEYWORDS' option #913
Conversation
…so made changes to the e2s test file
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.
Besides one change the diff looks good so far
nxc/modules/spider_plus.py
Outdated
| category = "enum" # Added to fix the loading error | ||
| supported_protocols = ["smb"] | ||
| category = CATEGORY.CREDENTIAL_DUMPING |
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.
Please revert this change
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.
Done.
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.
Please revert this change
any updates in this PR?
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.
Unfortunately not yet, there are roughly 50 PRs that need to be reviewed first
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.
Oh i see, got it !
Done, you may check it out now |
Description
This PR adds a
KEYWORDSoption to thespider_plusmodule, enabling users to filter files by keywords in their contents (e.g.,-o KEYWORDS=password). The feature enhances targeted file discovery while maintaining backward compatibility with the original module behavior when no keywords are provided. It also:tests/e2e_commands.txtand screenshots for bothKEYWORDSand non-KEYWORDSruns.No issues fixed; this is a new feature.
No new dependencies required.
Type of change
Setup guide for the review
/home/atra/.cache/pypoetry/virtualenvs/netexec-DA4IO4FG-py3.13).git clone https://github.com/amroes/NetExec.gitpoetry installcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shamroes:amroes).source /home/atra/.cache/pypoetry/virtualenvs/netexec-DA4IO4FG-py3.13/bin/activate nxc smb 192.168.252.129 -u amroes -p amroes -M spider_plus -o KEYWORDS=passwordScreenshots
With KEYWORDS:



Without KEYWORDS (shows normal spider_plus usage) :
Checklist
[x] I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
[x] I have added or updated the tests/e2e_commands.txt file if necessary
[x] New and existing e2e tests pass locally with my changes
[] If reliant on changes of third party dependencies, such as Impacket, dploot, lsassy, etc, I have linked the relevant PRs in those projects
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[] I have made corresponding changes to the documentation (PR: pending)