├── README.md ├── install.sh ├── requirements ├── warponwarpkayh.py └── warponwarpweb.py /README.md: -------------------------------------------------------------------------------- 1 | ## لینک دونیت ارز دیجیتال TON: 2 | 3 | UQBNCEBZZEdUkchBb3wGYzkZWyclSdmLPE_yQw1XWCVjGeS5 4 | 5 | # وارپ آن وارپ جدید با ابزار کِی اِچ جی ان جی یا همون کِی اِچ گنگ نسخه 6.1 ، با قابلیت سیو کانفیگ در گوشی و لپ تاپ و کامپیوتر و همینطور ساخت اکانت وایرگارد. 6 | 7 | 8 | جیسون اصلاح شده با دریافت آیپی از کاربران 9 | با عرض سلام این پروژه همون پروژه فایل جیسون وارپ آن وارپ هیدیفای هست که برای راحتی کاربرانی که به اشتباه کپی و پیست میکنن در فایل جیسون ایجاد شده است. 10 | این فایل یک فایل پایتون هست که با آیپی تمیز و اکانت های کلود فلر باز کار میکند حالا چجوری؟ 11 | 12 | ![JSON](https://img.shields.io/badge/JSON-000000.svg?style=for-the-badge&logo=JSON&logoColor=white) 13 | 14 | ![Android](https://img.shields.io/badge/Android-34A853.svg?style=for-the-badge&logo=Android&logoColor=white) 15 | 16 | ![Python](https://img.shields.io/badge/Python-3776AB.svg?style=for-the-badge&logo=Python&logoColor=white) 17 | 18 | ![termux](https://img.shields.io/badge/Linux-FCC624.svg?style=for-the-badge&logo=Linux&logoColor=black) 19 | 20 | ![Windows](https://img.shields.io/badge/Windows-0078D4.svg?style=for-the-badge&logo=Windows&logoColor=white) 21 | 22 | ![Cloudflare](https://img.shields.io/badge/Cloudflare-F38020.svg?style=for-the-badge&logo=Cloudflare&logoColor=white) 23 | 24 | ![Private](https://img.shields.io/badge/Private%20Internet%20Access-1E811F.svg?style=for-the-badge&logo=Private-Internet-Access&logoColor=white) 25 | 26 | 27 | 28 | ## مرحله اول 29 | توی ترموکس اسکریپت های زیر رو اجرا کنید. 30 | برای دریافت آیپی تمیز وارپ کد اسکریپت زیر رو در ترموکس اجرا کنید. 31 | 32 | bash <(curl -Ls https://raw.githubusercontent.com/MiSaturo/WarpScanner/main/point/endip.sh 33 | 34 | یکی از آیپی تمیز ها رو همراه با پورت کپی کنید و در جایی ذخیره کنید. 35 | 36 | توجه : اگر اسکریپت بالا جواب نداد میتونید CRTL را با C کیبورد بگیرید و از اسکریپت زیر استفاده کنید. 37 | 38 | bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/warp/main/endip/install.sh) 39 | 40 | ## مرحله دوم 41 | برای ساخت اکانت وارپ: 42 | 43 | https://kayhgng.github.io/wireguardaccount/ 44 | 45 | وارد سایت ما میشوید ؛ البته به طور اتوماتیک نیز وقتی نرم افزار رو اجرا کنید وارد سایت خواهید شد. 46 | 47 | ## تغیرات در نسخه 6.1 48 | در نسخه 6.1 شما نیاز به پایتون ندارید و ما با کمک streamlit این اپلیکیشن رو تحت وب کردیم که سهولت استفاده از نرم افزار را ازش لذت ببرید. 49 | 50 | سایت اول بدون فیلتر شکن: 51 | 52 | https://huggingface.co/spaces/alikayh/warponwarp 53 | 54 | سایت دوم با فیلترشکن: 55 | 56 | https://warponwarpkayhgng.streamlit.app/ 57 | 58 | 59 | alikayh 60 | علی کِی اِچ 61 | 62 | فیلم آموزشی نصب ابزار در ترموکس اندروید 63 | 64 | 65 | https://youtube.com/@Kayhgng?si=2un57BMUUgD_mj0a 66 | 67 | 68 | # کد های مراحل کامل آیپی تمیز و اکانت های وارپ و نصب ابزار ما در ترموکس 69 | 70 | 71 | apt update 72 | apt upgrade 73 | bash <(curl -Ls [https://raw.githubusercontent.com/MiSaturo/WarpScanner/main/point/endip.sh] 74 | اگر کد بش بالا کار نکرد از بش پایین استفاده میکنیم 75 | bash <(curl -fsSL [https://raw.githubusercontent.com/Ptechgithub/warp/main/endip/install.sh] 76 | pkg install git 77 | apt-get install dos2unix 78 | termux-setup-storage 79 | cd storage 80 | cd downloads 81 | mkdir warponwarp 82 | cd warponwarp 83 | git clone https://github.com/kayhgng/wirekayh.git 84 | cd wirekayh 85 | dos2unix WiregaurdWarpmaker.sh 86 | bash WiregaurdWarpmaker.sh 87 | اگر کارنکرد اینو بزنید 88 | 89 | git clone https://github.com/kayhgng/warponwarp.git 90 | pkg install python 91 | ls 92 | cd warponwarp 93 | pip install requests 94 | pip install rich 95 | python warponwarpkayh.py 96 | 97 | 98 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Convert script file to have Unix-style line endings 4 | dos2unix install.sh 5 | 6 | bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/warp/main/endip/install.sh) 7 | pkg install git 8 | apt-get install dos2unix 9 | termux-setup-storage 10 | cd storage 11 | cd downloads 12 | mkdir warponwarp 13 | cd warponwarp 14 | git clone https://github.com/kayhgng/warponwarp.git 15 | pkg install python 16 | ls 17 | cd warponwarp 18 | pip install requests 19 | pip install rich 20 | python warponwarpkayh.py 21 | -------------------------------------------------------------------------------- /requirements: -------------------------------------------------------------------------------- 1 | streamlit 2 | json 3 | -------------------------------------------------------------------------------- /warponwarpkayh.py: -------------------------------------------------------------------------------- 1 | import requests 2 | import time 3 | import os 4 | import webbrowser 5 | from rich import * 6 | print("[green]KayHGNG Wireguard Account Maker v.5 [/green]") 7 | 8 | 9 | 10 | url = "https://kayhgng.github.io/wireguardaccount/" 11 | webbrowser.open(url) 12 | print("Now The website is open You can copy and paste in this file") 13 | 14 | key_input = input("Please enter 'Iran' to make Warp on Warp for you - Github.com/kayhgng:") 15 | 16 | # Check if key_input is '1' 17 | if key_input == 'Iran': 18 | time.sleep(5) 19 | os.system("cls") 20 | 21 | print("""[blue] 22 | _ _ _ _ _ __ 23 | | | | |(_) | | | | / _| 24 | | |__| | _ __| | __| | _ _ | |_ _ _ 25 | | __ || | / _` | / _` || | | || _|| | | | 26 | | | | || || (_| || (_| || |_| || | | |_| | 27 | |_| |_||_| \__,_| \__,_| \__, ||_| \__, | 28 | __/ | __/ | 29 | |___/ |___/ 30 | [/blue]""") 31 | 32 | print("""[green] 33 | 34 | 35 | 36 | 37 | 38 | __ __ 39 | \ \ / / 40 | \ \ /\ / /__ _ _ __ _ __ 41 | \ \/ \/ // _` || '__|| '_ \ 42 | \ /\ /| (_| || | | |_) | 43 | \/ \/ \__,_||_| | .__/ 44 | | | 45 | |_| 46 | 47 | 48 | 49 | 50 | _ __ _ _ _____ _ _ _____ 51 | | |/ / | | | | / ____|| \ | | / ____| 52 | | ' / __ _ _ _ | |__| | | | __ | \| || | __ 53 | | < / _` || | | || __ | | | |_ || . ` || | |_ | 54 | | . \| (_| || |_| || | | | | |__| || |\ || |__| | 55 | |_|\_\\\__,_| \__, ||_| |_| \_____||_| \_| \_____| 56 | __/ | 57 | |___/ 58 | 59 | V5 - Poweredby Ali Kay H - Github: https://github.com/kayhgng 60 | 61 | 62 | 63 | 64 | [/green]""") 65 | config_template = """[yellow] 66 | { 67 | "route": { 68 | "geoip": { 69 | "path": "geo-assets\\\sagernet-sing-geoip-geoip.db" 70 | }, 71 | "geosite": { 72 | "path": "geo-assets\\\sagernet-sing-geosite-geosite.db" 73 | }, 74 | "rules": [ 75 | { 76 | "inbound": "dns-in", 77 | "outbound": "dns-out" 78 | }, 79 | { 80 | "port": 53, 81 | "outbound": "dns-out" 82 | }, 83 | { 84 | "clash_mode": "Direct", 85 | "outbound": "direct" 86 | }, 87 | { 88 | "clash_mode": "Global", 89 | "outbound": "select" 90 | } 91 | ], 92 | "auto_detect_interface": true, 93 | "override_android_vpn": true 94 | }, 95 | "outbounds": [ 96 | { 97 | "type": "selector", 98 | "tag": "select", 99 | "outbounds": [ 100 | "auto", 101 | "IP->Iran, KayH GNG", 102 | "IP->Main, KayH GNG" 103 | ], 104 | "default": "auto" 105 | }, 106 | { 107 | "type": "urltest", 108 | "tag": "auto", 109 | "outbounds": [ 110 | "IP->Iran, KayH GNG", 111 | "IP->Main, KayH GNG" 112 | ], 113 | "url": "http://cp.cloudflare.com/", 114 | "interval": "10m0s" 115 | }, 116 | { 117 | "type": "wireguard", 118 | "tag": "IP->Iran, KayH GNG", 119 | "local_address": 120 | "[ipv6]" 121 | ], 122 | "private_key": "[iranprivate]", 123 | "server": "[ip]", 124 | "server_port": [port], 125 | "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", 126 | "reserved": [[reserved]], 127 | "mtu": 1280, 128 | "fake_packets": "5-10" 129 | }, 130 | { 131 | "type": "wireguard", 132 | "tag": "IP->Main, KayH GNG", 133 | "detour": "IP->Iran, KayH GNG", 134 | "local_address": 135 | "[ipv62]" 136 | ], 137 | "private_key": "[privategermany]", 138 | "server": "[ip]", 139 | "server_port": [port], 140 | "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", 141 | "reserved": [[reservedgermany]], 142 | "mtu": 1280, 143 | "fake_packets": "5-10" 144 | }, 145 | { 146 | "type": "dns", 147 | "tag": "dns-out" 148 | }, 149 | { 150 | "type": "direct", 151 | "tag": "direct" 152 | }, 153 | { 154 | "type": "direct", 155 | "tag": "bypass" 156 | }, 157 | { 158 | "type": "block", 159 | "tag": "block" 160 | } 161 | ] 162 | } 163 | [/yellow]""" 164 | 165 | ipv6 = input("Please Enter the Ipv6 iran: ") 166 | iran_private_key = input("Please Enter the Private key of Iran server: ") 167 | reserved_iran = input("Please Enter the reserved of Iran Server: ") 168 | ip_for_all = input("Clean IP: ") 169 | ip_port = input("Port Clean IP: ") 170 | ipv6_german = input("Please Enter the Ipv6 foreign: ") 171 | germany_private_key = input("Please Enter the Private key of foreign server: ") 172 | reserved_germany = input("Please Enter the reserved of foreign Server: ") 173 | 174 | 175 | 176 | output = config_template.replace("[ipv6]", ipv6).replace("[iranprivate]", iran_private_key).replace("[ip]", ip_for_all).replace("[port]", ip_port).replace("[reserved]", reserved_iran).replace("[reservedgermany]", reserved_germany).replace("[privategermany]", germany_private_key).replace("[ipv62]", ipv6_german) 177 | 178 | print(output) 179 | 180 | with open('JsonKayH.txt', 'w') as file: 181 | file.write(output) 182 | 183 | print("Config data has been saved to JsonKayH.txt file.") 184 | 185 | -------------------------------------------------------------------------------- /warponwarpweb.py: -------------------------------------------------------------------------------- 1 | import streamlit as st 2 | import json 3 | import time 4 | 5 | # Streamlit app title 6 | st.title("KayHGNG Wireguard Account Maker v.6 ON WEB !") 7 | 8 | # Open website in a new tab 9 | url = "https://kayhgng.github.io/wireguardaccount/" 10 | st.markdown(f"Click [here]({url}) to visit the website for Generating 2 Wireguard Accounts.", unsafe_allow_html=True) 11 | 12 | # Info about developer 13 | st.info("Developed by Alikay_h --> github.com/kayhgng") 14 | 15 | # Input fields for user data 16 | key_input = st.text_input("Please enter 'Iran' to make Warp on Warp for you - Github.com/kayhgng:") 17 | ipv6 = st.text_input("Please Enter the Ipv6 iran:") 18 | iran_private_key = st.text_input("Please Enter the Private key of Iran server:") 19 | reserved_iran = st.text_input("Please Enter the reserved of Iran Server:") 20 | ip_for_all = st.text_input("Clean IP:") 21 | ip_port = st.text_input("Port Clean IP:") 22 | ipv6_german = st.text_input("Please Enter the Ipv6 foreign:") 23 | germany_private_key = st.text_input("Please Enter the Private key of foreign server:") 24 | reserved_germany = st.text_input("Please Enter the reserved of foreign Server:") 25 | 26 | # Button to generate configuration 27 | if st.button("Generate Config"): 28 | if key_input == 'Iran' and ipv6 and iran_private_key and reserved_iran and ip_for_all and ip_port and ipv6_german and germany_private_key and reserved_germany: 29 | st.info("Wait... Generating...") 30 | 31 | # Simulate a 10-second delay 32 | time.sleep(10) 33 | 34 | # Config template 35 | config_template = { 36 | "route": { 37 | "geoip": { 38 | "path": "geo-assets\\sagernet-sing-geoip-geoip.db" 39 | }, 40 | "geosite": { 41 | "path": "geo-assets\\sagernet-sing-geosite-geosite.db" 42 | }, 43 | "rules": [ 44 | { 45 | "inbound": "dns-in", 46 | "outbound": "dns-out" 47 | }, 48 | { 49 | "port": 53, 50 | "outbound": "dns-out" 51 | }, 52 | { 53 | "clash_mode": "Direct", 54 | "outbound": "direct" 55 | }, 56 | { 57 | "clash_mode": "Global", 58 | "outbound": "select" 59 | } 60 | ], 61 | "auto_detect_interface": True, 62 | "override_android_vpn": True 63 | }, 64 | "outbounds": [ 65 | { 66 | "type": "selector", 67 | "tag": "select", 68 | "outbounds": [ 69 | "auto", 70 | "IP->Iran, KayH GNG", 71 | "IP->Main, KayH GNG" 72 | ], 73 | "default": "auto" 74 | }, 75 | { 76 | "type": "urltest", 77 | "tag": "auto", 78 | "outbounds": [ 79 | "IP->Iran, KayH GNG", 80 | "IP->Main, KayH GNG" 81 | ], 82 | "url": "http://cp.cloudflare.com/", 83 | "interval": "10m0s" 84 | }, 85 | { 86 | "type": "wireguard", 87 | "tag": "IP->Iran, KayH GNG", 88 | "local_address": [ 89 | ipv6 90 | ], 91 | "private_key": iran_private_key, 92 | "server": ip_for_all, 93 | "server_port": int(ip_port) if ip_port.isdigit() else None, 94 | "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", 95 | "reserved": [reserved_iran], 96 | "mtu": 1280, 97 | "fake_packets": "5-10" 98 | }, 99 | { 100 | "type": "wireguard", 101 | "tag": "IP->Main, KayH GNG", 102 | "detour": "IP->Iran, KayH GNG", 103 | "local_address": [ 104 | ipv6_german 105 | ], 106 | "private_key": germany_private_key, 107 | "server": ip_for_all, 108 | "server_port": int(ip_port) if ip_port.isdigit() else None, 109 | "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", 110 | "reserved": [reserved_germany], 111 | "mtu": 1280, 112 | "fake_packets": "5-10" 113 | }, 114 | { 115 | "type": "dns", 116 | "tag": "dns-out" 117 | }, 118 | { 119 | "type": "direct", 120 | "tag": "direct" 121 | }, 122 | { 123 | "type": "direct", 124 | "tag": "bypass" 125 | }, 126 | { 127 | "type": "block", 128 | "tag": "block" 129 | } 130 | ] 131 | } 132 | 133 | # Display the generated JSON configuration 134 | st.write("Generated Config:") 135 | st.json(config_template) 136 | 137 | # Convert dict to JSON string for downloading 138 | json_string = json.dumps(config_template, indent=4) 139 | 140 | # Download button 141 | st.download_button( 142 | label="Download Config", 143 | data=json_string, 144 | file_name='JsonKayH.txt', 145 | mime='application/json' 146 | ) 147 | 148 | st.success("Generate Complete. Have fun with your config with Free Internet not filtered. KayH GNG") 149 | else: 150 | st.warning("Please fill all fields and enter 'Iran' to generate the configuration.") 151 | --------------------------------------------------------------------------------