Jump to content

[Guide] Retrieving identity_secret and shared_secret the hard way [linux/Mac]


SHDW thealexander152

Recommended Posts

After valve changed the steam apps finding your shared_secret got to be a giant pain, especially for us Mac scrubs. This guide walks through using node-steamcommunity and node-steam-totp to generate mobile codes and retrieve identity/shared secret. Node-steam-totp is basically the desktop authenticator in node.js, and is much more lightweight.

 

If you're on an android device you can use fiddler to find the identity secret, however this pretty much also requires you to be on Windows because using mono is not fun.

 

******

Doing this will result in a 7 day trade ban and you will not be able to receive codes from your phone, you will generate them using node-steam-totp.

Basically, only do this on an alt.

******

 

Make sure you disable 2fa before you start, but keep your phone connected with your steam account

 

1)

Install NodeJS and npm https://nodejs.org/en/download/

 

2)

Use terminal if you're on Mac

In your preferred directory, clone https://github.com/DoctorMcKay/node-steamcommunity

This can be done using git clone https://github.com/DoctorMcKay/node-steamcommunity or by downloading the zip

 

3)

While in your node-steamcommuntity directory, run

npm install

You may need to use sudo to do this

 

4)

Goto the examples, and run enable_twofactor.js using

"node enable_twofactor.js"

If you get the missing modules message, delete the node_modules folder and retry npm install

 

5)

If everything goes well you will get a revocation code. WRITE THIS DOWN/SCREENSHOT

 

6)

identity/shared secret will be saved under twofactor_yoursteamid.json

Save these somewhere

 

7)

To generate login codes for normal logins, make a .js file that has something like

 

var SteamTotp = require('steam-totp');

var code = SteamTotp.generateAuthCode('replacewithyoursharedsecret');

console.log(code);

 

8)

After making the .js file, run

npm install steam-totp

 

9) run your .js file by using

node yourfilename.js

Hopefully, you should receive a login code

 

This is very useful for accounts you don't need to login to very often. You can then use identity_secret for bp.tf automatic/ other things.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...