Skip to content

The-Binary-0-1/namizun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/The-Binary-0-1/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/The-Binary-0-1/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
  • 9) Activate source
source /var/www/namizun/venv/bin/activate
  • 10) Make sure setuptool installed
pip install setuptools

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.

Remove Script

  • With the following commands, you can remove the script that you have already installed:
rm -r /var/www/namizun/
rm /etc/systemd/system/namizun.service
rm /usr/local/bin/namizun
sudo systemctl daemon-reload

About

Asymmetric upload and download

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.5%
  • Shell 5.5%