mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
pkzip: for u32 use MAX_DATA / 4
This commit is contained in:
parent
01a511b9dd
commit
a661728256
@ -132,7 +132,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -132,7 +132,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -132,7 +132,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -132,7 +132,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -132,7 +132,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -125,7 +125,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -125,7 +125,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -125,7 +125,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -125,7 +125,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -125,7 +125,7 @@ struct pkzip_hash
|
||||
u32 data_length;
|
||||
u16 checksum_from_crc;
|
||||
u16 checksum_from_timestamp;
|
||||
u32 data[MAX_DATA];
|
||||
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user