+
    ¿Ìjÿ2  ã                   ól  € R t Rt^ RIt^ RIt^ RIt^ RIt]P                  P                  ]P                  P                  ]P                  P                  ]
4      4      4      t]P                  P                  ]P                  P                  ]R4      4      t]]P                  9   g   ]P                  P                  ^ ]4       ^ RIt^ RIHt ^ RIHt ^ RIHt R],          t]P.                  R]P0                  R	]P2                  R
]P4                  R]P6                  R]P8                  R/t]P<                  R]P>                  R]P@                  R]PB                  R/t"]P<                  R]P>                  R]P@                  R]PB                  RRR/t#R t$RR lt%R t&R t'R t(])R8X  d
   ](! 4        R# R# )a  
olemap

olemap parses OLE files to display technical information about its structure.

Author: Philippe Lagadec - http://www.decalage.info
License: BSD, see source code or documentation

olemap is part of the python-oletools package:
http://www.decalage.info/python/oletools
z0.55Nz..)Útablestream)Úxglob)Úhexdump3z0olemap %s - http://decalage.info/python/oletoolsÚEmptyÚStorageÚStreamÚ
ILockBytesÚIPropertyStorageÚRootÚFreezEnd of Chainz
FAT SectorzDIFAT SectorÚgreenÚyellowÚcyanÚblueÚdefaultc                 ó4   € V \         P                  8X  d   R # V # )N)ÚolefileÚNOSTREAM)Úsids   &Úi/home/l0st/web/w4ttz.lol/public_html/toolz/MsgDoxxer/venv/lib/python3.14/site-packages/oletools/olemap.pyÚsid_displayr   r   s   € Ø
Œg×ÑÔÙàˆ
ó    c                 ó¼	  € \        R 4       \        P                  ! . R1O. R2OR7      pVP                  R\        P
                  ! V P                  4      P                  4       R.4       VP                  RV P                  R.4       VP                  RRV P                  ,          R.4       VP                  R	RV P                  ,          R
.4       VP                  RRV P                  ,          R.4       VP                  RRV P                  ,          R.4       VP                  RV P                  R.4       VP                  RV P                  R.4       VP                  RRV P                  ,          R.4       VP                  RV P                   R.4       VP                  RV P"                  R.4       VP                  RRV P$                  ,          R.4       VP                  RV P&                  R.4       VP                  RRV P(                  ,          R.4       VP                  RV P*                  R.4       VP-                  4        \        R4       \        R4       \        P                  ! . R1O. R2OR7      pVP                  RV P.                  R .4       VP                  R!V P0                  R".4       V P.                  ^,          pW0P                  ,          pV^,           V P.                  ,          pVP                  R#VR$.4       V P0                  V8”  d   V P0                  V,
          pR%pM^ pR&pVP                  R'VR(.WwV.R)7       \3        V P4                  4      ^,
          p\7        \3        V P4                  4      ^,
          ^ R34       F-  p	T	pV P4                  V	,          \8        P:                  8w  g   K-   M	  V P<                  V^,           ,          p
VP                  R*RV
,          R+.4       V P0                  V
,
          pV^ 8”  d   R%MR&pVP                  R,VR-.WwV.R)7       VP-                  4        \        R4       V'       dŠ   \        R.4       V^ 8:  d   \        R/4       M^V P>                  PA                  V
