پنل تحت وب مدیریت V2ray و ساخت کاربر و مدیریت سرور
mkdir x-ui && cd x-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/x-ui/ \
-v $PWD/cert/:/root/cert/ \
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
div{ | |
--size:100px; | |
width:var(--size); |
[ | |
{ | |
"latitude": "34° 31' 24.924", | |
"longitude": "50° 0' 20.866", | |
"province": "مرکزی", | |
"state": "آشتیان", | |
"city": "آشتیان" | |
}, | |
{ | |
"latitude": "33° 40' 29.197", |
## Change Directory | |
cd /tmp/ | |
## Update opkg | |
opkg update | |
## If wget not installed already | |
opkg install wget ca-certificates ca-bundle | |
## Download and Add Repo Key |
// Copy paste this line in your browser console to run the script and get the result | |
fetch('https://gist.githubusercontent.com/SamadiPour/a18b1e186deac76c4a95fa108d02a6ea/raw/snappfood_enhanced.js').then(r => r.text()).then(code => eval(code)); |
bash <(curl -sL https://bit.ly/realityez) |
if [ $(id -u) -eq 0 ]; then | |
read -p "Enter username : " username | |
egrep "^$username" /etc/passwd >/dev/null | |
if [ $? -eq 0 ]; then | |
echo -e "user $username exists!" | |
exit 1 | |
fi | |
read -p "Enter expire date ( y-m-d ) example 2023-06-10 : " date | |
read -p "Enter traffic (GB) : " traffic | |
read -p "Enter password : " password |
// Programmer: @NabiKAZ (https://twitter.com/NabiKAZ) and Thanks for Erfan (https://github.com/ErfanBahramali) | |
// To run Hamster Telegram game on computer. Enter Telegram from this link https://web.telegram.org/k/ | |
// Then open the game. When the "Play on your mobile" error appeared. Copy and paste this code in | |
// your browser console. Both the game is run in the opened window and the address written in the console | |
// can be run in a separate and full-screen browser. | |
// Caution: You are responsible for possible risks such as banning. | |
// The game link: https://t.me/Hamster_kombat_bot/start?startapp=kentId101554083 | |
console.log("Use this address in your browser:", document.getElementsByTagName('iframe')[0].src = document.getElementsByTagName('iframe')[0].src.replace(/(tgWebAppPlatform=)[^&]+/, "$1android")); |