{"id":17928591,"url":"https://github.com/evilsocket/smali_emulator","last_synced_at":"2025-04-05T15:07:39.063Z","repository":{"id":65070518,"uuid":"56472693","full_name":"evilsocket/smali_emulator","owner":"evilsocket","description":"This software will emulate a smali source file generated by apktool.","archived":false,"fork":false,"pushed_at":"2018-08-14T19:49:31.000Z","size":79,"stargazers_count":474,"open_issues_count":8,"forks_count":105,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-03-29T14:09:35.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evilsocket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-18T03:03:41.000Z","updated_at":"2025-03-24T00:17:13.000Z","dependencies_parsed_at":"2023-01-12T07:45:32.909Z","dependency_job_id":null,"html_url":"https://github.com/evilsocket/smali_emulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Fsmali_emulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Fsmali_emulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Fsmali_emulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Fsmali_emulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evilsocket","download_url":"https://codeload.github.com/evilsocket/smali_emulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353745,"owners_count":20925329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T21:04:13.809Z","updated_at":"2025-04-05T15:07:39.041Z","avatar_url":"https://github.com/evilsocket.png","language":"Python","readme":"# Smali Emulator\n\nThis software will emulate a [**smali**](https://github.com/JesusFreke/smali) source file \ngenerated by apktool, it is intended to be used as a quick and dirty way to defeat various \ntypes of encryption and obfuscation while reversing an APK.\n\nThis project is very much a work in progress, feel free to submit a patch.\n\nAs an example, you can run:\n\n```shell\ncd utils;\n./exec.py -i decryptor.smali -m field5 \\\n-p '{\"p0\":[-62,-99,-106,-125,-123,-105,-98,-37,-105,-97,-103,-41,-118,-97,-113,-103,-109,-104,-115,111,98,103,35,52],\"p1\": 19}'\n```\n\n# Testing\n\nThe project has recently be migrated to pytest for infrastructure of tests.\nTo run tests, do:\n\n```shell\npytest -v\n```\n\nThe project is not Python 3 compatible yet, but should be in a near future.\n\n# Note\n\n[Explanation of the \"why\" and \"how\" can be found here.](https://www.evilsocket.net/2016/04/18/how-i-defeated-an-obfuscated-and-anti-tamper-apk-with-some-python-and-a-home-made-smali-emulator/)\n\nThis is highly experimental, a very small subset of the Dalvik opcodes is currently supported, see the `smali/opcodes.py` file for more details.\n\nOpCodes List (Feel free to request access)\n\nhttps://docs.google.com/spreadsheets/d/1RfB_LsBoYnJxOh-lDCSMR0mfLBl1UlwdW9eKw2p03DY/edit?usp=sharing\n\n# License\n\nCopyright (c) 2016 Simone Margaritelli | [Twitter](https://twitter.com/evilsocket) | [Blog](http://www.evilsocket.net)  \nReleased under the GPL 3 license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilsocket%2Fsmali_emulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilsocket%2Fsmali_emulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilsocket%2Fsmali_emulator/lists"}