|
|
@ -14,7 +14,6 @@ namespace apphost_extract
|
|
|
|
|
|
|
|
|
|
|
|
private byte[] Raw;
|
|
|
|
private byte[] Raw;
|
|
|
|
|
|
|
|
|
|
|
|
public byte PathLength { get; set; }
|
|
|
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
public string Path { get; set; }
|
|
|
|
public int EmbeddedFilesCount { get; set; }
|
|
|
|
public int EmbeddedFilesCount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -26,9 +25,8 @@ namespace apphost_extract
|
|
|
|
byte[] headerBuffer = new byte[HEADER_SIZE];
|
|
|
|
byte[] headerBuffer = new byte[HEADER_SIZE];
|
|
|
|
File.Read(headerBuffer, 0, HEADER_SIZE);
|
|
|
|
File.Read(headerBuffer, 0, HEADER_SIZE);
|
|
|
|
Raw = headerBuffer;
|
|
|
|
Raw = headerBuffer;
|
|
|
|
PathLength = Raw[0xC];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
byte[] stringBuffer = new byte[PathLength];
|
|
|
|
byte[] stringBuffer = new byte[Raw[0xC]];
|
|
|
|
File.Read(stringBuffer, 0, stringBuffer.Length);
|
|
|
|
File.Read(stringBuffer, 0, stringBuffer.Length);
|
|
|
|
Path = Encoding.UTF8.GetString(stringBuffer);
|
|
|
|
Path = Encoding.UTF8.GetString(stringBuffer);
|
|
|
|
|
|
|
|
|
|
|
|