Code Monkey home page Code Monkey logo

namizun's Introduction

NAMIZUN

This project is used to remove the limitation of asymmetric ratio for uploading and downloading Iranian servers

One line installation command:

sudo curl https://raw.githubusercontent.com/malkemit/namizun/master/else/setup.sh | sudo bash

Manual installation

Important Note : use it on ubuntu +20 (python +3.8)

  • 1) you need to install pip, redis & git:
sudo apt install python3-pip python3-venv redis git -y
  • Note: Sometimes Redis does not start automatically, start it with the following command
sudo systemctl start redis.service
  • 2) you need to create a directory to clone the project:
mkdir -p /var/www/namizun && cd /var/www/namizun
  • 3) Clone the project with Git:
git init
git remote add origin https://github.com/malkemit/namizun.git
git pull origin master
  • 4) make virtual environment:
python3 -m venv /var/www/namizun/venv
  • 5) Install the project requirements with pip by setup.py (namizun_core & namizun_menu):
cd /var/www/namizun && source /var/www/namizun/venv/bin/activate && pip install wheel && pip install namizun_core/ namizun_menu/ && deactivate
  • 6) Create service for uploader.py (for running namizun script):
ln -s /var/www/namizun/else/namizun.service /etc/systemd/system/
  • 7) Reload the service files to include the new service and start namizun.service :
sudo systemctl daemon-reload && sudo systemctl enable namizun.service && sudo systemctl start namizun.service
  • 8) Create namizun command to execute menu.py
ln -s /var/www/namizun/else/namizun /usr/local/bin/ && chmod +x /usr/local/bin/namizun

Update

  • With the following command, you can update the script that you have already installed:
cd /var/www/namizun && git reset --hard HEAD && git pull origin master && source /var/www/namizun/venv/bin/activate && pip install namizun_core/ namizun_menu/ && deactivate && systemctl daemon-reload && chmod +x /usr/local/bin/namizun

Configuration

Notes:

  • In this script, you don't need to buy a download host or another server or even upload to your foreign server.
    Only fake traffic will be sent to Iranian IPs, which will be lost!

  • Although the essence of this script is used to attack, but due to the limited size of the buffer and the distribution of traffic between different IPs, this does not happen in practice.
    (To attack, many servers must send traffic to one IP, but this works exactly the opposite)

  • This script is designed to upload up to 50 terabytes of traffic at maximum, it can be used on a server with minimal resources.

  • If you want to use a speed of more than 3, be sure to pay attention to the CPU consumption.
    High CPU consumption will cause restrictions from the provider (it is better to have at least 2 CPU cores)

  • If you are using a dedicated server, it is suggested to virtualize it and use your virtual servers.
    In this way, your traffic will be distributed among more IPs and will prevent you from being banned.

Donate:

If you enjoyed this script you could donate me by donating!
Your support allows me to continue my work, fight against Internet censorship in Iran

USDT (TRC20) or TRON : TDuBY7FpRkaMU1rhQjQa6sqpNdKhmM8Nx3

USDT (ERC20) : 0xFAFaf5D1e2e6a11F04e318430ff01031B63A58e1

namizun's People

Contributors

malkemit avatar shabane avatar m4hbod avatar nabikaz 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.