Skip to content

Conversation

@AndreySV
Copy link

tested with Android 7 and FTM 5.0.3.0040

#!/bin/env python3
#
# This code is based on article
# https://huggable.tech/blog/extracting-fortitoken-mobile-totp-secret
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this article does not exist (anymore?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yesterday it was in google cache and now it's gone.
Here is the link to web.archive.org:
https://web.archive.org/web/20221022175145/https://huggable.tech/blog/extracting-fortitoken-mobile-totp-secret

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I place link to web.archive.org instead then?

Output should look like this:
```xml
<setting id="32" name="10309" value="12dddfc4a3b45678" package="com.fortinet.android.ftm" defaultValue="12dddfc4a3b45678" defaultSysSet="false" tag="null" />
<setting id="32" name="10309" value="eefd7d4837294e94" package="com.fortinet.android.ftm" defaultValue="eefd7d4837294e94" defaultSysSet="false" tag="null" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was a bogus value, i hope you didn't replace it (and the other two) with your actual ones

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are fake values from the article.

Ildar Abdullin and others added 2 commits December 20, 2022 01:12
@hassanbenhzaine
Copy link

hassanbenhzaine commented Jul 1, 2024

I just tested @ptrcnull generator and it didn't work for me but when I tried @AndreySV generator it worked :)

Here is the error in @ptrcnull code:
image

@hassanbenhzaine
Copy link

Thank you @ptrcnull and @AndreySV for both of your generator, amazing work :)

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

Successfully merging this pull request may close these issues.

3 participants