Py Magic Numbers


Author: David Zimmer
Date: 05.29.25 - 7:22pm



this was slightly painful..

pycore_magic_number.h






Comments: (2)

On 05.29.25 - 7:51pm Dave wrote:
chatgpt has really impressed me with some types of extraction/formatting, but just couldnt pull it off in this case even with the inputs standardized.

It also tends to be lazy and only show abbreviated results so make sure to specify full outputs in your try it.

On 05.29.25 - 8:07pm Dave wrote:
prompt: what is the release date and git tag for python 3.11a4

hopefully i never need to hunt down alpha/betas for an unmarshal );

maybe a more useful list:

pyMagic = Array("1.5:0x994e", "1.5.1:0x994e", "1.5.2:0x994e", "1.6:0xc4fc", "2.0:0xc687", "2.0.1:0xc687", "2.1:0xeb2a", "2.1.1:0xeb2a", "2.1.2:0xeb2a", "2.2:0xed2d", "2.3a0:0xf23b", "2.3a0:0xf245", "2.4a0:0xf259", "2.4a3:0xf263", "2.4b1:0xf26d", "2.5a0:0xf277", "2.5a0:0xf281", "2.5a0:0xf28b", "2.5a0:0xf28c", "2.5b3:0xf295", "2.5b3:0xf29f", "2.5c1:0xf2a9", "2.5c2:0xf2b3", "2.6a0:0xf2c7", "2.6a1:0xf2d1", "2.7a0:0xf2db", "2.7a0:0xf2e5", "2.7a0:0xf2ef", "2.7a0:0xf2f9", "2.7a0:0xf303", "3.0:0xf303", "3.1:0xf335", "3.2:0xf353", "3.3:0xf38f", "3.4:0xf3b3", "3.5:0xf3d1", "3.6:0x0d33", "3.7:0x0d3e", "3.8:0x0d55", "3.9:0x0d61", "3.10:0x0d6f", "3.11:0x0d7a", "3.12:0x0da7", "3.13:0x0db6")

cross map to some more friendly version numbers

2.1.1 = 2.1 = EB2A
2.1.2 = 2.1 = EB2A
3.6rc1 = 3.6 = D33
3.7a1 = 3.7 = D3E
3.8b4 = 3.8 = D55
3.9a2 = 3.9 = D61
3.10b1 = 3.10 = D6F
3.11a1 = 3.11 = D7A
3.11b4 = 3.12 = DA7
3.12a2 = 3.13 = DB6

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 6 + 8 = ? followed by the letter: B 



About Me
More Blogs
Main Site
Posts: (All)
2025 (11)
     IDA Jscript 3 Beta
     IDA JScript Updates
     IdaCompare StringDiff
     Sensationalization
     Claude AI Personality Emergence
     iPhone to PC Dictation
     pediff and chatgpt
     Py Magic Numbers
     upside down pyramid
     IDA Compare Updates
     Bindiff Niceity
2024 (1)
     MAP Update
2023 (4)
     Yara Workbench Automation
     VS linker versions
     IDA decompiler comments
     DispCallFunc
2022 ( 5 )
2021 ( 2 )
2020 ( 5 )
2019 ( 6 )
2017 ( 5 )
2016 ( 4 )
2015 ( 5 )
2014 ( 5 )
2013 ( 9 )
2012 ( 13 )
2011 ( 19 )
2010 ( 11 )
2009 ( 1 )