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

Porting into another language #11

Open
lintangtimur opened this issue Mar 26, 2019 · 42 comments
Open

Porting into another language #11

lintangtimur opened this issue Mar 26, 2019 · 42 comments
Labels
help wanted Extra attention is needed

Comments

@lintangtimur
Copy link
Owner

I hope someone want to porting into another language like
Javascript, Python, GO, Java

@lintangtimur lintangtimur added the help wanted Extra attention is needed label Mar 26, 2019
@lintangtimur lintangtimur pinned this issue Mar 26, 2019
@ii64
Copy link

ii64 commented Mar 30, 2019

Interesting

@ii64
Copy link

ii64 commented Mar 30, 2019

Okay, heads up! one more thing to test. I just need to logout OVO Account from my phone either register the new one, but everything else already ported

image

@lintangtimur
Copy link
Owner Author

change deviceId or check logout function

@ii64
Copy link

ii64 commented Mar 30, 2019

change deviceId or check logout function

Yes, in couple of minutes. I leave my phone at home - I already logged into the OVO App on Android so i guess i need to logout from it?
Or, Have you managed to signup/register new phone number?

@lintangtimur
Copy link
Owner Author

2 Options

"Have you managed to signup/register new phone number?"
not yet

@ii64
Copy link

ii64 commented Mar 30, 2019

