Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.00 KB | None | 0 0
  1. FAT 16
  2.  
  3. NewVHD
  4. /second_with_long_name
  5. first file.txt
  6. /inside_folder
  7. new_file_with_long_name.txt
  8. /FIRST
  9. /$RECYCLEBIN
  10. DESKTOP INI
  11. /System Volume Information
  12. WPSettings.dat
  13. IndexerVolumeGuid
  14.  
  15.  
  16. 14 10
  17. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  18. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 11, 12, 13, 65535, 65535, 0, 0, 0, 0, 0]
  19. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  20.  
  21. None | 0 | False | ['NewVHD ', 0, 263168]
  22. None | 2 | True | ['System Volume Information', 2, 263264]
  23. None | 6 | True | ['$RECYCLEBIN', 6, 263360]
  24. None | 5 | True | ['FIRST ', 5, 263392]
  25. None | 8 | True | ['second_with_long_name', 8, 263552]
  26. None | 14 | False | ['new_file_with_long_name.txt', 14, 286880]
  27. None | 9 | True | ['inside_folder', 9, 286016]
  28. None | 10 | False | ['first file.txt', 10, 285952]
  29. 10 | 11 | False | ['new_file_with_long_name.txt', 14, 286880]
  30. 11 | 12 | False | ['new_file_with_long_name.txt', 14, 286880]
  31. 12 | 13 | False | ['new_file_with_long_name.txt', 14, 286880]
  32. None | 7 | False | ['DESKTOP INI', 7, 283712]
  33. None | 3 | False | ['WPSettings.dat', 3, 279680]
  34. None | 4 | False | ['IndexerVolumeGuid', 4, 279776]
  35.  
  36.  
  37. 9 4
  38. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  39. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  40. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  41.  
  42. None | 0 | False | ['NewVHD ', 0, 263168]
  43. None | 2 | True | ['System Volume Information', 2, 263264]
  44. None | 6 | True | ['$RECYCLEBIN', 6, 263360]
  45. None | 5 | True | ['FIRST ', 5, 263392]
  46. None | 8 | True | ['second_with_long_name', 8, 281632]
  47. None | 14 | False | ['new_file_with_long_name.txt', 14, 281760]
  48. None | 9 | False | ['IndexerVolumeGuid', 9, 281600]
  49. None | 10 | False | ['first file.txt', 10, 285952]
  50. 10 | 11 | False | ['new_file_with_long_name.txt', 14, 281760]
  51. 11 | 12 | False | ['new_file_with_long_name.txt', 14, 281760]
  52. 12 | 13 | False | ['new_file_with_long_name.txt', 14, 281760]
  53. None | 7 | False | ['DESKTOP INI', 7, 283712]
  54. None | 3 | False | ['WPSettings.dat', 3, 279680]
  55. None | 4 | True | ['inside_folder', 4, 286016]
  56. 9 2
  57. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  58. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  59. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  60.  
  61. None | 0 | False | ['NewVHD ', 0, 286752]
  62. None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
  63. None | 6 | True | ['$RECYCLEBIN', 6, 263360]
  64. None | 5 | True | ['FIRST ', 5, 263392]
  65. None | 8 | True | ['second_with_long_name', 8, 281632]
  66. None | 14 | False | ['new_file_with_long_name.txt', 14, 281760]
  67. None | 9 | True | ['System Volume Information', 9, 286944]
  68. None | 10 | False | ['first file.txt', 10, 285952]
  69. 10 | 11 | False | ['new_file_with_long_name.txt', 14, 281760]
  70. 11 | 12 | False | ['new_file_with_long_name.txt', 14, 281760]
  71. 12 | 13 | False | ['new_file_with_long_name.txt', 14, 281760]
  72. None | 7 | False | ['DESKTOP INI', 7, 283712]
  73. None | 3 | False | ['WPSettings.dat', 3, 286848]
  74. None | 4 | True | ['inside_folder', 4, 286016]
  75. /
  76. 7 6
  77. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  78. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  79. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  80.  
  81. None | 0 | False | ['NewVHD ', 0, 284704]
  82. None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
  83. None | 6 | False | ['DESKTOP INI', 6, 284736]
  84. None | 5 | True | ['FIRST ', 5, 263392]
  85. None | 8 | True | ['second_with_long_name', 8, 281632]
  86. None | 14 | False | ['new_file_with_long_name.txt', 14, 281760]
  87. None | 9 | True | ['System Volume Information', 9, 286944]
  88. None | 10 | False | ['first file.txt', 10, 285952]
  89. 10 | 11 | False | ['new_file_with_long_name.txt', 14, 281760]
  90. 11 | 12 | False | ['new_file_with_long_name.txt', 14, 281760]
  91. 12 | 13 | False | ['new_file_with_long_name.txt', 14, 281760]
  92. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  93. None | 3 | False | ['WPSettings.dat', 3, 286848]
  94. None | 4 | True | ['inside_folder', 4, 286016]
  95. /
  96. 14 13
  97. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  98. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 13, 65535, 11, 0, 0, 0, 0, 0]
  99. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 14, 11, 65535, 0, 0, 0, 0, 0]
  100.  
  101. None | 0 | False | ['NewVHD ', 0, 284704]
  102. None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
  103. None | 6 | False | ['DESKTOP INI', 6, 284736]
  104. None | 5 | True | ['FIRST ', 5, 263392]
  105. None | 8 | True | ['second_with_long_name', 8, 281632]
  106. 12 | 14 | False | ['new_file_with_long_name.txt', 13, 281760]
  107. None | 9 | True | ['System Volume Information', 9, 286944]
  108. None | 10 | False | ['first file.txt', 10, 285952]
  109. 10 | 11 | False | ['new_file_with_long_name.txt', 13, 281760]
  110. 11 | 12 | False | ['new_file_with_long_name.txt', 13, 281760]
  111. None | 13 | False | ['new_file_with_long_name.txt', 13, 281760]
  112. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  113. None | 3 | False | ['WPSettings.dat', 3, 286848]
  114. None | 4 | True | ['inside_folder', 4, 286016]
  115. /
  116. 3 12
  117. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  118. [65528, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 12, 14, 11, 65535, 0, 0, 0, 0, 0]
  119. [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
  120.  
  121. None | 0 | False | ['NewVHD ', 0, 284704]
  122. None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
  123. None | 6 | False | ['DESKTOP INI', 6, 284736]
  124. None | 5 | True | ['FIRST ', 5, 263392]
  125. None | 8 | True | ['second_with_long_name', 8, 281632]
  126. 12 | 14 | False | ['new_file_with_long_name.txt', 13, 281760]
  127. None | 9 | True | ['System Volume Information', 9, 286944]
  128. None | 10 | False | ['first file.txt', 10, 285952]
  129. 10 | 11 | False | ['new_file_with_long_name.txt', 13, 281760]
  130. None | 12 | False | ['WPSettings.dat', 12, 286848]
  131. None | 13 | False | ['new_file_with_long_name.txt', 13, 281760]
  132. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  133. 11 | 3 | False | ['new_file_with_long_name.txt', 13, 281760]
  134. None | 4 | True | ['inside_folder', 4, 286016]
  135. /
  136. 6 12
  137. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  138. [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
  139. [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
  140.  
  141. None | 0 | False | ['NewVHD ', 0, 284704]
  142. None | 2 | False | ['IndexerVolumeGuid', 2, 286720]
  143. None | 6 | False | ['WPSettings.dat', 6, 286848]
  144. None | 5 | True | ['FIRST ', 5, 263392]
  145. None | 8 | True | ['second_with_long_name', 8, 281632]
  146. 12 | 14 | False | ['new_file_with_long_name.txt', 13, 281760]
  147. None | 9 | True | ['System Volume Information', 9, 286944]
  148. None | 10 | False | ['first file.txt', 10, 285952]
  149. 10 | 11 | False | ['new_file_with_long_name.txt', 13, 281760]
  150. None | 12 | False | ['DESKTOP INI', 12, 284736]
  151. None | 13 | False | ['new_file_with_long_name.txt', 13, 281760]
  152. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  153. 11 | 3 | False | ['new_file_with_long_name.txt', 13, 281760]
  154. None | 4 | True | ['inside_folder', 4, 286016]
  155. /
  156. 3 4
  157. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  158. [65528, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 65535, 11, 65535, 0, 0, 0, 0, 0]
  159. [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
  160.  
  161. None | 0 | False | ['NewVHD ', 0, 284704]
  162. None | 2 | False | ['IndexerVolumeGuid', 2, 280576]
  163. None | 6 | False | ['WPSettings.dat', 6, 286848]
  164. None | 5 | True | ['FIRST ', 5, 263392]
  165. None | 8 | True | ['second_with_long_name', 8, 280608]
  166. 12 | 14 | False | ['new_file_with_long_name.txt', 13, 280736]
  167. None | 9 | True | ['System Volume Information', 9, 286944]
  168. None | 10 | False | ['first file.txt', 10, 285952]
  169. 10 | 11 | False | ['new_file_with_long_name.txt', 13, 280736]
  170. None | 12 | False | ['DESKTOP INI', 12, 284736]
  171. None | 13 | False | ['new_file_with_long_name.txt', 13, 280736]
  172. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  173. None | 3 | True | ['inside_folder', 3, 286016]
  174. 11 | 4 | False | ['new_file_with_long_name.txt', 13, 280736]
  175. /
  176. 10 5
  177. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  178. [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
  179. [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
  180.  
  181. None | 0 | False | ['NewVHD ', 0, 287776]
  182. None | 2 | False | ['IndexerVolumeGuid', 2, 280576]
  183. None | 6 | False | ['WPSettings.dat', 6, 286848]
  184. None | 5 | False | ['first file.txt', 5, 287744]
  185. None | 8 | True | ['second_with_long_name', 8, 280608]
  186. 12 | 14 | False | ['new_file_with_long_name.txt', 13, 280736]
  187. None | 9 | True | ['System Volume Information', 9, 286944]
  188. None | 10 | True | ['FIRST ', 10, 263392]
  189. 10 | 11 | False | ['new_file_with_long_name.txt', 13, 280736]
  190. None | 12 | False | ['DESKTOP INI', 12, 284736]
  191. None | 13 | False | ['new_file_with_long_name.txt', 13, 280736]
  192. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  193. None | 3 | True | ['inside_folder', 3, 286016]
  194. 11 | 4 | False | ['new_file_with_long_name.txt', 13, 280736]
  195. /
  196. 11 5
  197. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  198. [65528, 65535, 65535, 65535, 14, 65535, 65535, 65535, 65535, 65535, 65535, 4, 65535, 11, 65535, 0, 0, 0, 0, 0]
  199. [65528, 65535, 65535, 65535, 14, 4, 65535, 65535, 65535, 65535, 5, 65535, 65535, 11, 65535, 0, 0, 0, 0, 0]
  200.  
  201. None | 0 | False | ['NewVHD ', 0, 287776]
  202. None | 2 | False | ['IndexerVolumeGuid', 2, 280576]
  203. None | 6 | False | ['WPSettings.dat', 6, 286848]
  204. 10 | 5 | False | ['new_file_with_long_name.txt', 13, 280736]
  205. None | 8 | True | ['second_with_long_name', 8, 280608]
  206. 12 | 14 | False | ['new_file_with_long_name.txt', 13, 280736]
  207. None | 9 | True | ['System Volume Information', 9, 286944]
  208. None | 10 | True | ['FIRST ', 10, 263392]
  209. None | 11 | False | ['first file.txt', 11, 287744]
  210. None | 12 | False | ['DESKTOP INI', 12, 284736]
  211. None | 13 | False | ['new_file_with_long_name.txt', 13, 280736]
  212. None | 7 | True | ['$RECYCLEBIN', 7, 263360]
  213. None | 3 | True | ['inside_folder', 3, 286016]
  214. 11 | 4 | False | ['new_file_with_long_name.txt', 13, 280736]
  215.  
  216. Traceback (most recent call last):
  217. File "C:/Users/John-602nd/Desktop/python/defrag/main.py", line 91, in <module>
  218. main(parsed_args.path, parsed_args.type_action)
  219. File "C:/Users/John-602nd/Desktop/python/defrag/main.py", line 76, in main
  220. FatTableIndexer(dp)
  221. File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 289, in __init__
  222. self._index_fat_table()
  223. File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 308, in _index_fat_table
  224. self._index_all_file(f.first_cluster_num, f)
  225. File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 351, in _index_all_file
  226. fat_clus_value = self._dir_parser.fat_proc.get_value_fat_cluster(fat_clus_value)
  227. File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 69, in get_value_fat_cluster
  228. entry = self.get_entry_for_cluster_in_fat(n, 0)
  229. File "C:\Users\John-602nd\Desktop\python\defrag\ImageTools.py", line 36, in get_entry_for_cluster_in_fat
  230. raise ValueError(f'Out of fat-section, n: {n} / {self.info.count_of_clusters}')
  231. ValueError: Out of fat-section, n: 1769434735 / 65263
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement