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

File naming #272

Merged
merged 18 commits into from
Jan 4, 2021
Merged

File naming #272

merged 18 commits into from
Jan 4, 2021

Conversation

xshill
Copy link
Collaborator

@xshill xshill commented Dec 23, 2020

Closes issues #261, #264, #268, #270.

Most notably:

  • Fix bug preventing files from being closed properly
  • Standardize outputs of file crawler and device redirection component so that they both create a "clone" of the victim's filesystem
  • Actual files are stored in the files folder and are named by hash for easy detection of duplicates
  • The filesystems folder contains the filesystem clones, and files in this directory are symbolic links to the files in the files folder
  • Symbolic links are created using the Path.symlink_to method in Python and the documentation suggests that this should work on both Linux and Windows
  • Unit tests added for DeviceRedirectionMITM and FileMapping
  • No more mapping.json file (the information it would contain should be easy to find anyway with the command line, and this simplifies the code)

Copy link
Collaborator

@obilodeau obilodeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the code. I'm not super familiar with what's going on here but nothing offended me. I think we should go with the merge. We will test before releasing so I think we will be good.

@xshill xshill merged commit a1f67f5 into master Jan 4, 2021
xshill pushed a commit that referenced this pull request Jan 5, 2021
@xshill xshill mentioned this pull request Jan 5, 2021
@obilodeau obilodeau deleted the file-naming branch August 6, 2021 17:17
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.

2 participants