-
Notifications
You must be signed in to change notification settings - Fork 622
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
[Request] [Tutorial] Import maFile from iDevices #350
Comments
Hopefully I helped some of us iDevice users. If anyone could implement this into SDA that'd be wonderful. Unfortunately I only know Java, and even then I'm just a beginner student otherwise I'd love to develop a tool that automatically creates the .maFile after connecting your jailbroke iDevice. Of course, if it's even possible with Java :p ignore below, hoping this helps with people finding this tutorial |
Thank you man!!! U're the best! |
On my iPad 4 folder starts with 9F23EB8D. |
Hey, I'm trying to put a file back into steam mobile. Do you have a template of what it looks like in the original form? Thanks |
Guess I didn’t realize at the time I posted this that the folder name may change. Now a days I think tools/apps will show the app name as the folder name so you can know what’s what. —— Unfortunately I don’t, I haven’t touched anything ever since I made this post, and I no longer have a jailbroken device. You weren’t supposed to move the file out, just view its contents. Have you tried re-installing the app? Also I was looking over my post and there is a photo of what the plist file looked like I believe, as well as a template for the mafile |
What I mean is that I have an maFile created outside of Steam mobile, that I want to insert back in. Also, the template is incomplete (there is a |
Hi! |
@Arslan30 I have a code stub that converts json based maFiles to the ios format. I'll send it over tomorrow and try to help with installing the files. |
https://gist.github.com/melvyn2/aaf514254f87d7f44b8140537cce6c87 is a python script that will convert your maFiles to the iOS format. You'll need to have a working python3 installation, with pip. The script requires bpylist, which you can install by running |
@melvyn2 can you confirm that i have to install Microsoft VS build tools ~5GB to install bpylist? |
You shouldn't have to, the package is pure python. Try installing bpylist2 instead? |
C:\Program Files\Python37\Lib\site-packages\bpylist2-3.0.2.dist-info this is path for my bpylist2 script...i copied file here and Ran the command...command didn't gave any error but there's no output file as u specified |
hmm. When you ran the command, it didn't print anything to the cmd window? |
I've updated the script with some debug prints. Download it again, and tell me how it goes. |
|
yeah exactly i uninstalled and installed the script but same result...I even tried it without copying mafile in directory and it still runs the same way it was running before |
Can you try running it with no arguments at all? |
I meant the command arguments; the things after |
Yeah, try running it with |
Ohhhh, that probably explains all the problems. You should create a folder on your desktop, or in downloads, and put the maFile and |
but i don't have a convert.py file in any location? can you give me a raw code so i can save one? |
https://gist.github.com/melvyn2/aaf514254f87d7f44b8140537cce6c87 is the link to |
OK.I have a folder named ma in D drive and inside are my mafile and convert.py....I opened an elevated CMD and cd there and ran the command |
can you send a screenshot of the console output and folder? |
nvm i don't know why but i got my required file by doing python instead of python3....sorry to waste so much of your time....i have python 3.7 and python3 should have worked but i don't know much about python |
No problem! |
Closing because there's no need for this to be open as it's not an issue. |
As of the Steam Mobile App update on Oct 13 2022, this method doesn't work anymore. The authentication system got a rework. |
Same problem, I had to recreate my mobile authenticator and I haven't been able to extract the needed keys yet either. |
A workaround is to use AppStore++ to downgrade the app to v2.0.20 (last update before 3.0, aka the rework). The app still works fine, for now at least. |
Really old issue report but I wanted to note that I was able to convert the SteamGuard file I pulled (using an old Steam android app) to a layout that SDA expects for import using the maFile template. The only thing not really defined was the device_id. I just put android:X on that spot and SDA took it just fine. |
|
Requirements
.../Documents/Steamguard/
.Important locations & files
/var/mobile/Containers/Data/Application/F7CE8###-####-####-####-############/
is the Steam app folder.com.apple.blablabla.plist
which has our device_id.../Documents/Steamguard
contains the file(s) we need to create the .maFileTutorial
Gathering required files and information
#
, it's there for my privacy in case folders are unique..../Documents/Steamguard
. Do not rename them or anything to be safe. We will use this to create our .maFile manually as SDA currently does not support iDevice imports.Root
to expand the menu and tap thei
in theMCMMetadataUUID
variable. Copy the value and send it to yourself. OR you can download that file as well and I'm sure using Notepad++ you can still retrieve the UUID.Creating our .maFile to import
<string>shared_secret</string>
. From here I recommend labeling each variable and it's value. Do not save the file should you choose to modify the file. Click here to see an example on how I labeled my file. I highly doubt these 24 lines will change it's order. Keep in mind, the first 12 lines, as shown in the picture, represent the variables, followed by the next 12 lines whose values are assigned to the variables above._STEAMID_.maFile
, make sure to scroll up and select All files as the file type, and preferably through Notepad++ and not windows explorer/notepad. Save the file within the folder maFiles, if it's not there, make it.REPLACEME
text.REPLACEME
IS WITHIN QUOTATIONS, MAKE SURE TO KEEP THE QUOTES!Importing our .maFile
REPLACEME
occurrences within your newly created .maFile (located within.../SteamDeskAuth/maFiles
)/SDA/maFiles
if you followed my instructions.Encryption - Optional
Final Remarks
Well, we're done! You should have and hopefully successfully the steam guard auth code from your iDevice to SDA. Make sure you double check to see if the code displayed on your iDevice corresponds with the code within the SDA application. I'm not sure if
device_id
matters when creating .maFile, but when using SDA to setup a new account, it generates a new and random value. For instance, when setting up the same steam account, twice, it'sdevice_id
value was assignedandroid:###blablabla###
..maFile Template
{"shared_secret":"REPLACEME","serial_number":"REPLACEME","revocation_code":"REPLACEME","uri":"REPLACEME","server_time":REPLACEME,"account_name":"REPLACEME","token_gid":"REPLACEME","identity_secret":"REPLACEME","secret_1":"REPLACEME","status":1,"device_id":"iphone:REPLACEME","fully_enrolled":true,"Session":{"SessionID":"","SteamLogin":"","SteamLoginSecure":"","WebCookie":"","OAuthToken":"","SteamID":REPLACEME}}
CTRL+A
REPLACEME
respectively.manifest.json Template - Not needed
{"encrypted":false,"first_run":false,"entries":[{"encryption_iv":null,"encryption_salt":null,"filename":"REPLACEME.maFile","steamid":REPLACEME},{"encryption_iv":null,"encryption_salt":null,"filename":"REPLACEME.maFile","steamid":REPLACEME}],"periodic_checking":false,"periodic_checking_interval":5,"periodic_checking_checkall":false,"auto_confirm_market_transactions":false,"auto_confirm_trades":false}
manifest.json
.{"encryption_iv":null,"encryption_salt":null,"filename":"REPLACEME.maFile","steamid":REPLACEME}
The text was updated successfully, but these errors were encountered: