Skip to content

Instantly share code, notes, and snippets.

View Durek's full-sized avatar
💭
was das man

Durek

💭
was das man
View GitHub Profile
@Durek
Durek / steam-mailin.js
Last active September 27, 2020 13:55
Autmagically activate steam accounts
const mailin = require('mailin');
const request = require('request');
require('log-timestamp')(function() { return '[' + new Date(Date.now() - (new Date()).getTimezoneOffset() * 60000).toISOString().replace(/T/, ' ').replace(/\..+/, '') + '] %s'; });
const afterLink = ['Steam requires a verified email address so you can take full advantage of Steam', 'Steam setzt eine verifizierte E-Mail-Adresse voraus, um von allen'];
const linkStart = 'https://store.steampowered.com/account/newaccountverification?stoken=';
mailin.start({
port: 25,
disableWebhook: true,