4       V P>                  PC                  4       p\3        V4      V8X  g   Q h\        \E        V^V
R07      4       \        R4       R&# R&# )4zOLE HEADER:©Ú
header_rowzOLE Signature (hex)zShould be D0CF11E0A1B11AE1zHeader CLSIDzShould be empty (0)zMinor Versionz%04XzShould be 003EzMajor VersionzShould be 3 or 4z
Byte OrderzShould be FFFE (little endian)zSector ShiftzShould be 0009 or 000Cz# of Dir Sectorsz!Should be 0 if major version is 3z# of FAT SectorsÚ zFirst Dir Sectorú%08Xz(hex)zTransaction Sig NumberzShould be 0zMiniStream cutoffzShould be 4096 byteszFirst MiniFAT Sectorz# of MiniFAT SectorszFirst DIFAT Sectorz# of DIFAT SectorszCALCULATED ATTRIBUTES:zSector Size (bytes)zShould be 512 or 4096 byteszActual File Size (bytes)zReal file size on diskzMax File Size in FATzMax file size covered by FATÚredNzExtra data beyond FATz(Only if file is larger than FAT coverage©ÚcolorszExtra data offset in FATz+Offset of the 1st free sector at end of FATzExtra data sizez:Size of data starting at the 1st free sector at end of FATzHEX DUMP OF EXTRA DATA:
z#No extra data found at end of file.)ÚlengthÚ
startindex)é   é   é#   )Ú	AttributeÚValueÚDescriptionéÿÿÿÿ)#Úprintr   ÚTableStreamÚ	write_rowÚbinasciiÚb2a_hexÚheader_signatureÚupperÚheader_clsidÚminor_versionÚdll_versionÚ
byte_orderÚsector_shiftÚnum_dir_sectorsÚnum_fat_sectorsÚfirst_dir_sectorÚtransaction_signature_numberÚmini_stream_cutoff_sizeÚfirst_mini_fat_sectorÚnum_mini_fat_sectorsÚfirst_difat_sectorÚnum_difat_sectorsÚcloseÚsector_sizeÚ	_filesizeÚlenÚfatÚranger   ÚFREESECTÚ
sectorsizeÚfpÚseekÚreadr   )ÚoleÚ
extra_dataÚtÚnum_sectors_per_fat_sectorÚnum_sectors_in_fatÚmax_filesize_fatÚextra_size_beyond_fatÚcolorÚlast_used_sectorÚiÚoffset_extra_dataÚextra_data_sizeÚexdatas   &&           r   Úshow_headerrV   y   s  € Ü	ˆ-ÔÜ×ÒÒ 6ÒChÔi€AØ‡K�KÐ&¬×(8Ò(8¸×9MÑ9MÓ(N×(TÑ(TÓ(VÐXtÐuÔvØ‡K�K� ×!1Ñ!1Ð3HÐIÔJØ‡K�K� &¨3×+<Ñ+<Õ"<Ð>NÐOÔPØ‡K�K� &¨3¯?©?Õ":Ð<NÐOÔPØ‡K�K�˜v¨¯©Õ6Ð8XÐYÔZØ‡K�K� ¨#×*:Ñ*:Õ!:Ð<TÐUÔVØ‡K�KÐ# S×%8Ñ%8Ð:]Ð^Ô_Ø‡K�KÐ# S×%8Ñ%8¸"Ð=Ô>Ø‡K�KÐ# V¨c×.BÑ.BÕ%BÀGÐLÔMØ‡K�KÐ)¨3×+KÑ+KÈ]Ð[Ô\Ø‡K�KÐ$ c×&AÑ&AÐCYÐZÔ[Ø‡K�KÐ'¨°#×2KÑ2KÕ)KÈWÐUÔVØ‡K�KÐ'¨×)AÑ)AÀ2ÐFÔGØ‡K�KÐ% v°×0FÑ0FÕ'FÈÐPÔQØ‡K�KÐ% s×'<Ñ'<¸bÐAÔBØ‡G�G„IÜ	ˆ"„IÜ	Ð
"Ô#Ü×ÒÒ 6ÒChÔi€AØ‡K�KÐ&¨¯©Ð9VÐWÔXØ‡K�KÐ+¨S¯]©]Ð<TÐUÔVØ!$§¡°Õ!2ÐØ3×6IÑ6IÕIÐà*¨QÕ.°#·/±/ÕAÐØ‡K�KÐ'Ð)9Ð;YÐZÔ[Ø
‡}�}Ð'Ô'Ø #§¡Ð0@Õ @ÐØ‰à !ÐØˆØ‡K�KÐ(Ð*?ÐAkÐlØ eÐ,ð ô .ô ˜3Ÿ7™7“| A•~ÐÜ”3�s—w‘w“< •> 1 bÖ)ˆØÐØ�7‰7�1�:œ×)Ñ)Ö)Ùñ *ð
 Ÿ™Ð*:¸QÕ*>Õ?ÐØ‡K�KÐ+¨VÐ6GÕ-GÐIvÐwÔxØ—m‘mÐ&7Õ7€OØ$ qÔ(‰E¨d€EØ‡K�KÐ" OÐ5qÐrØ eÐ,ð ô .à‡G�G„IÜ	ˆ"„IçäÐ)Ô*Ø˜aÔÜÐ7Õ8à�F‰F�K‰KÐ)Ô*à—V‘V—[‘[“]ˆFÜ�v“; /Ô1Ð1Ð1Ü”(˜6¨"Ð9JÔKÔLÜˆbŽ	ñ r   c                 óü  € \        R 4       \        P                  ! . R	O. R
OR7      p\        \	        V P
                  4      4       F—  pV P
                  V,          p\        P                  VR4      p\        P                  V\        R,          4      pV P                  V^,           ,          pVP                  RV,          VRV,          RV,          .RVRR.R7       K™  	  VP                  4        \        R4       R# )zFAT:r   z<Data>r   ú%8Xr   Nr   r   ©é   é   rZ   rZ   ©zSector #ÚTypeÚOffsetzNext #)r)   r   r*   rC   rA   rB   Ú	FAT_TYPESÚgetÚ
FAT_COLORSrE   r+   r>   )rI   rK   rR   Ú	fat_valueÚfat_typeÚ
color_typeÚoffsets   &      r   Úshow_fatrf   ½   s¾   € Ü	ˆ&„MÜ×Ò¢Ò:bÔc€AÜ”3�s—w‘w“<Ö ˆØ—G‘G˜A•Jˆ	Ü—=‘= ¨HÓ5ˆÜ—^‘^ I¬z¸)Õ/DÓEˆ
à—‘ 1 q¥5Õ)ˆà	�‰�U˜Q•Y ¨&°6­/¸5À9Õ;LÐMØ  *¨d°DÐ9ð 	ö 	;ñ !ð ‡G�G„IÜ	ˆ"†Ir   c                 óÚ  € \        R 4       V P                  4        \        P                  ! . R	O. R
OR7      p\	        \        V P                  4      4       Fv  pV P                  V,          p\        P                  VR4      p\        P                  V\        R,          4      pVP                  RV,          VRRV,          .RVRR.R7       Kx  	  VP                  4        \        R4       R# )zMiniFAT:r   ÚDatar   rX   zN/ANr   r   rY   r\   )r)   Úloadminifatr   r*   rC   rA   Úminifatr_   r`   ra   r+   r>   )rI   rK   rR   rb   rc   rd   s   &     r   Úshow_minifatrk   Í   s¶   € Ü	ˆ*Ôà‡O�OÔÜ×Ò¢Ò:bÔc€AÜ”3�s—{‘{Ó#Ö$ˆØ—K‘K •Nˆ	Ü—=‘= ¨FÓ3ˆÜ—^‘^ I¬z¸)Õ/DÓEˆ
ð 	
�‰�U˜Q•Y ¨%°¸Õ1BÐCØ  *¨d°DÐ9ð 	ö 	;ñ %ð ‡G�G„IÜ	ˆ"†Ir   c            	      óf  € R p \         P                  ! V R7      pVP                  RRRRR7       VP                  RRR	R
RRR7       VP                  RRRR
RRR7       VP                  RRRRR7       VP                  RRRRR7       VP                  RRRRR7       VP                  RRRRRR7       VP                  4       w  r#\	        V4      ^ 8X  dD   \        \        4       \        \        4       VP                  4        \        P                  ! 4        R pVP                  '       g.   VP                  '       g   VP                  '       g
   R!Vn        R!p\        \        4       \        P                  ! W2P                   VP"                  VP$                  R"7       Fú  w  rVpV'       d   VP'                  R#4      '       d   K'  V'       d
   V: R$V: 2MTp\        R(4       \        R%V,          4       Ve   \(        P*                  ! V4      p	M\(        P*                  ! V4      p	VP                  '       d   \-        W’P.                  R&7       VP                  '       d   \1        V	4       VP                  '       d   \3        V	4       V	P5                  4        Kü  	  V'       d   \        R'4       R# R# ))z2usage: olemap [options] <filename> [filename2 ...])Úusagez-rÚ
store_trueÚ	recursivez)find files recursively in subdirectories.)ÚactionÚdestÚhelpz-zz--zipÚzip_passwordÚstrNzhif the file is a zip archive, open all files from it, using the provided password (requires Python 2.6+))rq   Útyper   rr   z-fz
--zipfnameÚ	zip_fnameÚ*zoif the file is a zip archive, file(s) to be opened within the zip. Wildcards * and ? are supported. (default:*)z--headerÚheaderz%Display the OLE header (default: yes)z--fatrB   zDisplay the FAT (default: no)z	--minifatrj   z!Display the MiniFAT (default: no)z-xz--exdatarJ   z/Display a hex dump of extra data at end of fileFT)ro   rs   rv   Ú/z in z	FILE: %s
)rJ   zZTo display the FAT or MiniFAT structures, use options --fat or --minifat, and -h for help.zO-------------------------------------------------------------------------------)ÚoptparseÚOptionParserÚ
add_optionÚ
parse_argsrA   r)   ÚBANNERÚ__doc__Ú
print_helpÚsysÚexitrx   rB   rj   r   Ú
iter_filesro   rs   rv   Úendswithr   Ú	OleFileIOrV   rJ   rf   rk   r>   )
rm   ÚparserÚoptionsÚargsÚdefault_optionsÚ	containerÚfilenameÚdataÚ	full_namerI   s
             r   ÚmainrŽ   ß   sY  € Ø@€EÜ×"Ò"¨Ô/€FØ
