Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
atharvakale343 committed Oct 25, 2024
1 parent 879d8ae commit bc18f2d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 73 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,4 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
examples/out/known_content_hashes.sqlite
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "pypi"
pydantic = "~=2.9"
colorama = "0.4.6"
tqdm = "4.66.5"
flask-ml = "0.2.2"
flask-ml = "0.2.3"

[dev-packages]
black = "~=24.8"
Expand Down
14 changes: 7 additions & 7 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 19 additions & 65 deletions test/test.list.bi
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,18 @@
:b shell 231
python cmd_interface.py gen_hash_random --output_sql ./examples/out/known_content_hashes.sqlite --target_directory ./examples/target_directory --known_content_directory ./examples/known_content_directory --block_size 4 | head -n -2
:i returncode 0
:b stdout 822
:b stdout 617
INFO: Hashing all files in examples/known_content_directory
INFO: Successfully processed examples/known_content_directory
INFO: Stored hashes at examples/out/known_content_hashes.sqlite

INFO: Hashing random blocks from examples/target_directory
INFO: examples/target_directory has a total of 2 blocks
Results:
Small Block Forensics

## Results

- Found: True
- Target File: examples/target_directory/sample.txt
- Block Number in Target File: 1
- Known Dataset File: examples/known_content_directory/sample.txt
- Block Number in Known Dataset File: 1



Results:
Small Block Forensics

## Results

- Found: True
- Target File: examples/target_directory/sample.txt
- Block Number in Target File: 1
- Known Dataset File: examples/known_content_directory/sample.txt
- Block Number in Known Dataset File: 1

{
"output_type": "markdown",
"value": "\n## Results\n\n- Found: True\n- Target File: examples/target_directory/sample.txt\n- Block Number in Target File: 1\n- Known Dataset File: examples/known_content_directory/sample.txt\n- Block Number in Known Dataset File: 1\n",
"title": "Small Block Forensics",

:b stderr 0

Expand All @@ -59,27 +41,17 @@ INFO: examples/target_directory has a total of 2 blocks
:b shell 164
python cmd_interface.py gen_hash --output_sql ./examples/out/known_content_hashes.sqlite --known_content_directory ./examples/known_content_directory --block_size 4
:i returncode 0
:b stdout 453
:b stdout 396
INFO: Hashing all files in examples/known_content_directory
INFO: Successfully processed examples/known_content_directory
INFO: Stored hashes at examples/out/known_content_hashes.sqlite
Results:
Small Block Forensics

## Results

- Successfully generated SQLite DB at ./examples/out/known_content_hashes.sqlite



Results:
Small Block Forensics

## Results

- Successfully generated SQLite DB at ./examples/out/known_content_hashes.sqlite


{
"output_type": "markdown",
"value": "\n## Results\n\n- Successfully generated SQLite DB at ./examples/out/known_content_hashes.sqlite\n",
"title": "Small Block Forensics",
"subtitle": null
}

:b stderr 0

Expand All @@ -100,32 +72,14 @@ INFO: Stored hashes at examples/out/known_content_hashes.sqlite
:b shell 165
python cmd_interface.py hash_random --input_sql ./examples/out/known_content_hashes.sqlite --target_directory ./examples/target_directory --block_size 4 | head -n -2
:i returncode 0
:b stdout 635
:b stdout 430
INFO: Hashing random blocks from examples/target_directory
INFO: examples/target_directory has a total of 2 blocks
Results:
Small Block Forensics

## Results

- Found: True
- Target File: examples/target_directory/sample.txt
- Block Number in Target File: 1
- Known Dataset File: examples/known_content_directory/sample.txt
- Block Number in Known Dataset File: 1



Results:
Small Block Forensics

## Results

- Found: True
- Target File: examples/target_directory/sample.txt
- Block Number in Target File: 1
- Known Dataset File: examples/known_content_directory/sample.txt
- Block Number in Known Dataset File: 1

{
"output_type": "markdown",
"value": "\n## Results\n\n- Found: True\n- Target File: examples/target_directory/sample.txt\n- Block Number in Target File: 1\n- Known Dataset File: examples/known_content_directory/sample.txt\n- Block Number in Known Dataset File: 1\n",
"title": "Small Block Forensics",

:b stderr 0

0 comments on commit bc18f2d

Please sign in to comment.