How2pass.com Forums

Full Version: EC516
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm pretty sure this isn't right.

I'm having trouble finding calculations for Epoch LINUX time format, but it isn't what this python script is.

First line I think is a red herring.
It decodes that encoded string and removes spaces, but doesn't encrypt it.

2nd line sets up Format DateTime today as d.
i.e. today = 6/26/2022 in American

date then takes (10000*d.year + 100*d.month + d.day) 
= 10000*2022 + 100*6 + 26
= 20220000+ 600 + 26
= 20220626
= yyyymmdd in string
It is now fixed. Thank you.