×Ñ�d <°kØFð ô Hà
×Ñ�d˜G¨.¸uÈdð Fð ô Gà
×Ñ�d˜L¨{ÀÐPSð Mð ô Nð ×Ñ�j¨¸HØBð ô Dà
×Ñ�g l¸Ø:ð ô <à
×Ñ�k¨,¸YØ>ð ô @à
×Ñ�d˜J¨|À,ØLð ô Nð
 ×'Ñ'Ó)�O€Wô ˆ4ƒy�A„~ÜŒfŒÜŒgŒØ×ÑÔÜ�ŠŒ
ð €OØ�N�NˆN˜gŸkŸk˜k¨W¯_¯_¨_ØˆŒð ˆô 
Œ&„Mä%*×%5Ò%5°d×FWÑFWØCJ×CWÑCWÐcj×ctÑct÷&vÑ!ˆ	˜T÷ ˜×*Ñ*¨3×/Ò/Ùß:C£(ªIÑ6Èˆ	ÜˆhŒÜˆl˜YÕ&Ô'ØÒä×#Ò# DÓ)‰Cô ×#Ò# HÓ-ˆCà�>�>ˆ>Ü˜×(:Ñ(:Õ;Ø�;�;ˆ;Ü�SŒMØ�?�?ˆ?Ü˜Ôà�	‰	Žñ/&v÷4 ÜÐjÖkñ r   Ú__main__)F)*r   Ú__version__r�   Úosrz   r,   ÚpathÚnormpathÚabspathÚdirnameÚ__file__Ú_thismodule_dirÚjoinÚ_parent_dirÚinsertr   Úoletools.thirdparty.tablestreamr   Úoletools.thirdparty.xglobr   Úoletools.ezhexviewerr   r~   ÚSTGTY_EMPTYÚSTGTY_STORAGEÚSTGTY_STREAMÚSTGTY_LOCKBYTESÚSTGTY_PROPERTYÚ
STGTY_ROOTÚSTORAGE_NAMESrD   Ú
ENDOFCHAINÚFATSECTÚDIFSECTr_   ra   r   rV   rf   rk   rŽ   Ú__name__© r   r   Ú<module>rª      sˆ  ðñ
ðn €÷ #× "ð —'‘'×"Ñ" 2§7¡7§?¡?°2·7±7·?±?À8Ó3LÓ#MÓN€à�g‰g×Ñ˜rŸw™wŸ|™|¨O¸TÓBÓC€à�c—h‘hÔØ‡H�H‡O�O�A�{Ô#ã Ý 7Ý +Ý )ð 
<¸kÕ	I€ð ×Ñ˜WØ×Ñ˜YØ×Ñ˜XØ×Ñ˜\Ø×ÑÐ/Ø×Ñ˜Vð€ð ×Ñ˜Ø×Ñ˜Ø‡O�O˜Ø‡O�O˜ð	€	ð ×Ñ˜Ø×Ñ˜Ø‡O�O˜Ø‡O�O˜Ø˜ð€
òôAòHò ò$ElðP ˆzÔÙ†Fñ r   