Manipulate AXML file and create one from scratch
Project description
README
GENERAL INFO
Project: Library to modify AXML file
Contributors: MadSquirrel
License: GNU General Public License v3.0
Version: v1.0
Date: 12-08-23
GOAL
Library to patch AXML over the fly
USAGE
You can use 2 samples:
$ python copymanifest.py code/tata2.xml test.xml
to simply copy the AXML file to test.xml with reencoding
The second sample can replace the name of an activity inside an AndroidManifest.xml:
$ androaxml.py code/tata2.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" compileSdkVersion="30" compileSdkVersionCodename="11" package="exploit.intent" platformBuildVersionCode="30" platformBuildVersionName="11">
<application>
<activity android:name="app.activity"/>
</application>
</manifest>
$ python replace_activity_name.py code/tata2.xml test.xml app.activity app.test
$ androaxml.py test.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" compileSdkVersion="30" compileSdkVersionCodename="11" package="exploit.intent" platformBuildVersionCode="30" platformBuildVersionName="11">
<application>
<activity android:name="app.test"/>
</application>
</manifest>
CHANGELOG
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pyaxml-0.0.1-py3-none-any.whl
(12.2 kB
view hashes)