Projects STRLCPY SharPyShell Commits 9835c7b1
🤬
  • Revert "Cleanup"

    This reverts commit de18c20bebb26699226f591acb3033bfbfee64b9.
  • Loading...
  • NuHarborMartin committed 3 years ago
    9835c7b1
    1 parent de18c20b
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    core/Generate.py
    skipped 49 lines
    50 50   xored.append(hex(x ^ ord(y)))
    51 51   return '{' + ",".join(xored) + '}'
    52 52   
     53 + def generate_byte_file_string(byte_arr):
     54 + output = [str(hex(byte)) for byte in byte_arr]
     55 + return '{' + ",".join(output) + '}'
     56 + 
    53 57   if 'aes' in self.__encryption:
    54 58   dll_name = 'runtime_compiler_aes.dll'
    55 59   else:
    skipped 57 lines
  • ■ ■ ■ ■ ■ ■
    modules/download.py
    skipped 110 lines
    111 111   return output_file_size
    112 112   
    113 113   def __write_local_file(self, file_content, output_path, split=False):
     114 + print(type(file_content))
    114 115   if split:
    115 116   file_open_mode = 'ab'
    116 117   else:
    117 118   file_open_mode = 'wb'
     119 + print(file_open_mode)
    118 120   with open(output_path, file_open_mode) as outfile:
    119 121   outfile.write(bytes(file_content, "utf-8"))
    120 122   output = "File Downloaded correctly to " + output_path
    skipped 59 lines
  • ■ ■ ■ ■ ■
    utils/gzip_utils.py
    skipped 10 lines
    11 11   
    12 12   
    13 13  def get_compressed_base64_from_binary(bin_bytearray_input):
     14 + print(base64.b64encode(gzip.compress(bin_bytearray_input)).decode())
    14 15   return base64.b64encode(gzip.compress(bin_bytearray_input)).decode()
    15 16   
Please wait...
Page is in error, reload to recover