sensepost / objection

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

[bug] unreadable result of memory search #378

Closed luozx112 closed 4 years ago

luozx112 commented 4 years ago

Describe the bug When I run {memory search "64 65 78 0a 30 33 35 00" } then I'll get a strange result as below

?[0;32m13141244?[0m  ?[0;33m64?[0m ?[0;33m65?[0m ?[0;33m78?[0m ?[0m0a?[0m ?[0;33m30?[0m ?[0;33m33?[0m ?[0;33m35?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m68?[0m ?[0;33m60?[0m ?[0;33mf0?[0m ?[0;33m70?[0m  ?[0;33md?[0m?[0;33me?[0m?[0;33mx?[0m?[0m.?[0m?[0;33m0?[0m?[0;33m3?[0m?[0;33m5?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33mh?[0m?[0;33m`?[0m?[0;33m.?[0m?[0;33mp?[0m
?[0;32m13141254?[0m  ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m80?[0m ?[0;33m7f?[0m ?[0m0a?[0m ?[0;33m13?[0m ?[0;33ma8?[0m ?[0;33m7d?[0m ?[0;33mbe?[0m ?[0;33m70?[0m ?[0;33m70?[0m ?[0;33m3c?[0m ?[0;33m41?[0m ?[0;33m13?[0m  ?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m}?[0m?[0;33m.?[0m?[0;33mp?[0m?[0;33mp?[0m?[0;33m<?[0m?[0;33mA?[0m?[0;33m.?[0m
?[0;32m13141264?[0m  ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33me0?[0m ?[0;33m4f?[0m ?[0;33mf0?[0m ?[0;33m70?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m00?[0m ?[0;33m98?[0m ?[0;33m99?[0m ?[0;33m01?[0m ?[0;33m00?[0m  ?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33mO?[0m?[0;33m.?[0m?[0;33mp?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m?[0;33m.?[0m

Environment (please complete the following information):

Additional context Add any other context about the problem here.

leonjza commented 4 years ago

It looks like your terminal is not interpreting the ANSI color codes correctly.