Answer the question
In order to leave comments, you need to log in
Authorization in Steam
Good afternoon. Recently there was an idea to write a small program that will buy things on the Steam site. I did the main task (search for the right lots, sorting by price, etc.). It came to automatic buying. Everything turned out to be not so simple. Initially, for automatic purchase, I used a java script found on the Internet and a chrome extension - tampermonkey, which launched the script after clicking on the link with the lot in the market.
How it all works in general terms:
1. The program finds the desired lot.
2. The program launches Google Chrome and opens a link to the lot. After the link to the lot, the price of the species is indicated: "#14", which means $14.
3. The script reads the price and buys the item.
Everything works well, but I wanted more automation, without the involvement of chrome and extensions.
So, I settled on rsa encryption. Here, at this link , a certain gear has already considered a similar issue. There is js that Steam used to encrypt the password before. I figured it out, I guess.
Previously, the function was called like this:
var pubKey = RSA.getPublicKey( PKEY_MOD, PKEY_EXP );
var encryptedPassword = RSA.encrypt( PWD, pubKey );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question