رفتن به مطلب
انجمن توسعه دهندگان موبایل

dex patcher:تغيير سورس فايل هاي dex/apk توسط jva


ارسال های توصیه شده

درود خدمت دوستان....

بریم ساغ بحث امروز..

اخرين نسخه برنامه رو از اينجا ميگيريم...

>https://github.com/Lanchon/DexPatcher/releases

سورس ها مورد نيازمون رو هم از اينجا ميگيريم..

>https://github.com/Lanchon/DexPatcher

 

خب اينم لينک اسکرييپ ها براي لينوکس..

>https://github.com/Lanchon/DexPatcher-scripts

و بقيه ي ايزار هايي که ما نياز داريم....

>https://github.com/Lanchon/ExtractAR
License

 

تمام پچ های DexPatcher تحت پوشش GPL هستند وشما باید مطمعن بشید که سورس ها در دسترس هستند....

واسه اينکه درک بهتري از قضيه داشته باشيم لينک هاي زير رو نگاه کنيد تا مفهومي تر بشه واستون قضيه...

نمونه کد اصلي

خب اينم پچي که شما ميخوايد و باهاش کار کنيد...

 

و نموه اي از ابزار اجرا کارمون...

خب حالا بريم سراغ کارمون و با اسکريپ ها کار کنيم..

خب اين اسکريپ قسمتي از DexPatcher

وانجام کارا به صورت خودکار و اينکه شما ميتونيد Linux Mint Cinnamon 64-bit.

 

 

خب حالا براي نصب ..

کد هاي زير مورد نياز هستن...

># cd to a suitable install dir such as '~/opt' or '~/android/tools'.

git clone https://github.com/Lanchon/DexPatcher-scripts.git dexpatcher
cd dexpatcher
chmod +x dxp-*

# edit 'dxp.config':
# -set the path to android sdk (defaults to '~/android/sdk').
# -disable bundled tools to use the ones in $PATH if desired.

# add 'dxp-*' scripts to $PATH:
# -symlink the 'dxp-*' scripts in a suitable dir in the $PATH such as '~/bin'.
# -or add the 'dexpatcher' dir to $PATH.

 

اينم نمونه کارمون...

># cd to a suitable workspace dir.

dxp-setup-for-apk path/to/TheApk.apk 
cd TheApk
dxp-create-keystore

# in 'src-cfr' you will find decompilation of the app to Java (with errors).
# you can use these files to plan your changes.

# in 'src-cfr-nocode' you will find decompilation of empty method stubs.
# you can use selected files as a basis for your patch.

# create your patch as Java files in 'src'.
# the symbols of the original app will be accessible to your patch code.

dxp-make
adb install -r patched.apk

موفق باشید....

لینک ارسال
  • 1 سال بعد...

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

×
×
  • اضافه کردن...