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

IndexError list index out of range #21

Closed
Lou511 opened this issue Nov 16, 2018 · 11 comments
Closed

IndexError list index out of range #21

Lou511 opened this issue Nov 16, 2018 · 11 comments
Assignees

Comments

@Lou511
Copy link

Lou511 commented Nov 16, 2018

Hi. I am trying to parse data exported from a forensic image, to my case folder. I encounter the following traceback output:

Traceback (most recent call last):
File "bottle.py", line 862, in _handle
File "bottle.py", line 1732, in wrapper
File "hindsight_gui.py", line 161, in do_run
File "pyhindsight\analysis.py", line 127, in run
File "pyhindsight\browsers\chrome.py", line 1335, in process
IndexError: list index out of range

Exception is: IndexError('list index out of range',)

When I open chrome.py, and inspect line 1335, it appears there is a trigger for run failure, if a cache-related circumstance exists in the source. Am I on the right path with this interpretation? Am I doing something wrong when running Hindsight?

@obsidianforensics
Copy link
Owner

Can you show me how you ran Hindsight? From the command line or through the web UI? What does your input directory look like (the Chrome profile folder)? This error shouldn't happen, so I'm trying to understand what went wrong. Can you attach the log file?

There's a chance you did something wrong, but more likely you found a bug or something in Chrome changed (again). Thanks for reporting it either way.

@Lou511
Copy link
Author

Lou511 commented Dec 1, 2018 via email

@Bjorn92
Copy link

Bjorn92 commented Oct 3, 2019

I am also getting this same error when I run in the CLI and the UI. I am on Windows 10, but it resolves when it is run on a UNIX device.

image

image

@obsidianforensics
Copy link
Owner

Hi there - can you retry with the 2.4 release? I believe this issue was fixed by a3b92b5.

Basically, one of Chrome's database schema changes resulted in an edge case in Hindsight's version determination logic, which resulted in it eliminating all Chrome versions as possibilities (and then it tries to access a list item that doesn't exist, resulting in that error message you see).

@Bjorn92
Copy link

Bjorn92 commented Oct 3, 2019

I checked the recent source file for 2,4 but the compiled code is still for 2.3 and is failing.

image

image

@obsidianforensics
Copy link
Owner

You've tried the compiled exe at https://github.com/obsidianforensics/hindsight/releases/tag/v2.4.0?

@Bjorn92
Copy link

Bjorn92 commented Oct 4, 2019

Yeah, I downloaded the Source File (zip). Extracted it, and ran the exe out of that file. You can see in the first image the path that I am in when I ran it.

@Bjorn92
Copy link

Bjorn92 commented Oct 4, 2019

So I downloaded the standalone exe listed there not the Source File(zip), and it worked @obsidianforensics

So maybe just the Source File needs updated?

@obsidianforensics
Copy link
Owner

Yeah it looks like I missed updating those bundled exes, sorry about that. Good catch.

@obsidianforensics
Copy link
Owner

8f1e99e pushes the new exes to source

@Bjorn92
Copy link

Bjorn92 commented Oct 4, 2019

Looks great! Thanks man!

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