News for hackers. Stuff that matters.
Re:Doge.gov site has been hacked by dataviz1000 on Saturday February 15, 2025 @04:45AM (#43057289)
> rewrite (git) history

Is that possible? Every commit id includes the hash of the parent commit forming a chain.

Re:Doge.gov site has been hacked by pfg_ on Saturday February 15, 2025 @06:25AM (#43057729)
Yes, you modify the history uodating every commit after the changed one and then force push. Git has built in ommands to help. Anyone who has the repository cloned can tell if that happened because all the hashes will be different.
Re:Doge.gov site has been hacked by Doxin on Tuesday February 18, 2025 @05:35AM (#43088111)
As long as your git hasn't garbage collected the old commits you can still them back. you can just create a branch pointing to the previous HEAD and the whole history will still be there.