What the maximum allowed of device logged in? (i didn't login with this api neither my prototype so there's no possiblity for unused login session)
1 device only? (the only one logged on my phone?)
Or i need file the support to logout entire login session? (because idk what device logged, i just remembered i have one and that's my phone)
Anw about the deviceId, it's random UUID right?
Also, what about this one? Why you hardcoded them?
(Sorry if i ask too many question)

@lintangtimur
Copy link
Owner Author

What the maximum allowed of device logged in? (i didn't login with this api neither my prototype so there's no possiblity for unused login session)
1 device only? (the only one logged on my phone?)
Or i need file the support to logout entire login session? (because idk what device logged, i just remembered i have one and that's my phone)
Anw about the deviceId, it's random UUID right?
Also, what about this one? Why you hardcoded them?
(Sorry if i ask too many question)

from what i know, only 1 device only. Yes random UUID.
FCM(google push notification), i think it doesn't matter so i make it hardcoded

@ii64
Copy link

ii64 commented Mar 31, 2019

Ok most of them already ported now. But somehow i can't transfer the OVO Balance within this error.
You sure the payload is right?
image
image

Oh yea, notification id returned from getBalanceModel (device logged in also there too!) same with yours

@lintangtimur
Copy link
Owner Author

Ok most of them already ported now. But somehow i can't transfer the OVO Balance within this error.
You sure the payload is right?
image
image

your error same like me, if i remember correctly payload for transfer endpoint is right, can't test it yet

@ii64
Copy link

ii64 commented Mar 31, 2019

Or this could be the account? Because OVO has 2, the one that after you registered, and one other after you file the picture of you and National ID Card (if I remembered, this one able to do balance transfer)

@lintangtimur
Copy link
Owner Author

my ovo app registered with national id card, and if you want to transfer you need to rgister first

@ii64
Copy link

ii64 commented Apr 2, 2019

Checkout ported Python3 one here, https://github.com/anysz/ovopy

@lintangtimur
Copy link
Owner Author

Checkout ported Python3 one here, https://github.com/anysz/ovopy

thanks, great examples and documentation. Your repo already added into my ported list

@ii64
Copy link

ii64 commented Apr 2, 2019

Yea you're welcome 😉 I might be port them to JS too (since I mainly use JS for web development), how about doing payment such as purchasing Mobile data bandwidth, or Game Voucher or.... Pay electricity/telephone bills? This would be cool right! imagine you can just build your own payment billing website. Industry 4.0 has begun.

@lintangtimur
Copy link
Owner Author

Yea you're welcome 😉 I might be port them to JS too (since I mainly use JS for web development), how about doing payment such as purchasing Mobile data bandwidth, or Game Voucher or.... Pay electricity/telephone bills? This would be cool right! imagine you can just build your own payment billing website. Industry 4.0 has begun.

that's cool things, i will check again when i have much more free time, or you can do it your self

@ii64
Copy link

ii64 commented Apr 30, 2019

Any chance you implement that? :/

Yea you're welcome I might be port them to JS too (since I mainly use JS for web development), how about doing payment such as purchasing Mobile data bandwidth, or Game Voucher or.... Pay electricity/telephone bills? This would be cool right! imagine you can just build your own payment billing website. Industry 4.0 has begun.

@lintangtimur
Copy link
Owner Author

Any chance you implement that? :/

Yea you're welcome I might be port them to JS too (since I mainly use JS for web development), how about doing payment such as purchasing Mobile data bandwidth, or Game Voucher or.... Pay electricity/telephone bills? This would be cool right! imagine you can just build your own payment billing website. Industry 4.0 has begun.

Ya, saya sedang mengerjakan bagian beli pulsa melalui OVO CASH, tapi sepertinya agak lama karena ada urusan lain, kalau anda ingin membantu silahkan. Chat via discord

@lintangtimur
Copy link
Owner Author

contoh respon
image

@ii64
Copy link

ii64 commented May 1, 2019

Okei, take your time 😃

@ii64 ii64 mentioned this issue May 11, 2019
@ii64 ii64 mentioned this issue Jul 20, 2019
@vcyous
Copy link

vcyous commented Aug 10, 2019

about 'invalid model', already fixed or not? Still can't transfer OVO Balance

@ii64
Copy link

ii64 commented Aug 17, 2019

Awaiting confirmation @lintangtimur

@lintangtimur
Copy link
Owner Author

about 'invalid model', already fixed or not? Still can't transfer OVO Balance

I hope it fixed ee0745a, check latest released

@apriady
Copy link
Contributor

apriady commented Sep 2, 2019

Yea you're welcome 😉 I might be port them to JS too (since I mainly use JS for web development), how about doing payment such as purchasing Mobile data bandwidth, or Game Voucher or.... Pay electricity/telephone bills? This would be cool right! imagine you can just build your own payment billing website. Industry 4.0 has begun.

Hi, have you start on JS?
I'm interested in porting it to nodejs, maybe we can port it together, dude?

@ii64
Copy link

ii64 commented Sep 2, 2019

Yea you're welcome wink I might be port them to JS too (since I mainly use JS for web development), how about doing payment such as purchasing Mobile data bandwidth, or Game Voucher or.... Pay electricity/telephone bills? This would be cool right! imagine you can just build your own payment billing website. Industry 4.0 has begun.

Hi, have you start on JS?
I'm interested in porting it to nodejs, maybe we can port it together, dude?

I've tried but I discontinued my work (during last year of study) and leave it with no update, all goes back to you :/ you could invite me to the repository soon as you start porting to nodejs 😉

@apriady
Copy link
Contributor

apriady commented Sep 4, 2019

@lintangtimur NodeJS https://github.com/apriady/ovoid-nodejs

@anysz I've created that repo. has ported several method to NodeJS but still full of messiness and not structured well. Maybe can give suggestion to make it better.
Thanks

@ii64
Copy link

ii64 commented Sep 4, 2019

@apriady whoa that's cool, however regarding to this issue #11 (comment) I think it's a must to store Auth token in case you forgot to save it and throw maximum device next time if you trying to login, you could take a look to https://github.com/anysz/ovopy for the implementation probably

@apriady
Copy link
Contributor

apriady commented Sep 4, 2019

@anysz yes, i think that must implemented. I will look into your code and see how it works. Thanks for the suggestion.

BTW, anyone know the endpoint and params that used for refreshing the token?
i think it will be better if we can implement that.

@apriady
Copy link
Contributor

apriady commented Sep 5, 2019

halo @lintangtimur, can share tutorial that you use to setup the ssl pinning?
I'm following this https://omespino.com/tutorial-universal-android-ssl-pinning-in-10-minutes-with-frida/ but no luck.

@lintangtimur
Copy link
Owner Author

halo @lintangtimur, can share tutorial that you use to setup the ssl pinning?
I'm following this https://omespino.com/tutorial-universal-android-ssl-pinning-in-10-minutes-with-frida/ but no luck.

U can use xposed framework(root needed), or use Frida+Objection+Burp suite+Android virtual device emulator

@adibaulia
Copy link

Halo @lintangtimur, ini saya mau mencoba porting ke Go language, cuman waktu nyoba ambil auth Token (third step) ada error kayak gini.

 {
    "message": "Invalid parameters",
    "code": 1000
}

Mungkin ada solusi? oiya apa udah ada dokumentasi API nya dari OVO ya di postman gitu?

@lintangtimur
Copy link
Owner Author

Halo @lintangtimur, ini saya mau mencoba porting ke Go language, cuman waktu nyoba ambil auth Token (third step) ada error kayak gini.

 {
    "message": "Invalid parameters",
    "code": 1000
}

Mungkin ada solusi? oiya apa udah ada dokumentasi API nya dari OVO ya di postman gitu?

saya test masih bisa, lancar. Cek lagi parameternya

@adibaulia
Copy link

adibaulia commented Feb 13, 2020

Halo @lintangtimur, ini saya mau mencoba porting ke Go language, cuman waktu nyoba ambil auth Token (third step) ada error kayak gini.

 {
    "message": "Invalid parameters",
    "code": 1000
}

Mungkin ada solusi? oiya apa udah ada dokumentasi API nya dari OVO ya di postman gitu?

saya test masih bisa, lancar. Cek lagi parameternya

udah saya test sih ini, jadi saya lagi bikin dokumentasi Apinya di postman gitu baca dari source codenya langsung.

Headernya pakai ini kan?

Content-Type:application/json
app-id:C7UMRSMFRZ46D9GW9IK7
App-Version:3.2.0
OS:Android

lalu paramnya pakai json ini?

{
	"deviceUnixtime":1543693061,
	"securityCode":"21xx",
	"updateAccessToken":"f6ec49c6f96549598c04b482ea49caxxx",
	"message":""
}

@lintangtimur
Copy link
Owner Author

Halo @lintangtimur, ini saya mau mencoba porting ke Go language, cuman waktu nyoba ambil auth Token (third step) ada error kayak gini.

 {
    "message": "Invalid parameters",
    "code": 1000
}

Mungkin ada solusi? oiya apa udah ada dokumentasi API nya dari OVO ya di postman gitu?

saya test masih bisa, lancar. Cek lagi parameternya

udah saya test sih ini, jadi saya lagi bikin dokumentasi Apinya di postman gitu baca dari source codenya langsung.

Headernya pakai ini kan?

Content-Type:application/json
app-id:C7UMRSMFRZ46D9GW9IK7
App-Version:3.2.0
OS:Android

lalu paramnya pakai json ini?

{
	"deviceUnixtime":1543693061,
	"securityCode":"21xx",
	"updateAccessToken":"f6ec49c6f96549598c04b482ea49caxxx",
	"message":""
}

benar, itu security code bukannya 6digit?

@adibaulia
Copy link

Halo @lintangtimur, ini saya mau mencoba porting ke Go language, cuman waktu nyoba ambil auth Token (third step) ada error kayak gini.

 {
    "message": "Invalid parameters",
    "code": 1000
}

Mungkin ada solusi? oiya apa udah ada dokumentasi API nya dari OVO ya di postman gitu?

saya test masih bisa, lancar. Cek lagi parameternya

udah saya test sih ini, jadi saya lagi bikin dokumentasi Apinya di postman gitu baca dari source codenya langsung.
Headernya pakai ini kan?

Content-Type:application/json
app-id:C7UMRSMFRZ46D9GW9IK7
App-Version:3.2.0
OS:Android

lalu paramnya pakai json ini?

{
	"deviceUnixtime":1543693061,
	"securityCode":"21xx",
	"updateAccessToken":"f6ec49c6f96549598c04b482ea49caxxx",
	"message":""
}

benar, itu security code bukannya 6digit?

oh oke, lagi dicoba porting nih mas, tapi belum selesai. sila coba ke ovoid-go

@thisisbintang
Copy link

Izin porting ke java

@namdevel
Copy link

@lintangtimur Ruby https://github.com/namdevel/ovoid-ruby

@lintangtimur
Copy link
Owner Author

@lintangtimur Ruby https://github.com/namdevel/ovoid-ruby

Done, ty :)

@namdevel
Copy link

nggih mas

@maulana20
Copy link

hallo mas @lintangtimur boleh saya izin porting ke dart, sebagai coba coba 😊

@lintangtimur
Copy link
Owner Author

hallo mas @lintangtimur boleh saya izin porting ke dart, sebagai coba coba 😊

silahkan, bebas

@maulana20
Copy link

hallo mas @lintangtimur boleh saya izin porting ke dart, sebagai coba coba 😊

silahkan, bebas

beberapa ada yang sudah bisa mas, silahkan coba ovoid-flutter

@robintan
Copy link

do you still need help in porting? I can help porting this completely into nodejs / python
and I am also looking to hire someone who understand reverse engineering / intercepting traffic like you. please contact me via whatsapp at +6281282888200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

9 participants