GithubHelp home page GithubHelp logo

slenkydev / stoprussia.net.ua Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 13.0 383 KB

Based on https://stop-russian-desinformation.near.page

License: The Unlicense

HTML 48.89% SCSS 25.79% JavaScript 25.31%
attack ddos dos russia ukraine war

stoprussia.net.ua's People

Contributors

fabri86 avatar slenkydev avatar stuchl4n3k avatar timespace42 avatar xhyrom 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

Watchers

 avatar  avatar

stoprussia.net.ua's Issues

Rate limit the amount of requests after fail

While spawning a few new requests every so ofther is rather lightweight, spawning loads of them, in a constant loop makes this a rather heavy task.

Spawning loads of requests all the time also increases the chances of your access getting rate limited by your ISP, because it is surely flagged as suspicious.

I'd like to suggest that there is a simple system implemented which adds a delay between spawning new requests after X amount of requests fail in a row for a given site.


Ergo.:

  • we have 2 sites: site1 and site2
  • rate limit threshold (X) is set to, let's say 15 requests
  • rate limit timeout (Y) is set to 5 seconds
  • we spawn 50 requests, 25 vs site1, 25 vs site2
  • requests for site2 success and we keep spawning new ones
  • first 10 requests for site2 fail, but the 11th succeeds, we continue spawning new ones
  • then requests for site2 start failing, we reach X (15) consecutive fails
    • we mark site2 as rate limited
    • cancel all current requests for site2
  • from now on, only one request every Y (5) seconds is made, and until one succeeds site2 remains marked as rate limited

This would increase the load a single client can put on other, still reachable sites, and remove the unnecessary load it's using for unreachable sites.

Satisfy new requests from other pseudo-information websites to join the global shut down

Good morning,
not enough privileges for me to push and open a PR.

Would you mind to consider new join requests?

Presentational:

"https://yandex.ru/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" }, "https://sputniknews.com/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" }, "https://inosmi.ru/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" }, "https://gazeta.ru/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" }, "https://kommersant.ru/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" }, "https://rubaltic.ru/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" }, "https://ura.news/": { number_of_requests: 0, number_of_errored_responses: 0, "error_message": "Failed to fetch" },

new items:

        `"https://yandex.ru/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },
        "https://sputniknews.com/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },
        "https://inosmi.ru/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },
        "https://gazeta.ru/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },
        "https://kommersant.ru/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },
        "https://rubaltic.ru/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },
        "https://ura.news/": {
            number_of_requests: 0,
            number_of_errored_responses: 0,
        },`

What about brining this to an epic level

What about using any vectors of cyber and DDoS attacks on these resources?

Copy pasting the idea from some of my colleagues:

Task # 1 We encourage you to use any vectors of cyber and DDoS attacks on these resources.

Business corporations:

Gazprom - https://www.gazprom.ru/
Lukoil - https://lukoil.ru
Magnet - https://magnit.ru/
Norilsk Nickel - https://www.nornickel.com/
Surgetneftegas - https://www.surgutneftegas.ru/
Tatneft - https://www.tatneft.ru/
Evraz - https://www.evraz.com/ru/
NLMK - https://nlmk.com/
Sibur Holing - https://www.sibur.ru/
Severstal - https://www.severstal.com/
Metalloinvest - https://www.metalloinvest.com/
NNC - https://nangs.org/
Russian Copper Company - https://rmk-group.ru/ru/
TMK - https://www.tmk-group.ru/
Yandex - https://ya.ru/
Polymetal International - https://www.polymetalinternational.com/ru/
Uralkali - https://www.uralkali.com/ru/
Eurosibenergo - https://www.eurosib.ru/
OMK - https://omk.ru/

Banks
Sberbank - https://www.sberbank.ru
VTB - https://www.vtb.ru/
Gazprombank - https://www.gazprombank.ru/
Sovcombank - https://sovcombank.ru/
Novikom - https://novikom.ru/

The state

Public services - https://www.gosuslugi.ru/
Moscow State Services - https://www.mos.ru/uslugi/
President of the Russian Federation - http://kremlin.ru/
Government of the Russian Federation - http://government.ru/
Ministry of Defense - https://mil.ru/
Tax - https://www.nalog.gov.ru/
Customs - https://customs.gov.ru/
Pension Fund - https://pfr.gov.ru/
Roskomnadzor - https://rkn.gov.ru/

Cannot find module 'worker_threads'

$ npm run build

> [email protected] build xxx/StopRussia.net.ua
> vite build

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'worker_threads'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (xxx/StopRussia.net.ua/node_modules/vite/dist/node/chunks/dep-36bf480c.js:26:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `vite build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     xxx/.npm/_logs/2022-03-02T16_11_18_569Z-debug.log

new address foyour programm

Add 2 address

Hello.
I cloned your repo and try to add 2 address? but I can't add branch, so, can you add 2 address? like this

"http://www.fsb.ru/ ": {
number_of_requests: 0,
number_of_errored_responses: 0,
},
"https://www.tinkoff.ru/ ": {
number_of_requests: 0,
number_of_errored_responses: 0,
},

With respect, Petro 

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.