Skip to content

Added an optimization for search results - #147

Merged
ydkhatri merged 2 commits into
abrignoni:masterfrom
ydkhatri:master
Nov 21, 2020
Merged

ydkhatri merged 2 commits into
abrignoni:masterfrom
ydkhatri:master

Conversation

@ydkhatri

Copy link
Copy Markdown
Contributor

Now there is an option to terminate the file search early, if you only need the first search result. The seeker.search has this option added, function is now: def search(self, filepattern, return_on_first_hit=False)

For at least a couple of plugins, this results in much faster processing.

Using filesystem extraction type on the 'Ruth' ctf ios image.

PhotosMetadata plugin
563.5 sec - Before
312.4 sec - Now

SMS plugin
25.51 sec - Before
13.59 sec - Now

I've also sorted the modules under ilap_artifacts.py for easy reading/editing.

@ydkhatri
ydkhatri merged commit 43eee13 into abrignoni:master Nov 21, 2020
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

Successfully merging this pull request may close these issues.

1 participant