malpedia / feedback

Public Issue tracker to gather feedback for and allow discussions around Malpedia
31 stars 3 forks source link

regex filename validator #43

Open fishfacegit opened 1 year ago

fishfacegit commented 1 year ago

Is your feature request related to a problem? Please describe. Filenames do not always follow README.MD guidelines. If parsing data from filenames, some files might drop out since they do not match a regex. Examples: b8928e2a7a1995047ba33397dc028ad195d0fa8b3264c2887b48eccd1374e721_dmp7_0x00400000 -> misspelled 9f10ec2786a10971eddc919a5e87a927c652e1655ddbbae72d376856d30fa27c_dump7_0x00400000_loader -> dump + int

Describe the solution you'd like Consider implementing a regex that marks filenames that do not match README guidelines. b8928e2a7a1995047ba33397dc028ad195d0fa8b3264c2887b48eccd1374e721_dmp7_0x00400000 -> b8928e2a7a1995047ba33397dc028ad195d0fa8b3264c2887b48eccd1374e721_dump_0x00400000_7

danielplohmann commented 1 year ago

Hey there! Thanks for the pointers! I've had a go at the repo today and checked a bit of filename integrity. The {sha256}_dump7_0x{addr} is file like this, the difference between dump and dump7 is the reference system from which the dump was created (xp vs win7). there will be win11 at some point as well, I guess. ;)