Coder Social home page Coder Social logo

simplespoofninja's Introduction

[Jan 25th 2020] R.I.P

Discord’s update included blinding userBots/selfBots; they stopped them from executing certain functions/calls such as fetchAllMembers, .fetchMembers(), .fetchMember(), .on(“guildMemberAdd”) (onJoin detection), etc et

SimpleSpoofNinja

A Simple Anti-Spoofing Discord bot for PokemonGo

EXAMPLE:
Alerts are triggered (with image) when

  • someone joins your server while in a spoofing server, or
  • someone joins a spoofing server while being in your server.

-I am NO a ["javascript","discord.js","node.js"] expert so I bet there are people out there that can make something better.
See it in action at my Discord server: https://discord.gg/fJvqFGP

MORE EXAMPLES IN THE WIKI TAB

Or simply click here: https://github.com/JennerPalacios/SimpleSpoofNinja/wiki


REQUIREMENTS:

  1. Node.js (https://nodejs.org/en/download/ ver 8.4+)

  2. Discord.js (npm install discord.js « should be ver 11.2+)

  3. File-System (npm install fs)

  4. SQLite (npm install sqlite)

  5. Request (npm install request)

  6. A Discord dummy account

  7. A dedicated Discord channel in your server (IE: #modlog/#mod-log/#spoofers/#noobs)

  8. A Discord webhook url, for the channel above

  9. User permisions to read messages, for the dummy account, to the channel above.

  10. Moderator Bot Token, don't have one, create one: https://discordapp.com/developers/applications/me

  11. And assign bot access to your server with Moderation rights (kick, ban at least): https://finitereality.github.io/permissions/?v=0


SETTING IT UP:

  1. MAKE SURE YOU MEET THE REQUIREMENTS ABOVE

  2. Change IP-address (using proxy or vpn) in order to:

    1. Log into your dummy account, and set your status/visibility to: INVISIBLE
    2. Join all the spoofing servers using the invite codes in servers.json
      • most spoofing servers will have your IP banned already, they don't like mappers, but they like to scrape mapper's data - and if you try to join their server you will be wasting the new dummy account and will need another
      • if any of the code say "INVITE EXPIRED" you might be banned already - your proxy or ipaddress didnt work
      • EDITED PRIVATE MESSAGE ME HERE OR DISCORD FOR INVITE CODES, IT APPEARS SPOOFINGSERVER-OWNERS ARE DELETING THE INVITE CODES AND KICK/BANNING PEOPLE USING THEM.
    3. GET the Dummy Account's Token, which will be required for the script to run (check users onJoin and commands)
      • This is not a UserBot nor DiscordApp; this is an actual discord [dummy/alternate] account - specifically created and used by this script; DiscordApps, even when UserBot (aka App Bot User) is enabled it DOES NOT work, as they have to independently invited by the admins at each spoofing server - in other words: impossible to use.
      • HOW TO GET TOKEN?:
      • Using your browser or discord, while logged into the dummy account, do the shortcut key combination: [CTRL]+[SHIFT]+[I] - this should open Developer's Console Application and follow screenshot below in order to get the Token:
  3. Logout of the dummy account

  4. Go back to your regular connection or IP-address

  5. Modify config.json

  6. LAUNCH THE SCRIPT

    1. Using command prompt or bash: node spoofninja.js
      • The dummy account will not get banned as long as you DO NOT log into it using Discord app or browser
      • If you close that window, the bot connection will be terminated
      • Optional: you can install PM2 in order to have it running in the background (instructions below)

COMMANDS

  1. !check <@mention/member_id> - use a @mention or member_id, ie:

    • !check @JennerPalacios
    • !check 237597448032354304
  2. !check server - to check entire server!

    • all registered users; active, invisible, etc
  3. !check wlRoles - to check roles being WhiteListed!

    • the bot will ignore people with these roles
  4. !check wlMembers - to check members being WhiteListed!

    • the bot will ignore people in this list
  5. !addMember/!delMember <@mention/member_id> - to add/delete member to WhiteList

    • modify your member's whitelist
  6. !addRole/!delRole <roleName> - to check entire server!

    • modify your role's whitelist
  7. !onSpoofer <action> - to toggle actions once spoofer is found!

    • available options: nothing, warning, kick, ban, instaKick, instaBan
  8. !bug - to report a bug or issue... ie:

    • !bug not reading my messages
  9. !feedback - to offer feedback, comments, concerns, etc... ie:

    • feedback not bad you noOb, but you can do better
  10. !help - to get the list of available commands


PM2:

PM2 allows you to run scripts in the background, you can access PM2 from anywhere (any folder, using cmd prompt),
but for the first launch, the command needs to be run from the folder where the files are located.

To install PM2:

npm install pm2 -g

To start the bot, using command prompt

pm2 start spoofninja.js

To watch it in action (logs)

pm2 log

-If you would like to modify the file and keep it up-to-date while it's running - instead of stopping the bot, and restarting it again...
» you can start/restart a process/script using "--watch"

pm2 start spoofninja.js --watch

Other Commands:

pm2 list (display a list of running processes)

pm2 stop <NAME/ID> (stops the process)

pm2 kill (stops pm2)

simplespoofninja's People

Contributors

jennerpalacios avatar

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.