<s> from laikaboss . objectmodel import ModuleObject , ExternalVars <EOL> from laikaboss . si_module import SI_MODULE <EOL> import gzip <EOL> import StringIO <EOL> class EXPLODE_GZIP ( SI_MODULE ) : <EOL> def __init__ ( self , ) : <EOL> self . module_name = "<STR_LIT>" <EOL> def _run ( self , scanObject , result , depth , args ) : <EOL> moduleResult = [ ] <EOL> file = StringIO . StringIO ( scanObject . buffer ) <EOL> gzip_file = gzip . GzipFile ( fileobj = file ) <EOL> new_buffer = gzip_file . read ( ) <EOL> moduleResult . append ( ModuleObject ( buffer = new_buffer , <EOL> externalVars = ExternalVars ( filename = "<STR_LIT>" % len ( new_buffer ) ) ) ) <EOL> return moduleResult </s>
