sensepost / objection

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

Fix possible typo in androidFilePwd command and keep typo version for compatibility #393

Closed root-intruder closed 4 years ago

root-intruder commented 4 years ago

the rpc call androidFileCwd should be called andoidFilePwd, since it also calls the pwd function!?

leonjza commented 4 years ago

Hey, I am not 100% certain where this typo is coming from? Could you help me understand?

root-intruder commented 4 years ago

CWD stands for change working directory. however as you can see in the changelog of my commit, it calls the android pwd command which prints the working directory,,,and that is also what it does.

However, I also saw the CWD used in frida...don't remember where exactly. It could come from there.

however, the executed function is definetly PWD which should also be the name

leonjza commented 4 years ago

The Python side calls the correct RPC method here.

Thanks!

root-intruder commented 4 years ago

mybe cwd was translated with current working directory....but coming from linux it stands for somethong else