daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Aug 17th, 2018 169 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var request = require('request');
  2. var readline = require('readline-sync')
  3. var fName = readline.question('What is your first name? ')
  4. var lName = readline.question('What is your last name? ')
  5. var username = readline.question('What is your gmail username/gmail? ')
  6. if(username.indexOf('@')>-1)
  7. {
  8.   username = username.substring(0, username.indexOf('@'))
  9. }
  10. var numOfCoupons = readline.question('How many coupons do you want? ')
  11. function accountMaker()
  12. {
  13.   var headers = {
  14.       'Origin': 'https://assets.fbmta.com',
  15.       'Accept-Encoding': 'gzip, deflate, br',
  16.       'Accept-Language': 'en-US,en;q=0.9',
  17.       'Upgrade-Insecure-Requests': '1',
  18.       'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36',
  19.       'Content-Type': 'application/x-www-form-urlencoded',
  20.       'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
  21.       'Cache-Control': 'max-age=0',
  22.       'Referer': 'https://assets.fbmta.com/clt/arbys/lp/join/7/join.html',
  23.       'Connection': 'keep-alive'
  24.     };
  25.  
  26.   var randNum = Math.floor(Math.random()*1000000000000);
  27.   var dataString = `ReturnURL=https%3A%2F%2Fassets.fbmta.com%2Fclt%2Farbys%2Flp%2Fjoin%2F7%2Fthnks.html&SiteGUID=220b8a14-335c-42e0-8b07-1dfe8ec259cd&ListID=27917287443&_InputSource_=W&Birthdate=4%2F9%2F1904&Anniversary=&SuppressConfirmation=false&FirstName=${fName}&LastName=${lName}&EmailAddress=${username}%2B${randNum}%40sunmeet.us&EmailAddress2=${username}%2B${randNum}%40sunmeet.us&Zip=48221&MobilePhone=&StoreCode=1406&DOBM=4&DOBD=9&Over13=True`;
  28.  
  29.   var options = {
  30.       url: 'https://arbys.fbmta.com/members/subscribe.aspx',
  31.       method: 'POST',
  32.       headers: headers,
  33.       body: dataString
  34.   };
  35.  
  36.   function callback(error, response, body) {
  37.       console.log('Check your email (can be in Promotions for gmail.) - Created coupon with email ' + username + '+' + randNum + '@sunmeet.us')
  38.       numOfCoupons--;
  39.       if(numOfCoupons == 0)
  40.       {
  41.         clearInterval(arbysMaker);
  42.       }
  43.   }
  44.  
  45.   request(options, callback);
  46. }
  47. var arbysMaker = setInterval(function(){accountMaker()}, 1000);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top