how to pass a dict parameter from python to frida rpc javascript function?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, objective-c, python
- Ambito
- developer-experience, tooling
Direzione di ricerca
Start with the Python script.exports call and the JavaScript rpc.exports function shown in the issue, then reproduce the call using _dict, secret, and signMethod. Done means determining a working parameter-passing approach and documenting the relevant behavior for this RPC call.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I want to call a rpc function in frida js code,below is my rpc:
rpc.exports = {
signrequesturlwithparameters: function (param_dict,secret,signMethod) {
var result=ObjC.classes.GSNetworkUtils.signRequestUrlWithParameters_secret_signMethod_(param_dict,secret,signMethod);
return String(ObjC.classes.NSString.stringWithString_(result));
}
};
and I want to use below python code to call the rpc function:
script.load()
signrequesturlwithparameters= getattr(script.exports, 'signrequesturlwithparameters')
_dict={"imsi":"46001","device_model":"iPhone7,2"}
secret="93AA27467E8";
signMethod="md5";
a=signrequesturlwithparameters(_dict,secret,signMethod)
print(a)
but it turns out run error,can I pass a dict from python to javasript rpc function in upon way? How should I modify the python or javascript code to make it work?
Can someone help me?
- Lingua principale
- Python
- Stelle
- 873
- Fork
- 173
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di frida/frida-python
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
frida/frida-python#265 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
frida/frida-python#262 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
frida/frida-python#247 · 2 commenti · 2 reazioni ·
-
After a long period of hooking applications on Ubuntu, Python and JavaScript are unable to interact. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
frida/frida-python#246 ·
-
How can I connect to Ipv6? Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
frida/frida-python#243 ·
Tutte le issue di frida/frida-python
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
learningequality/kolibri#15351 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Name consistency Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eellak/triplestore#65 · 1 commento ·