Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with base repository #1

Closed
wants to merge 225 commits into from
Closed

Sync with base repository #1

wants to merge 225 commits into from

Conversation

priitlatt
Copy link

Our fork is stuck at version 3.4.0a1, which is pretty much outdated now that latest release is 4.1.2.

danielgf3 and others added 30 commits May 31, 2021 16:11
Started to clean up the code:
- remove BuffHandle/Buff classes
- use logger
- remove all non necessary stuff

See ya !
Seems the doc is outdated since few years, will put new soon
Fix write_yaml has been removed from NetworkX
added package publish automation
JADX by default places the decompiled sources into a "sources" directory
inside the directory passed by the "-d" flag. The "-ds" flag can be used
to specify a custom directory for the source files. By setting it to the
tmpfolder, JADX  will place the source files where Androguard expects
them to be.
Set custom directory for JADX source files to `tmpfolder`, so Androguard finds them
Remove the current gui to replace later with a simple web ui
Using Frida to start to trace an apk etc

Not yet usable :)
Copy some stuff from Medusa tool (nice !!) and modified it for AG
- handle message in python
- addd webviews helper
erev0s and others added 28 commits March 27, 2024 18:05
[bugfix] Remove spaces from nsmap
address pyqt5-qt5 inconsistencies by adding markers for MacOS ARM targets
…ethods instead of MethodIds, test decompile format options and create a more verbose error when GraphViz is not installed and the 'png' or 'jpg' formats are specified
Use get_encoded_methods() when decompiling
…d public_key instead of asn1crypto

This commit replaces the outdated:
    asn1crypto.keys.PublicKeyInfo().fingerprint call

With the new:
    oscrypto.asymmetric.PublicKey().fingerprint call

ValueError/ve is properly excepted and when printed, it shows "Only DSA keys are generated using a hash algorithm, this key is RSA" for RSA signed apk's.

This commit satisfies the:
`asn1crypto._errors.APIException: asn1crypto.keys.PublicKeyInfo().fingerprint has been removed, please use oscrypto.asymmetric.PublicKey().fingerprint instead`
while still keeping the original behavior.
androsign: Fix androguard#1031 & androguard#764 - use oscrypto to load public_key instead…
…arsingv2

Correct attribute name to be the same used by Android
* progress on typing

* finish typing analysis.py

* progress on typing dex/__init__.py

* finish pass at dex.__init__.py typing

* more types

* more typing, and fix circular imports using 'if TYPE_CHECKING' checking

* begin to change Generator->Iterator for typing, begin to returns that are type|None to Union[type,None] since that convention started in Python3.10 and Androguard supports 3.9+, and note current circular import issue.

* type|None only works in Python3.10+, which is too high of an assumption for Androguard..change these to Union[type,None]

* withoffset->with_offset

* fix circular import issue due to adding imports for typing

* types for permission loading

* apply type hints to bytecode module

* convert | to Union for further backwards compatibility, progress towards typing axml

* finish typing axml

* order imports, standardize type|None -> Union[type,None]

* fix type for get_certificate_name_string param

* explicitly import Name for typing

* standardize type|None -> Union[type,None]

* type annotate main

* fix some inaccurate hints

* type hint fixes

* add imports for typing

* remove unused import

* remove explicit dependence on typing_extensions, as we can do self-referencing type hints using 'from __future__ import annotations'..however note that typing_extensions is still installed by some underlying package.
…ength

reject decoding strings that are passing the string block in size
Add locale option to get_app_name() method.
@priitlatt priitlatt closed this Nov 14, 2024
@priitlatt priitlatt deleted the update/v4.1.2 branch November 14, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.