Giter Site home page Giter Site logo

masterking32 / twitch-account-creator Goto Github PK

View Code? Open in Web Editor NEW
88.0 8.0 17.0 399 KB

A bot to create Twitch accounts and Follow using NodeJS

License: Apache License 2.0

JavaScript 100.00%
twitch bot fake account creator twitch-account-creator twitch-bots captcha account-generator twitch-follow anticaptcha anti-captcha 2captcha kasada

twitch-account-creator's Introduction

GitHub stars GitHub issues Views

A NodeJS bot to create Twitch accounts and follow other Twitch accounts.

✔️ This project will create new accounts and verify the accounts using the email address. ✔️

❌ Do not abuse this project, this project is made for testing only, and you cannot use it according to Twitch rules. ❌

⭐ If you liked the project, feel free to give it a shining star. ⭐


💵 If you're a fan of our project and want to support us, consider donating crypto. Your support will help us improve and expand, providing even more value to our users. Thank you for your generosity! 💵

TRON (TRX/USDT/...) TLApdY8APWkFHHoxebxGY8JhMeChiETqFH

BNB (BEP2): bnb1vlyu4rllf752n02m4hgvce744ud90mwkn9rvvq


MasterkinG32's Discord Server

🛠️ Requirements:

✅ Get an API key from:

🟢 1) Create an account on this website, Add some funds, and then add Pay-Per-Usage solving API Key to your config file. (Required Balance)

✅ Get some HTTP Proxies:

🟢 2) Create an account and buy some http proxies and put proxies in proxy.txt file. (Required Balance [Proxy Form must be like ip:port:username:password])

💻 Installation

🟣 Setup:

  • Clone the repo and do npm install

🟣 Account creator:

  • Put your YOUR Solver API KEY API key in config.js
  • Put your Proxies in config.js
  • Run the project (node main.js).

🫂 Follow Bot

  • Create some twitch accounts with the main bot. (If you have any tokens you can put your tokens inside the results/tokens.txt)
  • Make sure you have a proxy list and you have already set up the main bot. (Requirements)
  • Run node follow.js.

🔧 Optional

You can get a free or paid proxy list from this website.

Put your proxies in the proxy.txt file.

Examples:

192.168.0.1:8080
192.168.0.2:8085

or

192.168.0.1:8080:user1:pass1
192.168.0.2:8085:user2:pass2

📽️ Tutorial and Test

Youtube Video

Youtube Video


We will store account details in ./results/results.txt.

If you need to verify your email for login or etc.

You can go to 1SecMail.Com, put your account email there, and check the received emails.

Programmers

Author : Amin.MasterkinG | Github

twitch-account-creator's People

Contributors

jacouby avatar lowercasec avatar masterking32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitch-account-creator's Issues

