TheZ3ro / gogsownz

Gogs CVEs
78 stars 15 forks source link

Add simple define for version compatibility #4

Closed mzpqnxow closed 4 years ago

mzpqnxow commented 4 years ago

This makes it easy to exploit other versions, which have a different name for the git hook update

TheZ3ro commented 4 years ago

Thanks for the contribution, I will look into it to perform a better detection of the correct Hook, for example trying the old one and on error using the newer one.