Add: Server write SCAN info to DB
Modify: ptr_select() only in initialize
Modify: Enhance detect scan action
Modify: Forge , please see diff