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

请问,有具体的使用例子吗? #1

Closed
zhanghuid opened this issue Jan 29, 2022 · 9 comments
Closed

请问,有具体的使用例子吗? #1

zhanghuid opened this issue Jan 29, 2022 · 9 comments

Comments

@zhanghuid
Copy link

zhanghuid commented Jan 29, 2022

比如:
如下 -i 具体指的是什么,要传什么值进去?是 ipa 包还是,ipa 包内的某个目录,有使用例子不?

dsdump.py -i 

小白一枚,或者有相关文档,也麻烦贴一下,谢谢

@paradiseduo
Copy link
Owner

paradiseduo commented Jan 29, 2022

README里面写了啊,这不就是例子吗?

> python3 dsdump.py -i ~/Downloads/Payload/xxx.app/xxx -o ~/Desktop/classes

你要dump的是machO文件,当然是把machO传进去了

@zhanghuid
Copy link
Author

zhanghuid commented Jan 29, 2022 via email

@zhanghuid
Copy link
Author

zhanghuid commented Feb 8, 2022

你好,传入 machO 文件后,导出的是 is.h ,这是什么情况呢?麻烦抽空回答一下,谢谢

cat is.h 文件后,显示的是:

0x400000000 is mapped to existing memory, exiting

@zhanghuid
Copy link
Author

@League2EB
Copy link

糟糕,換不起機器 QaQ

@paradiseduo
Copy link
Owner

糟糕,換不起機器 QaQ

可以用我开发的另一个工具试试
https://github.com/paradiseduo/resymbol

@League2EB
Copy link

@paradiseduo 想進一步詢問,對於enum裡面的value是可以獲取的嗎?

@paradiseduo
Copy link
Owner

@paradiseduo 想進一步詢問,對於enum裡面的value是可以獲取的嗎?

还在研究,应该是可以

@League2EB
Copy link

League2EB commented Feb 14, 2022

好的,非常感谢您的研究,我也一直在找寻答案
以下是我想获取的代码全貌

ExampleService.swift里头的 paradiseduo

对于此研究与答案我觉得并不是免费,若您需要点研究资金,是可以赞助的。

此外,我已经有使用hopper disassembler进行Mach-o的查看,但一无所获

import Foundation
import Moya

enum ExampleService {
    case fetch()
}

extension ExampleService: TargetType {

    var baseURL: URL {
        return URL(string: https://example.com)!
    }

    var path: String {
        return "/hello/"
    }

    var method: Moya.Method {
        return .get
    }

    var sampleData: Data {
        return Data()
    }

    var task: Task {
        switch self {
        case . fetch():
            var pars = [String: Any]()
            pars["example"] = "paradiseduo"
            return .requestParameters(parameters: pars, encoding: JSONEncoding.default)
        }
    }

    var headers: [String: String]? {
        return [:]
    }
}

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

No branches or pull requests

3 participants