LoRexxar / Kunlun-M

KunLun-M是一个完全开源的静态白盒扫描工具,支持PHP、JavaScript的语义扫描,基础安全、组件安全扫描,Chrome Ext\Solidity的基础扫描。
MIT License
2.24k stars 311 forks source link

Update detection.py #244

Closed anonymousdouble closed 10 months ago

anonymousdouble commented 10 months ago

refactor with With statement to open file to make code more Pythonic

LoRexxar commented 10 months ago

Sorry for not accepting updates about writing unless this update fixes some kind of problem, so I'll close it