sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.33k stars 840 forks source link

[bug] Bug Description Here #466

Closed anylayer closed 1 month ago

anylayer commented 3 years ago

Describe the bug A clear and concise description of what the bug is. image

To Reproduce Steps to reproduce the behavior:

  1. objection -N -h ip -p port -g com.android.target explore
  2. memory search sign --string --offsets-only

Similar issues Please link the issues in this repository that is similar to yours.

326,#264

Environment (please complete the following information):

IPMegladon commented 1 month ago

This is a tricky one and I've found it is many times due to a race condition where the permissions on the memory changed while objection is using Memory.scan. Believe the error handling on this function is a bit better now though and it shouldn't crash the whole agent anymore, mostly mitigating the issue.