Giter VIP home page Giter VIP logo

randomgamingdev / ezcopenheimer Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 3.0 24 KB

A basic and easier to use version of the Copenheimer bot created by the 5th Column from 2B2T that you can easily and simply execute using python made for educational purposes. Especially since you don't have to deal with anything like build systems, compilation, and the exact same thing on repeat for dependencies.

License: MIT License

Python 100.00%
copenheimer fun ip minecraft networking pypy pypy3 python python3 search simple small education educational

ezcopenheimer's Introduction

EzCopenheimer

A basic and easier to use version of the Copenheimer bot created by the 5th Column from 2B2T that you can easily and simply execute using python made for educational purposes. Especially since you don't have to deal with anything like build systems, compilation, and the exact same thing on repeat for dependencies.

I've created a video on it which you can check out here: https://youtu.be/oOV52vOx6W0

This version of Copenheimer also doesn't require massscan, zmap, or nmap which are prerequisites for many of the other Copenheimer clones!

Simply install the libraries in requirements.txt (btw I'm not sure what python versions are supported, but it should work with all versions following 3.7 at the least) and enter the IP ranges you'd like to search for Minecraft servers on in the ipRanges array. One thread will be spawned for each range and each thread will spawn an async process for each ip address scanned through, which well then be collected at the end

The default port and default timeout can also be changed inside of the Copenheimer.py file.

Remember to use multiple arrays inside of the main ipIters list as so not to use more network buffers than what you have. Also, enter multiple ipRanges into each ipIter aka each smaller list inside of ipIters as 1 thread will be allocated to each ipRange. In this way you can easily choosing how many resources are allocated to the bot, from how many network buffers to how many threads.

ipIters = [
               [
                    #Enter the IP ranges here like this: [[127, 0, 0, 1], [127, 0, 0, 1]],
		                #A thread will scan each
               ],
               [ # Since computer network buffers are limited, there are different ipIters which are looped over synchronously in order, thus this is the same as the previous one, it just runs afterwards
               ]
          ]

(Don't scan too many ip ranges or ip ranges that r too large in one iteration or the program will take up all of your networking buffers and it'll miss a ton of stuff and u won't be able to use the internet while the program's running)

ezcopenheimer's People

Contributors

randomgamingdev avatar

Stargazers

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

Watchers

 avatar

ezcopenheimer's Issues

bad

make a better scanner this one kinda sucks nlg it doesent even have a rescanner or a db and its veeeeery slow use masscan or (atleast) non-blocking sockets

slow

use masscan its wayyyyy faster

oh and ditch mcstatus

add an exclude list

there are some ips that "doesent really like" you scanning them and can get mad and you can get in legal trouble if you scan them, therefore i'd recomend adding an exclude list like the one from masscan

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.