Kory@lemmy.ml to Technology@lemmy.worldEnglish · 15 hours agoTurning the Tables: How to Make Spammers Reveal Their Own IP Addresscodefoundry.deexternal-linkmessage-square15fedilinkarrow-up1113arrow-down11
arrow-up1112arrow-down1external-linkTurning the Tables: How to Make Spammers Reveal Their Own IP Addresscodefoundry.deKory@lemmy.ml to Technology@lemmy.worldEnglish · 15 hours agomessage-square15fedilink
minus-squareMax-P@lemmy.max-p.melinkfedilinkEnglisharrow-up8arrow-down1·13 hours agoThat base64 is so long, and doesn’t need to be. An IP address is 4 bytes so it could be represented as simply 8 hex digits (base64 also expands to 8 due to padding).
minus-squareSaik0@lemmy.saik0.comlinkfedilinkEnglisharrow-up3arrow-down1·7 hours ago An IP address is 4 bytes IPv6 exists you know?
minus-squareMax-P@lemmy.max-p.melinkfedilinkEnglisharrow-up1·10 minutes agoYes but OP took the string representation of the IPv4 and base64’d it, I was addressing that part specifically.
That base64 is so long, and doesn’t need to be. An IP address is 4 bytes so it could be represented as simply 8 hex digits (base64 also expands to 8 due to padding).
IPv6 exists you know?
Yes but OP took the string representation of the IPv4 and base64’d it, I was addressing that part specifically.