Jump to content
McKay Development

mqwerty

Member
  • Posts

    9
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mqwerty's Achievements

  1. Hi, everyone. Maybe someone has seen this error and knows what it means? https://steamerrors.com/37
  2. Hi all, I want to get all items from PointsShop such as avatars/frames/backgrounds. As I understand steam uses ILoyaltyRewardsService/BatchedQueryRewardItems/v1 to load the data. But the data is protobuff encoded, maybe someone knows a scheme or another way how I can parse items from PointsShop?
  3. You won't be able to change cookies that way. If you are using manifestV3 investigate the information about declarativeNetRequest.
  4. Yes, it was clearly a mistake. But after removing it, the result is still the same, I still see the error.
  5. Hello again! I still can't find the problem for myself. I decided to reproduce your encryption method from steam-session but I still see in heders import {hex2b64, Key as RSAKey} from 'node-bignumber'; getRSAKey = async (username) => { const result = await fetch(`https://api.steampowered.com/IAuthenticationService/GetPasswordRSAPublicKey/v1/?account_name=${username}/`, { method: 'GET', }) const {response} = await result.json(); return response; } encryptPassword = (password, rsaInfo) => { let key = new RSAKey(); key.setPublic(rsaInfo.publickey_mod, rsaInfo.publickey_exp); return hex2b64(key.encrypt(password)); } startSessionWithCredentials = async (username, password) => { const rsaKey = await getRSAKey(username); const encryptedPassword = encryptPassword(password, rsaKey) const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36'; const result = await fetch(`https://api.steampowered.com/IAuthenticationService/BeginAuthSessionViaCredentials/v1/`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'user-agent': userAgent, 'origin': 'https://steamcommunity.com', 'referer': 'https://steamcommunity.com' }, body: JSON.stringify({ account_name: username, encrypted_password: encryptedPassword, encryption_timestamp: rsaKey.timestamp, website_id: 'Community', device_friendly_name: userAgent, platform_type: 2 }) }); console.log(await result.json()) } The login and password I enter are exactly valid. The login passes through steam-session. I don't understand what is wrong with my code?
  6. It's strange because sometimes it was successful, I think I should check the password encryption process. Thank you!
  7. x-eresult:5
  8. I moved all the data into the body of the query. But now I see an empty response.
  9. Good afternoon. I am trying to make authorisation in steam from browser. I've encountered the following problem. Steam for some reason responds strangely to my request . While sometimes I get correct data with client_id, request_id, etc. My request looks like this Maybe I don't know some nuances of this api?
×
×
  • Create New...