Giter Club home page Giter Club logo

pewpew's Issues

favicon 404 error

added in <link rel="icon" href="data:;base64,="> to head to solve the error. I found it on a Stack answer. I'll leave it to the author to add in an official favicon or add in this line.

Feature request: Destination Location

As a user of this tool, I would like to be able to specify my organization's location (by country code or LATLONG) as the destination of the attacks and be able to only visualize simulated attacks targetting my organization's location. This capability will enable me to use this tool in incident response drills and what-if scenarios, wherein we are simulating an attack in-progress.

World Map

Hello

very good map and working file here
image

How to change it to world map or country specific map? is it fake map? or it is getting data from some source?

heroku deploy button

when i try to deploy this app on heroku with 'deploy on heroku' button i take this error on heroku:
-----> Fetching set buildpack https://github.com/pearkes/heroku-buildpack-static... done
-----> Static app detected
-----> Bundling Apache v2.2.19
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
! Push rejected, failed to compile Static app

License file?

Hey, could you add a license file? I'd like to be able to use this code

China mode breaks

Probably you are aware, but just in case... china_mode breaks after a while because slatlong and cnlatlong have different lengths.

Thank you for your work!

Looks like the CSV doesn't get loaded in time (sometimes)

Getting a bunch of unreferenced slatlong errors (specifically on chrome), seemingly at random. looks sort of like an async issue?

adding d3-queue.v3.min.js and tossing all the good bits into a deferred queue seems to fix this

      d3.queue()
        .defer(d3.csv, "assets/csv/samplatlong.csv")
        .defer(d3.tsv, "assets/csv/country_centroids_primary.csv")
        .await(analyze);
      function analyze(error, slatlong, centers) {
        if(error) { console.log(error); }

        else {
           console.log("COORDINATES RECEIVED");
          var attacks = {
            interval: getRandomInt(attack_min, attack_max),
            init: function(){
              setTimeout(
                  jQuery.proxy(this.getData, this),
                  this.interval
              );
            },
          getData: function() {
    . . . . etcetc 
     attacks.init();
     } 

JS Heap Balloons Rapidly When Tab Is Hidden

If you load the map and then tab away, the JS heap will balloon rapidly as it attempts to queue draws.

Upon loading, the page was using approximately 8MB, but after 5 minutes it was over 130MB. After a short time this will cause the tab to OOM and crash.

I discovered this issue while trying to track down a memory leak in my websockets port meant for live data (discovered in en0io/pewpew-ws@991d42b).

real csv file

like your project and would like to ask for something if possible , rather than using random ip , can you make it reads a csv file that contain source attacker , target ip and source country and target country?

would be amazing if it's possible

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.