Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var randomstring = require("randomstring");
- var request = require("request");
- var colors = require('colors');
- var fs = require('fs');
- setInterval(function(){
- with open('Words.txt') as f:
- Words = [line.rstrip() for line in f]
- options = { method: 'GET',
- url: 'http://nitestats.com/byte-username-checker/?usernames=' + code + "&json=true",
- };
- request(options, function (error, response, body) {
- if (error) throw new Error(error);
- var splitcode = code.match(/.{1,5}/g)
- if(body.includes("Invalid")){
- console.log(splitcode.join("-") + " - Invalid".red)
- }
- else{
- options = { method: 'GET',
- url: 'http://nitestats.com/byte-username-checker/?usernames=' + code + "&json=true",
- };
- request(options, function (error, response, body) {
- if (error) throw new Error(error);
- if(body.includes("Invalid")){
- console.log("False username!")
- }
- else{
- fs.writeFile(splitcode.join("-") + ".txt", body, function(err) {
- if(err) {
- return console.log(err);
- }
- })
- console.log(splitcode.join("-") + " VALID Username!".green)}
- })
- }
- })
- }, 100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement