Skip to content

Date replacement fails if timestamp changes length #8

@Strikeskids

Description

@Strikeskids

See line

strconv.AppendInt(blob[:adatei], ad.n, 10)

This replaces the timestamps as decimal strings directly. If the number of digits in the unix timestamp changes during the brute-force attempt, this will incorrectly replace the string.

This is a minor issue, as it will only occur pre 2002 or in 2286. This would be especially applicable to #5 if git had been created back then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions