CTF 题型 python原型链污染 题记和总结
CTF 题型 python原型链污染 题记和总结 一般特征关键函数(判断python原型链污染依据) def merge(src, dst): //不会换成update你就不认识了吧 for k, v in src.items(): if hasattr(dst, '__getitem__'): if dst.get(k) and type(v) == dict: merge(v, dst.get(k)) else: dst[k] = v elif hasattr(dst, k) and type(v) == dict: merge(v, getattr(dst, k)) else: setattr(dst, k, v) 1.[GeekChanlleng 2023 ezpython] 官方docker:https://github.com/SycloverTeam/GeekChallenge2023/tree/main/Web/ezpython ...