Error with the cookies

  1. Getting Twitch cookies!
    Error: connect ECONNREFUSED 114.231.8.152:8089
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16) {
    errno: -4078,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '114.231.8.152',
    port: 8089,
    config: {
    adapter: [Function: httpAdapter],
    transformRequest: { '0': [Function: transformRequest] },
    transformResponse: { '0': [Function: transformResponse] },
    timeout: null,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    validateStatus: [Function: validateStatus],
    headers: {
    Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8',
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; x64; rv:109.0) Gecko/20100101 Firefox/109.0',
    'Accept-Language': 'en-US,en;q=0.5',
    'Accept-Encoding': 'gzip, deflate, br',
    DNT: 1,
    Connection: 'keep-alive',
    'Upgrade-Insecure-Requests': 1,
    'Sec-Fetch-Dest': 'document',
    'Sec-Fetch-Mode': 'navigate',
    'Sec-Fetch-Site': 'none',
    'Sec-Fetch-User': '?1'
    },
    method: 'get',
    maxFreeSockets: 1,
    maxSockets: 1,
    maxTotalSockets: Infinity,
    sockets: {},
    freeSockets: {},
    requests: {},
    options: {},
    secureProxy: false,
    proxy: {
    protocol: 'http:',
    slashes: true,
    auth: null,
    host: '114.231.8.152',
    port: '8089',
    hostname: '114.231.8.152',
    hash: null,
    search: null,
    query: null,
    href: 'http://114.231.8.152:8089'
    },
    url: 'https://twitch.tv',
    data: undefined
    },
    request: <ref 1> Writable {
    _events: {
    close: undefined,
    error: [Function: handleRequestError],
    prefinish: undefined,
    finish: undefined,
    drain: undefined,
    response: [Function: handleResponse]
    },
    _writableState: WritableState {
    highWaterMark: 16384,
    length: 0,
    corked: 0,
    onwrite: [Function: bound onwrite],
    writelen: 0,
    bufferedIndex: 0,
    pendingcb: 0,
    [Symbol(kState)]: 17580812,
    [Symbol(kBufferedValue)]: null
    },
    _maxListeners: undefined,
    _options: {
    maxRedirects: 21,
    maxBodyLength: 10485760,
    protocol: 'https:',
    hostname: 'twitch.tv',
    port: null,
    path: '/',
    method: 'get',
    headers: [Object],
    agent: [HttpsProxyAgent],
    auth: undefined,
    nativeProtocols: [Object],
    pathname: '/'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _eventsCount: 2,
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
    _events: [Object: null prototype],
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [Array],
    outputSize: 458,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: true,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    strictContentLength: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: null,
    _header: 'GET / HTTP/1.1\r\n' +
    'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,
    /*;q=0.8\r\n' +
    'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; x64; rv:109.0) Gecko/20100101 Firefox/109.0\r\n' +
    'Accept-Language: en-US,en;q=0.5\r\n' +
    'Accept-Encoding: gzip, deflate, br\r\n' +
    'DNT: 1\r\n' +
    'Connection: keep-alive\r\n' +
    'Upgrade-Insecure-Requests: 1\r\n' +
    'Sec-Fetch-Dest: document\r\n' +
    'Sec-Fetch-Mode: navigate\r\n' +
    'Sec-Fetch-Site: none\r\n' +
    'Sec-Fetch-User: ?1\r\n' +
    'Host: twitch.tv\r\n' +
    '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: [HttpsProxyAgent],
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    joinDuplicateHeaders: undefined,
    path: '/',
    _ended: false,
    res: null,
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'twitch.tv',
    protocol: 'https:',
    _redirectable: [Circular *1],
    _hadError: true,
    [Symbol(shapeMode)]: false,
    [Symbol(kCapture)]: false,
    [Symbol(kBytesWritten)]: 0,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype],
    [Symbol(errored)]: null,
    [Symbol(kHighWaterMark)]: 16384,
    [Symbol(kRejectNonStandardBodyWrites)]: false,
    [Symbol(kUniqueHeaders)]: null
    },
    _currentUrl: 'https://twitch.tv/',
    [Symbol(shapeMode)]: true,
    [Symbol(kCapture)]: false
    },
    response: undefined
    }
    Unable to get twitch cookies!

pls help

Oops! We encountered an unexpected error. Please try again.

Hi, getting that error every time. With and without proxy.

Captcha found, registering account ...
Oops! We encountered an unexpected error. Please try again.
Username: turnaboutgrand019
Username: turnaboutgrand019 Password:mpQHexKeYD_MK32 BDay: 1973/10/2
Getting email
Solving captcha
Using 2Captcha.
Request sent to the 2captcha wait a bit, Request ID: 71588334505
Wating to reslove ... (15 - 300 sec)

Thanks in advance.

Cannot read properties of null

traceback
`\twitch-account-creator-main\main.js:163
if (validateVerificationCode.request.status == 'VERIFIED') {
^

TypeError: Cannot read properties of null (reading 'status')
at verifyEmail (C:\Users####\Downloads\twitch-account-creator-main\main.js:163:46)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async StartCreate (C:\Users####\Downloads\twitch-account-creator-main\main.js:79:5)
at async CreateNewAccount (C:\Users####\Downloads\twitch-account-creator-main\main.js:86:5)`

add proxy support

Allow support for proxies to bypass error "You are trying to sign up for accounts too fast.

unable to get kasada

after the proccess of getting twitch cookies,
it says like:
"unable to get kasada unable to get kasada unable to get kasada unable to get kasada unable to get kasada unable to get kasada

WORKING ?

after start i try create account and work and stop before save results i use anti-captcha.

D:\Virtual Machine\NODJE\twitch-account-creator-main\twitch-account-creator-main>node main.js
Username?
lzihdf234
Username: lzihdf234 Password:MJnFQPasfC_MK32 BDay: 1970/7/12
Getting email
Solving captcha
Generating payload
Registering account
Please complete the CAPTCHA correctly.
Username?
asdasds
Username: asdasds Password:CtWzpdLhTx_MK32 BDay: 1980/2/10
Getting email
Solving captcha
Generating payload
Registering account
This username already exists.
Username?
123asdadas22
Username: 123asdadas22 Password:kuFZamWkMf_MK32 BDay: 1974/4/26
Getting email
Solving captcha
Generating payload
Registering account
Please complete the CAPTCHA correctly.
Username?

Getting this error: invalid_task_data

I'm getting this error:

unnamed

----------------------- console text -----------------------------------------------------------------
Unable to get Kasada, Try again ...
Error: Request failed with status code 400
at createError (C:\Users\bf1ot\Desktop\twitch-account-creator-main\node_modules\axios-https-proxy-fix\lib\core\createError.js:16:15)
at settle (C:\Users\bf1ot\Desktop\twitch-account-creator-main\node_modules\axios-https-proxy-fix\lib\core\settle.js:18:12)
at IncomingMessage.handleStreamEnd (C:\Users\bf1ot\Desktop\twitch-account-creator-main\node_modules\axios-https-proxy-fix\lib\adapters\http.js:201:11)
at IncomingMessage.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1408:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
config: {
adapter: [Function: httpAdapter],
transformRequest: { '0': [Function: transformRequest] },
transformResponse: { '0': [Function: transformResponse] },
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'text/json',
'User-Agent': 'axios/0.17.1',
'Content-Length': 347
},
method: 'post',
url: 'https://api.capsolver.com/kasada/invoke',
data: '{"clientKey":"RemovedHereOnlySoNoOneSeesIt","appId":"B278567A-C94E-457E-B419-F1D6A5D1AA6D","task":{"type":"AntiKasadaTask","pageURL":"https://gql.twitch.tv/","proxy":"http://zvwdyvoz:[email protected]:7492","cd":true,"onlyCD":false,"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"}}'
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
finish: [Function: requestOnFinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 347,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'api.capsolver.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'api.capsolver.com',
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
timeout: 5000,
parser: null,
_httpMessage: null,
autoSelectFamilyAttemptedAddresses: [Array],
[Symbol(alpncallback)]: null,
[Symbol(res)]: [TLSWrap],
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: -1,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: Timeout {
_idleTimeout: 5000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 6082,
_onTimeout: [Function: bound ],
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
[Symbol(refed)]: false,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 345,
[Symbol(triggerId)]: 343
},
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: false,
[Symbol(kSetKeepAlive)]: true,
[Symbol(kSetKeepAliveInitialDelay)]: 1,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
_header: 'POST /kasada/invoke HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: text/json\r\n' +
'User-Agent: axios/0.17.1\r\n' +
'Content-Length: 347\r\n' +
'Host: api.capsolver.com\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/kasada/invoke',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: null,
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [Circular *1],
responseUrl: 'https://api.capsolver.com/kasada/invoke',
redirects: [],
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 20,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'api.capsolver.com',
protocol: 'https:',
_redirectable: Writable {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 347,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *1],
_currentUrl: 'https://api.capsolver.com/kasada/invoke',
[Symbol(kCapture)]: false
},
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'content-type': [Array],
'user-agent': [Array],
'content-length': [Array],
host: [Array]
},
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
response: {
status: 400,
statusText: 'Bad Request',
headers: {
date: 'Thu, 05 Oct 2023 11:50:23 GMT',
'content-type': 'application/json; charset=utf-8',
'content-length': '133',
connection: 'keep-alive',
'cf-cache-status': 'DYNAMIC',
'report-to': '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=91IR2lQTzXadqrOM5M7cntQqMaHVsNo2imlrzODEF%2FPAo3dH5DvPqpN3dR2BrIhq%2BX%2BBzXp0AhRO58e0k3g5Wvg%2FTsBT%2Bzig%2FXKYe8JvOZ8bDeEFb5CzeIBf71LxQd6bZNL%2FcGqg765eosMoDX1%2F"}],"group":"cf-nel","max_age":604800}',
nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
server: 'cloudflare',
'cf-ray': '8115725c1ecc56f8-IAD',
'alt-svc': 'h3=":443"; ma=86400'
},
config: {
adapter: [Function: httpAdapter],
transformRequest: [Object],
transformResponse: [Object],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus],
headers: [Object],
method: 'post',
url: 'https://api.capsolver.com/kasada/invoke',
data: '{"clientKey":"RemovedHereOnlySoNoOneSeesIt","appId":"B278567A-C94E-457E-B419-F1D6A5D1AA6D","task":{"type":"AntiKasadaTask","pageURL":"https://gql.twitch.tv/","proxy":"http://zvwdyvoz:[email protected]:7492","cd":true,"onlyCD":false,"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"}}'
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 347,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'POST /kasada/invoke HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: text/json\r\n' +
'User-Agent: axios/0.17.1\r\n' +
'Content-Length: 347\r\n' +
'Host: api.capsolver.com\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/kasada/invoke',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'api.capsolver.com',
protocol: 'https:',
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
data: {
errorCode: 'ERROR_INVALID_TASK_DATA',
errorDescription: 'Not found AntiKasadaTask access. Please contact our support.',
errorId: 1
}
}
}

Unable to get Kasada, Try again ...

Following is shown either immediately, or after a single follower creation.

Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
Unable to get Kasada, Try again ...
(node:6072) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
    at console.value (internal/console/constructor.js:276:13)
    at console.log (internal/console/constructor.js:344:26)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:51:13)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
    at KasdaResolver (/tmp/twitch-account-creator/main.js:52:18)
(node:6072) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an asying a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `-js.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:6072) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are noth a non-zero exit code.

Verification code not working

I have got the script to run, and I confirmed that the accounts are actually being created (I can see their profiles on Twitch).

However, I cannot login to these accounts, as it says the provided email verification code is incorrect.

cant send message

I cannot send messages in any chat. Twitch asks for phone verification. Can something be done about it?

Client-Integrity error

Client-Integrity error
Have failed
{"client_id":"kimne78kx3ncx6brgo4mv6wki5h1ko","client_ip":"X.X.X.X","device_id":"XXXXXXXXX","exp":"2022-10-01T05:28:59Z","iat":"2022-09-30T21:28:59Z","is_bad_bot":"true","iss":"Twitch Client Integrity","nbf":"2022-09-30T21:28:59Z","user_id":"XXXXXXXXXX"}

"is_bad_bot":"true

in the follow.js

Twitch not Responding with access_token

Twitch for some reason is no longer returning the access_token when programmatically doing it, seems to just return:

{
    captcha_proof: '1234',
    redirect_path: 'https://www.twitch.tv',
    userID: '1234',
 }

I am unable to find a way around, when creating account via browser it returns the access_token, so I tried to modify the headers to include similar to browser, and doesn't seem to work. I have to manually enter the email verification code because it's not returning access token.

TypeError: Cannot read properties of undefined (reading 'data')

F:\DEV\Bad Shits\twitch-account-creator>node main.js 
Username: subcontractordeservingoqf
Username: subcontractordeservingoqf Password:jmPxGsfuJl_MK32 BDay: 1998/5/7
Getting email
Solving captcha
Using 2Captcha.
Request sent to the 2captcha wait a bit, Request ID: 71734740979
Wating to reslove ... (15 - 300 sec)
Generating payload
Captcha found, registering account ...
F:\DEV\Bad Shits\twitch-account-creator\main.js:159
        console.log(e.response.data.error);        
                               ^

TypeError: Cannot read properties of undefined (reading 'data')
    at registerAccount (F:\DEV\Bad Shits\twitch-account-creator\main.js:159:32)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async CaptchaAndRegister (F:\DEV\Bad Shits\twitch-account-creator\main.js:185:26)
    at async StartCreate (F:\DEV\Bad Shits\twitch-account-creator\main.js:201:26)
    at async CreateNewAccount (F:\DEV\Bad Shits\twitch-account-creator\main.js:229:5)
    at async GettingUsername (F:\DEV\Bad Shits\twitch-account-creator\main.js:237:9)

F:\DEV\Bad Shits\twitch-account-creator>

Questions about tokens

Hello there !

First of all, good job for the bot.

A have a question :
The results who are in tokens.txt are Oauths right ?

If it's the case, are they usable with some other bots ? Because i'm not able to make them works ...

cant send message

I cannot send messages in any chat. Twitch asks for phone verification. Can something be done about it?

Captchas not being complete

Username?
TestUsername121
Username: TestUsername121 Password:WenEwiHski_MK32 BDay: 1971/6/12
Getting email
Solving captcha
Generating payload
Registering account
Please complete the CAPTCHA correctly.

Thats what happens when I try to run it. I checked Anti-Captcha.com and I was charged for it as well.

Unable to verify account error

Error is showing when trying to verify email:

 6) Getting Kasada code ...
 7) Getting public integrity token ...
 8) Try to verify the account ...
--------------------------------------
(node:6085) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'validateVerificationCode' of undefined
    at StartCreate (/tmp/twitch-account-creator/main.js:393:36)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async CreateNewAccount (/tmp/twitch-account-creator/main.js:421:5)
    at async GettingUsername (/tmp/twitch-account-creator/main.js:429:9)
(node:6085) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6085) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


not creating accounts with choosen names

Hi, if I select to choose usernames i get stucked in the step waiting for the verification mail. See the screenshot below.
With random names everything works fine, so it isn´t a capcha or proxy problem I think.

image

An option

Could you add an option to fill the captchas urself?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.