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

Update generator code and README #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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?

```
# grep com.fortinet /data/system/users/0/settings_ssaid.xml
```

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