Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var SteamCommunity = require('steamcommunity');
- var ReadLine = require('readline');
- var fs = require('fs');
- var request = require("request");
- var community = new SteamCommunity();
- var cnt = 0;
- var targetUser = "correctanswer"; // account you want to steal the id to
- var targetPass = "series244"; // account's password
- var apiKey = "544DF778DCEE085BD03271941777F35B"; // Steam dev api key here only requires one pBypasses
- var pDelay = 10; // Mess around yourself nigga aint gonna spoonfeed you everything delay is in ms
- var debug = 1; // Ignore dis unless you wanna see count of requests 0 = off 1 = on
- var targetID = "daddystoorm"; // id you're trying to beam cuz ur a megafaggot
- var targetString = "No match";
- var rl = ReadLine.createInterface({
- "input": process.stdin,
- "output": process.stdout
- });
- doLogin(targetUser, targetPass);
- function jetEngine() {
- request("http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=" + apiKey + "&vanityurl=" + targetID, function(error, response, body) {
- if(body.indexOf(targetString) > -1) {
- claim();
- }
- else {
- cnt++;
- if (debug > 0) {
- console.log(cnt);
- }
- }
- });
- }
- function doLogin(accountName, password, authCode, twoFactorCode, captcha) {
- community.login({
- "accountName": accountName,
- "password": password,
- "authCode": authCode,
- "twoFactorCode": twoFactorCode,
- "captcha": captcha
- }, function(err, sessionID, cookies, steamguard) {
- if(err) {
- if(err.message == 'SteamGuard') {
- rl.question("Steam Guard (EMAIL): ", function(code) {
- doLogin(accountName, password, code);
- });
- return;
- }
- if(err.message == 'SteamGuardMobile') {
- rl.question("Steam Guard (MOBILE): ", function(code) {
- doLogin(accountName, password, null, code);
- });
- return;
- }
- if(err.message == 'CAPTCHA') {
- console.log(err.captchaurl);
- rl.question("CAPTCHA: ", function(captchaInput) {
- doLogin(accountName, password, null, captchaInput);
- });
- return;
- }
- console.log(err);
- process.exit();
- return;
- }
- console.log("Started turboing " + targetID + " to account " + accountName);
- setInterval(jetEngine, pDelay);
- });
- }
- function setClaim() {
- community.editProfile({
- "customURL": targetID,
- }, function(err){
- if (err) {
- }
- else {
- }
- });
- }
- var claim = (function() {
- var executed = false;
- return function() {
- if (!executed) {
- executed = true;
- setClaim();
- }
- };
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement