lamda 5.3__tar.gz → 5.6__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. {lamda-5.3 → lamda-5.6}/PKG-INFO +1 -1
  2. {lamda-5.3 → lamda-5.6}/README.md +1 -0
  3. {lamda-5.3 → lamda-5.6}/lamda/__init__.py +1 -1
  4. {lamda-5.3 → lamda-5.6}/lamda/client.py +9 -7
  5. {lamda-5.3 → lamda-5.6}/lamda.egg-info/PKG-INFO +1 -1
  6. {lamda-5.3 → lamda-5.6}/lamda/bcast.proto +0 -0
  7. {lamda-5.3 → lamda-5.6}/lamda/const.py +0 -0
  8. {lamda-5.3 → lamda-5.6}/lamda/exceptions.py +0 -0
  9. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/any.proto +0 -0
  10. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/api.proto +0 -0
  11. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/compiler/plugin.proto +0 -0
  12. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/descriptor.proto +0 -0
  13. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/duration.proto +0 -0
  14. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/empty.proto +0 -0
  15. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/field_mask.proto +0 -0
  16. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/source_context.proto +0 -0
  17. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/struct.proto +0 -0
  18. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/timestamp.proto +0 -0
  19. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/type.proto +0 -0
  20. {lamda-5.3 → lamda-5.6}/lamda/google/protobuf/wrappers.proto +0 -0
  21. {lamda-5.3 → lamda-5.6}/lamda/rpc/application.proto +0 -0
  22. {lamda-5.3 → lamda-5.6}/lamda/rpc/debug.proto +0 -0
  23. {lamda-5.3 → lamda-5.6}/lamda/rpc/file.proto +0 -0
  24. {lamda-5.3 → lamda-5.6}/lamda/rpc/policy.proto +0 -0
  25. {lamda-5.3 → lamda-5.6}/lamda/rpc/proxy.proto +0 -0
  26. {lamda-5.3 → lamda-5.6}/lamda/rpc/services.proto +0 -0
  27. {lamda-5.3 → lamda-5.6}/lamda/rpc/settings.proto +0 -0
  28. {lamda-5.3 → lamda-5.6}/lamda/rpc/shell.proto +0 -0
  29. {lamda-5.3 → lamda-5.6}/lamda/rpc/status.proto +0 -0
  30. {lamda-5.3 → lamda-5.6}/lamda/rpc/storage.proto +0 -0
  31. {lamda-5.3 → lamda-5.6}/lamda/rpc/types.proto +0 -0
  32. {lamda-5.3 → lamda-5.6}/lamda/rpc/uiautomator.proto +0 -0
  33. {lamda-5.3 → lamda-5.6}/lamda/rpc/util.proto +0 -0
  34. {lamda-5.3 → lamda-5.6}/lamda/rpc/wifi.proto +0 -0
  35. {lamda-5.3 → lamda-5.6}/lamda/types.py +0 -0
  36. {lamda-5.3 → lamda-5.6}/lamda.egg-info/SOURCES.txt +0 -0
  37. {lamda-5.3 → lamda-5.6}/lamda.egg-info/dependency_links.txt +0 -0
  38. {lamda-5.3 → lamda-5.6}/lamda.egg-info/not-zip-safe +0 -0
  39. {lamda-5.3 → lamda-5.6}/lamda.egg-info/requires.txt +0 -0
  40. {lamda-5.3 → lamda-5.6}/lamda.egg-info/top_level.txt +0 -0
  41. {lamda-5.3 → lamda-5.6}/setup.cfg +0 -0
  42. {lamda-5.3 → lamda-5.6}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lamda
3
- Version: 5.3
3
+ Version: 5.6
4
4
  Summary: Android reverse engineering & automation framework
5
5
  Home-page: https://github.com/rev1si0n/lamda
6
6
  Author: rev1si0n
@@ -1868,6 +1868,7 @@ t = 切换到 /data/local/tmp
1868
1868
 
1869
1869
  ```
1870
1870
  * lamda (自身)
1871
+ * cv2 (opencv)
1871
1872
  * capstone (反汇编引擎)
1872
1873
  * keystone_engine (汇编引擎)
1873
1874
  * unicorn (CPU模拟引擎)
@@ -2,4 +2,4 @@
2
2
  #
3
3
  # Distributed under MIT license.
4
4
  # See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5
- __version__ = "5.3"
5
+ __version__ = "5.6"
@@ -1002,13 +1002,6 @@ class ApplicationOpStub:
1002
1002
  req = protos.ApplicationRequest(name=self.applicationId)
1003
1003
  r = self.stub.removeFromDozeModeWhiteList(req)
1004
1004
  return True
1005
- def install_from_local_file(self, fpath):
1006
- """
1007
- 安装设备上的 apk 文件(注意此路径为设备上的 apk 路径)
1008
- """
1009
- req = protos.ApplicationRequest(path=fpath)
1010
- r = self.stub.installFromLocalFile(req)
1011
- return r
1012
1005
  def is_installed(self):
1013
1006
  """
1014
1007
  检查应用是否已经安装
@@ -1056,6 +1049,13 @@ class ApplicationStub(BaseServiceStub):
1056
1049
  req.extras.update(extras)
1057
1050
  r = self.stub.startActivity(req)
1058
1051
  return r.value
1052
+ def install_app_file(self, fpath):
1053
+ """
1054
+ 安装设备上的 apk 文件(注意此路径为设备上的 apk 路径)
1055
+ """
1056
+ req = protos.ApplicationRequest(path=fpath)
1057
+ r = self.stub.installFromLocalFile(req)
1058
+ return r
1059
1059
  def __call__(self, applicationId):
1060
1060
  return ApplicationOpStub(self.stub, applicationId)
1061
1061
 
@@ -1844,6 +1844,8 @@ class Device(object):
1844
1844
  def file_stat(self, fpath):
1845
1845
  return self.stub("File").file_stat(fpath)
1846
1846
  # 快速调用: Application
1847
+ def install_app_file(self, rpath):
1848
+ return self.stub("Application").install_app_file(rpath)
1847
1849
  def current_application(self):
1848
1850
  return self.stub("Application").current_application()
1849
1851
  def enumerate_all_pkg_names(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lamda
3
- Version: 5.3
3
+ Version: 5.6
4
4
  Summary: Android reverse engineering & automation framework
5
5
  Home-page: https://github.com/rev1si0n/lamda
6
6
  Author: rev1si0n
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes