Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FAT 16
- NewVHD
- /second_with_long_name
- first file.txt
- /inside_folder
- new_file_with_long_name.txt
- /FIRST
- /$RECYCLEBIN
- DESKTOP INI
- /System Volume Information
- WPSettings.dat
- IndexerVolumeGuid
- 14 10
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 11, 12, 13, 65535, 65535, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 263168]
- None | 2 | True | ['System Volume Information', 2, 263264]
- None | 6 | True | ['$RECYCLEBIN', 6, 263360]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 263552]
- None | 14 | False | ['new_file_with_long_name.txt', 14, 286880]
- None | 9 | True | ['inside_folder', 9, 286016]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 14, 286880]
- 11 | 12 | False | ['new_file_with_long_name.txt', 14, 286880]
- 12 | 13 | False | ['new_file_with_long_name.txt', 14, 286880]
- None | 7 | False | ['DESKTOP INI', 7, 283712]
- None | 3 | False | ['WPSettings.dat', 3, 279680]
- None | 4 | False | ['IndexerVolumeGuid', 4, 279776]
- 9 4
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 263168]
- None | 2 | True | ['System Volume Information', 2, 263264]
- None | 6 | True | ['$RECYCLEBIN', 6, 263360]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 281632]
- None | 14 | False | ['new_file_with_long_name.txt', 14, 281760]
- None | 9 | False | ['IndexerVolumeGuid', 9, 281600]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 14, 281760]
- 11 | 12 | False | ['new_file_with_long_name.txt', 14, 281760]
- 12 | 13 | False | ['new_file_with_long_name.txt', 14, 281760]
- None | 7 | False | ['DESKTOP INI', 7, 283712]
- None | 3 | False | ['WPSettings.dat', 3, 279680]
- None | 4 | True | ['inside_folder', 4, 286016]
- 9 2
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 286752]
- None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
- None | 6 | True | ['$RECYCLEBIN', 6, 263360]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 281632]
- None | 14 | False | ['new_file_with_long_name.txt', 14, 281760]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 14, 281760]
- 11 | 12 | False | ['new_file_with_long_name.txt', 14, 281760]
- 12 | 13 | False | ['new_file_with_long_name.txt', 14, 281760]
- None | 7 | False | ['DESKTOP INI', 7, 283712]
- None | 3 | False | ['WPSettings.dat', 3, 286848]
- None | 4 | True | ['inside_folder', 4, 286016]
- /
- 7 6
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 284704]
- None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
- None | 6 | False | ['DESKTOP INI', 6, 284736]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 281632]
- None | 14 | False | ['new_file_with_long_name.txt', 14, 281760]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 14, 281760]
- 11 | 12 | False | ['new_file_with_long_name.txt', 14, 281760]
- 12 | 13 | False | ['new_file_with_long_name.txt', 14, 281760]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- None | 3 | False | ['WPSettings.dat', 3, 286848]
- None | 4 | True | ['inside_folder', 4, 286016]
- /
- 14 13
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 14, 11, 65535, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 284704]
- None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
- None | 6 | False | ['DESKTOP INI', 6, 284736]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 281632]
- 12 | 14 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 13, 281760]
- 11 | 12 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 13 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- None | 3 | False | ['WPSettings.dat', 3, 286848]
- None | 4 | True | ['inside_folder', 4, 286016]
- /
- 3 12
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 14, 11, 65535, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 284704]
- None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
- None | 6 | False | ['DESKTOP INI', 6, 284736]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 281632]
- 12 | 14 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 12 | False | ['WPSettings.dat', 12, 286848]
- None | 13 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- 11 | 3 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 4 | True | ['inside_folder', 4, 286016]
- /
- 6 12
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 284704]
- None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
- None | 6 | False | ['WPSettings.dat', 6, 286848]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 281632]
- 12 | 14 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 12 | False | ['DESKTOP INI', 12, 284736]
- None | 13 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- 11 | 3 | False | ['new_file_with_long_name.txt', 13, 281760]
- None | 4 | True | ['inside_folder', 4, 286016]
- /
- 3 4
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 284704]
- None | 2 | False | ['IndexerVolumeGuid', 2, 280576]
- None | 6 | False | ['WPSettings.dat', 6, 286848]
- None | 5 | True | ['FIRST ', 5, 263392]
- None | 8 | True | ['second_with_long_name', 8, 280608]
- 12 | 14 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | False | ['first file.txt', 10, 285952]
- 10 | 11 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 12 | False | ['DESKTOP INI', 12, 284736]
- None | 13 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- None | 3 | True | ['inside_folder', 3, 286016]
- 11 | 4 | False | ['new_file_with_long_name.txt', 13, 280736]
- /
- 10 5
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 287776]
- None | 2 | False | ['IndexerVolumeGuid', 2, 280576]
- None | 6 | False | ['WPSettings.dat', 6, 286848]
- None | 5 | False | ['first file.txt', 5, 287744]
- None | 8 | True | ['second_with_long_name', 8, 280608]
- 12 | 14 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | True | ['FIRST ', 10, 263392]
- 10 | 11 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 12 | False | ['DESKTOP INI', 12, 284736]
- None | 13 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- None | 3 | True | ['inside_folder', 3, 286016]
- 11 | 4 | False | ['new_file_with_long_name.txt', 13, 280736]
- /
- 11 5
- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
- [65528, 65535, 65535, 65535, 14, 4, 65535, 65535, 65535, 65535, 5, 65535, 65535, 11, 65535, 0, 0, 0, 0, 0]
- None | 0 | False | ['NewVHD ', 0, 287776]
- None | 2 | False | ['IndexerVolumeGuid', 2, 280576]
- None | 6 | False | ['WPSettings.dat', 6, 286848]
- 10 | 5 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 8 | True | ['second_with_long_name', 8, 280608]
- 12 | 14 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 9 | True | ['System Volume Information', 9, 286944]
- None | 10 | True | ['FIRST ', 10, 263392]
- None | 11 | False | ['first file.txt', 11, 287744]
- None | 12 | False | ['DESKTOP INI', 12, 284736]
- None | 13 | False | ['new_file_with_long_name.txt', 13, 280736]
- None | 7 | True | ['$RECYCLEBIN', 7, 263360]
- None | 3 | True | ['inside_folder', 3, 286016]
- 11 | 4 | False | ['new_file_with_long_name.txt', 13, 280736]
- Traceback (most recent call last):
- File "C:/Users/John-602nd/Desktop/python/defrag/main.py", line 91, in <module>
- main(parsed_args.path, parsed_args.type_action)
- File "C:/Users/John-602nd/Desktop/python/defrag/main.py", line 76, in main
- FatTableIndexer(dp)
- File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 289, in __init__
- self._index_fat_table()
- File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 308, in _index_fat_table
- self._index_all_file(f.first_cluster_num, f)
- File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 351, in _index_all_file
- fat_clus_value = self._dir_parser.fat_proc.get_value_fat_cluster(fat_clus_value)
- File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 69, in get_value_fat_cluster
- entry = self.get_entry_for_cluster_in_fat(n, 0)
- File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 36, in get_entry_for_cluster_in_fat
- raise ValueError(f'Out of fat-section, n: {n} / {self.info.count_of_clusters}')
- ValueError: Out of fat-section, n: 1769434735 / 65263
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement