android_parser 2.7.0.beta1 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/{LICENSE.txt → LICENSE} +1 -1
- data/README.md +3 -8
- data/android_parser.gemspec +1 -1
- data/docs/resources-arsc-reference.png +0 -0
- data/lib/android/apk.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bc2e1b9a33de71a8ffff0ee8c304328f64916f16aca5d0c36b3a74c59ce6d59
|
4
|
+
data.tar.gz: 9e78aec70a06fd4655c1e2a34aeecb5325277b75fd315d0400b2799ce2974c5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1e31e7d86acb5983f4a66976146c76068c549b71df9b538de30814147c5aac5b5bf522d97517aded04810dcebc5648f211ddcfbf3c5e8c5d601c1c2e2217e74
|
7
|
+
data.tar.gz: 19ab1c2a189da160bff548e5ceae83f75ab97ce10f0a329dbe13c152a2c8f9a24a067d69ae7d91d4b87f638360c60c14602eb43f2b930672cc7734807354cb6b
|
data/CHANGELOG.md
CHANGED
data/{LICENSE.txt → LICENSE}
RENAMED
data/README.md
CHANGED
@@ -1,16 +1,12 @@
|
|
1
1
|
# android_parser
|
2
2
|
|
3
|
-
[![Language](https://img.shields.io/badge/ruby-
|
3
|
+
[![Language](https://img.shields.io/badge/ruby-3.1+-701516.svg)](.github/workflows/ci.yml)
|
4
4
|
[![Build Status](https://img.shields.io/github/actions/workflow/status/icyleaf/android_parser/ci.yml)](https://github.com/icyleaf/android_parser/actions/workflows/ci.yml)
|
5
5
|
[![Gem version](https://img.shields.io/gem/v/android_parser.svg?style=flat)](https://rubygems.org/gems/android_parser)
|
6
|
-
[![License](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](LICENSE
|
6
|
+
[![License](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](LICENSE)
|
7
7
|
|
8
8
|
Android Apk static analysis parser library for Ruby, forked from [playtestcloud/ruby_apk](https://github.com/playtestcloud/ruby_apk).
|
9
9
|
|
10
|
-
## Requirements
|
11
|
-
|
12
|
-
- ruby (>= 2.5)
|
13
|
-
|
14
10
|
## Install
|
15
11
|
|
16
12
|
```bash
|
@@ -174,8 +170,7 @@ dex_data = File.open('classes.dex','rb').read{|f| f.read }
|
|
174
170
|
dex = Android::Dex.new(dex_data)
|
175
171
|
```
|
176
172
|
|
177
|
-
|
178
173
|
## Copyright
|
179
174
|
|
180
|
-
|
175
|
+
See [LICENSE](LICENSE) for further details.
|
181
176
|
|
data/android_parser.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'android_parser'
|
8
|
-
spec.version = '2.7.0
|
8
|
+
spec.version = '2.7.0'
|
9
9
|
spec.authors = ['SecureBrain', 'icyleaf']
|
10
10
|
spec.email = ['info@securebrain.co.jp', 'icyleaf.cn@gmail.com']
|
11
11
|
spec.platform = Gem::Platform::RUBY
|
Binary file
|
data/lib/android/apk.rb
CHANGED
@@ -212,6 +212,7 @@ module Android
|
|
212
212
|
signs
|
213
213
|
}.call
|
214
214
|
end
|
215
|
+
alias signatures signs
|
215
216
|
|
216
217
|
# v1 certificate info which is used for signing
|
217
218
|
# @return [Hash{String => OpenSSL::X509::Certificate }] key: sign file path, value: first certficate in the sign file
|
@@ -229,6 +230,7 @@ module Android
|
|
229
230
|
obj << arch unless obj.include?(arch)
|
230
231
|
end
|
231
232
|
end
|
233
|
+
alias architectures archs
|
232
234
|
|
233
235
|
# detect if contains multi-platforms (native machine code)
|
234
236
|
# @return [Boolean]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: android_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.0
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SecureBrain
|
@@ -144,7 +144,7 @@ files:
|
|
144
144
|
- ".rspec"
|
145
145
|
- CHANGELOG.md
|
146
146
|
- Gemfile
|
147
|
-
- LICENSE
|
147
|
+
- LICENSE
|
148
148
|
- README.md
|
149
149
|
- Rakefile
|
150
150
|
- android_parser.gemspec
|