پنل تحت وب مدیریت 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 |
cookies = Object.fromEntries(document.cookie.split('; ').map(c => c.split('='))); | |
let UDID = cookies.UDID; | |
let jwt = cookies[['jwt-access_token']] ?? JSON.parse(window.localStorage.JWT ?? '{}').access_token; | |
var myHeaders = new Headers(); | |
myHeaders.append("authority", "snappfood.ir"); | |
myHeaders.append("accept", "application/json, text/plain, */*"); | |
myHeaders.append("accept-language", "en-US,en;q=0.9,fa;q=0.8"); | |
myHeaders.append("authorization", "Bearer " + jwt); | |
myHeaders.append("content-type", "application/x-www-form-urlencoded"); |
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")); |