
    9c                      ^    d dl Z G d dej                  j                  j                        Zy)    Nc                        e Zd ZdZdgZdZd Zy)ZipHelperPluginz
    A helper plugin for Zip files to ensure that the Zip archive
    extraction rule is only executed once when the first Zip archive
    entry is encountered. This resets once and end of zip archive is
    found.
    	SignatureFc                 $   |j                   r|j                  rw|j                  j                         j	                  d      r| j
                  rd|_        y d| _        y |j                  j                         j	                  d      rd| _        y y y y )Nzzip archive dataFTzend of zip archive)validdisplaydescriptionlower
startswithextraction_activeextract)selfresults     ;/usr/lib/python3/dist-packages/binwalk/plugins/ziphelper.pyscanzZipHelperPlugin.scan   sx    <<FNN!!'')445GH))%*FN-1D*##))+667KL).& M +<    N)__name__
__module____qualname____doc__MODULESr   r    r   r   r   r      s     mG/r   r   )binwalk.core.pluginbinwalkcorepluginPluginr   r   r   r   <module>r      s$    /gll))00 /r   