Jump to content
McKay Development

Ben

Member
  • Posts

    27
  • Joined

  • Last visited

Recent Profile Visitors

671 profile views

Ben's Achievements

  1. Thanks, good that i rooted my phone 2 year ago ;D
  2. Hi, i am interested in your work and i am wondering how you reverse engineered the mobile login for steam. Did you used a network interception tool like burp or just looked at the source code? I am trying to reverse engineer another mobile app and I dont know if I set up my proxy interceptor right because i dont see any requests. And the source code isnt helper either. Are there some tricks you could share with me?
  3. [2021-03-07 14:33:44] Bot #2: Error: HTTP error 500 at SteamCommunity._checkHttpError (/root/Bot_4.0/node_modules/steamcommunity/components/http.js:108:9) at Request._callback (/root/Bot_4.0/node_modules/steamcommunity/components/http.js:50:61) at Request.self.callback (/root/Bot_4.0/node_modules/request/request.js:185:22) at Request.emit (node:events:378:20) at Request.<anonymous> (/root/Bot_4.0/node_modules/request/request.js:1154:10) at Request.emit (node:events:378:20) at IncomingMessage.<anonymous> (/root/Bot_4.0/node_modules/request/request.js:1076:12) at Object.onceWrapper (node:events:484:28) at IncomingMessage.emit (node:events:390:22) at endReadableNT (node:internal/streams/readable:1307:12) at processTicksAndRejections (node:internal/process/task_queues:81:21) { code: 500 } I get this Error sometimes when i try to log in. Is that normal and will the module retry automaticly?
  4. Hi my bot is at a pretty stable state where i can leave it running over night. But sometimes i see "Steam Guard App Code: ". Everything works fine but i am still curiouse to know why and when the happens.
  5. Hi i got this error: throw new Error("Cannot log onto steamcommunity.com without first being connected to Steam network"); it caused my bot to crash. But i didnt came on startup it came after the bot was already running for multiple minutes, so it was already logged in. Maybe it tried to log in again since the session was expired or some thing like that. I hope you can help me
  6. Hi i need all cookies after i logged into steam for a third party login. But i am missing the steamRememberLogin Cookie. Is there a way to generate it since the first part is the steam id. Maybe the second part is something i can get too? Or are there condisions for it to be generated by steam? I hope you can help me thanks
  7. Hi so I know I probybly annoy you with this loggin questions but do you know anythink about this login request: and espacially about the parameters it contains? I really hope you can help me since this is probably the last and biggest challenge i have got left
  8. But the error must be there. I recreated the Browser requests using Postman and let everything the same exept of the password. This i encryted again with the new rsa key and than pasted this together with the new timestamp in the body of the dologin request. I know i am probably annoying you but i have been working on this for so long. Once it worked a little bit. I just used your code and added in the cookies that i had to sent with the rsa- and loginrequests. But i only got the steamLoginSecure and steamMachineAuth but not the steamRememberLogin Cookie. And i had another Question i never tried it but can you just use the cookies u got from the steam Login for the 3rd party login? Since they are also for every steamsite the same
  9. Is there anythink special about the rsa key request? specially with the dates? I still get the invalid password or username error. But the encrypted password looks fine. I was wondering if the rsa key was correct and tryed to play around with the donotcache dates. (UTC or my local time etc.) But sadly still no luck
  10. I want the Cookies for a third party site login method but i just realised that i probably cant use the same.
  11. Hi so finally found what i was looking for. I just need the Cookies you get from oAuthLogin() but for that i need steamguard and the oAuthToken but those i get from the login methode. But i dont login via Community. I log in via node steam user and than do the setCookies(). Is there a way to do it the other way? Login via Community and set Cookies in User? Or is there an other way to get the Cookies?
  12. It worked for a while but now i get the invalid pw error again. Am i doing something wrong? function get_rsa_key(){ return new Promise((resolve,reject)=>{ fetch("https://steamcommunity.com/login/getrsakey/", { "headers": { "accept": "*/*", "accept-language": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7", "content-type": "application/x-www-form-urlencoded; charset=UTF-8", "sec-fetch-dest": "empty", "sec-fetch-mode": "cors", "sec-fetch-site": "same-origin", "x-requested-with": "XMLHttpRequest", "cookie": sessionid+"; "+steamCountry+"; "+sessionidSecureOpenIDNonce }, "referrer": "https://steamcommunity.com/openid/login?openid.ns=......., "referrerPolicy": "strict-origin-when-cross-origin", "body": "donotcache="+Date.now()+"&username=****", "method": "POST", "mode": "cors" }) .then(res => res.json()) .then(json => { var key = new RSA(); key.setPublic(json.publickey_mod, json.publickey_exp); pw= hex2b64(key.encrypt("*********")) resolve(pw) }) }) } function do_login(encryptedPassword,steamguard_code){ return new Promise((resolve,reject)=>{ var code = steamguard_code || "" fetch("https://steamcommunity.com/login/dologin/", { "headers": { "accept": "*/*", "accept-language": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7", "content-type": "application/x-www-form-urlencoded; charset=UTF-8", "sec-fetch-dest": "empty", "sec-fetch-mode": "cors", "sec-fetch-site": "same-origin", "x-requested-with": "XMLHttpRequest", "cookie": sessionid+"; "+steamCountry+"; "+sessionidSecureOpenIDNonce+"; timezoneOffset=3600,0" }, "referrer": "https://steamcommunity.com/openid/login?openid.ns=.........", "referrerPolicy": "strict-origin-when-cross-origin", "body": "donotcache="+Date.now()+"&password="+encryptedPassword+"&username=****&twofactorcode="+code+"&emailauth=&loginfriendlyname=&captchagid=-1&captcha_text=&emailsteamid=&rsatimestamp="+timestamp+"&remember_login=false", "method": "POST", "mode": "cors" }) .then(res => res.json()) .then(json => { timestamp=json.timestamp console.log(json) //steamLoginSecure = json.headers['set-cookie'][0].slice(0,json.headers['set-cookie'][0].indexOf(";")) //console.log("Do login : "+JSON.stringify(json)) resolve() }) .catch(error=>{ console.log(error) reject(error) }) }) }
  13. I guess it dosnt work that well xD. In the brwoser steam does these transver requests and i also found them in the java script i got from steam but i cant understand the functions. Can someone help me maybe you see somethink i didnt get. these are the requests from the browser and here are the methodes CLoginPromptManager.TransferLogin = function( rgURLs, parameters, fnOnComplete ) { var bOnCompleteFired = false; var fnFireOnComplete = function( bSuccess ) { if ( !bOnCompleteFired ) fnOnComplete( bSuccess ); bOnCompleteFired = true; } var cResponsesExpected = rgURLs.length; $J(window).on( 'message', function() { if ( --cResponsesExpected == 0 ) fnFireOnComplete( true ); }); for ( var i = 0 ; i < rgURLs.length; i++ ) { var $IFrame = $J('<iframe>', {id: 'transfer_iframe' } ).hide(); $J(document.body).append( $IFrame ); var doc = $IFrame[0].contentWindow.document; doc.open(); doc.write( '<form method="POST" action="' + rgURLs[i] + '" name="transfer_form">' ); for ( var param in parameters ) { doc.write( '<input type="hidden" name="' + param + '" value="' + V_EscapeHTML( parameters[param] ) + '">' ); } doc.write( '</form>' ); doc.write( '<script>window.onload = function(){ document.forms["transfer_form"].submit(); }</script>' ); doc.close(); } // after 10 seconds, give up on waiting for transfer window.setTimeout( function() { fnFireOnComplete( false ); }, 10000 ); }; CLoginPromptManager.prototype.OnTransferComplete = function() { if ( !this.m_bLoginTransferInProgress ) return; this.m_bLoginTransferInProgress = false; if ( !this.m_bInEmailAuthProcess && !this.m_bInTwoFactorAuthProcess ) this.LoginComplete(); else if ( this.m_bEmailAuthSuccessfulWantToLeave || this.m_bTwoFactorAuthSuccessfulWantToLeave) this.LoginComplete(); };
×
×
  • Create New...