hiddify / hiddify-reality-scanner Goto Github PK
View Code? Open in Web Editor NEWAn efficient Reality scanner that swiftly identifies optimal SNIs through minimal commands.
Home Page: https://hiddify.com
License: The Unlicense
An efficient Reality scanner that swiftly identifies optimal SNIs through minimal commands.
Home Page: https://hiddify.com
License: The Unlicense
با سلام
لطفا توضیحات فارسی نحوه استفاده از اسکریپت هم اضافه کنید
If you don't have Xray in the current folder, the scanner will automatically download and extract Xray to the bin folder, but it will not set execution permissions to the Xray file. As a result, you will receive an invalid file permission error.
PermissionError: [Errno 13] Permission denied: '/x/home/.../bin/xray'
An error occurred for yadakshenas.ir: [Errno 13] Permission denied: '/x/home/.../bin/xray'
Traceback (most recent call last):
File "/home/.../.local/lib/python3.10/site-packages/hiddify_reality_scanner/cli.py", line 271, in test_domain_async
p = Popen(
File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
Xray
Ubuntu 22.4
Linux Falcon 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@Falcon:~# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 30761 100 30761 0 0 131k 0 --:--:-- --:--:-- --:--:-- 131k
Failed to stop xray.service: Unit xray.service not loaded.
error: Stopping the Xray service failed.
How to resolve this problem?
Is this normal?
It seems like xray is not running, on first run it tried to download xray , dont know if it was succeful or not but all I get are errors:
ubuntu@ubuntu:~ $ hiddify_reality_scanner "vless://[email protected]:11443?security=reality&sni=www.yahoo.com&fp=chrome&pbk=Z84J2IelR9ch3k8VtlVhhs5ycBUlXA7wHBWcBrjqnAw&sid=6ba85179e30d4fc2&type=tcp&flow=xtls-rprx-vision&encryption=none#Hiddify"
{
"server_address": "xxx.xxx.xxx.xxx",
"server_port": 11443,
"short_id": "6ba85179e30d4fc2",
"public_key": "Z84J2IelR9ch3k8VtlVhhs5ycBUlXA7wHBWcBrjqnAw",
"uuid": "hiddify",
"origsni": "www.yahoo.com",
"type": "tcp",
"serviceName": "",
"mode": ""
}
===============================================================
===============================================================
===============================================================
Attention! This script may takes time. You can press ctrl+c to stop scan at any time
===============================================================
===============================================================
===============================================================
www.yahoo.com [Errno None] Could not connect to proxy 127.0.0.1:25977 [None]
2reha.ir [Errno None] Could not connect to proxy 127.0.0.1:44181 [None]
www.yahoo.com :None
2reha.ir :None
ferdoone.ir [Errno None] Could not connect to proxy 127.0.0.1:32189 [None]
sepehrad.com [Errno None] Could not connect to proxy 127.0.0.1:37425 [None]
ferdoone.ir :None
sepehrad.com :None
vitcom-shop.ir [Errno None] Could not connect to proxy 127.0.0.1:17949 [None]
vitcom-shop.ir :None
chooblebasy.ir [Errno None] Could not connect to proxy 127.0.0.1:49307 [None]
sazehsite.ir [Errno None] Could not connect to proxy 127.0.0.1:22563 [None]
chooblebasy.ir :None
sazehsite.ir :None
azwood.ir [Errno None] Could not connect to proxy 127.0.0.1:34207 [None]
azwood.ir :None
iran-newspaper.com [Errno None] Could not connect to proxy 127.0.0.1:26487 [None]
iran-newspaper.com :None
dorfakkhabar.ir [Errno None] Could not connect to proxy 127.0.0.1:49317 [None]
dorfakkhabar.ir :None
cacooti.com [Errno None] Could not connect to proxy 127.0.0.1:7565 [None]
tvbeta.ir [Errno None] Could not connect to proxy 127.0.0.1:20949 [None]
cacooti.com :None
tvbeta.ir :None
jdeihe.ac.ir [Errno None] Could not connect to proxy 127.0.0.1:61663 [None]
jdeihe.ac.ir :None
codesabz.ir [Errno None] Could not connect to proxy 127.0.0.1:45795 [None]
codesabz.ir :None
kalaprint.com [Errno None] Could not connect to proxy 127.0.0.1:5353 [None]
kalaprint.com :None
An error occurred for ir-sanat.ir: [Errno 32] Broken pipe
Traceback (most recent call last):
File "/home/payam/.local/lib/python3.9/site-packages/hiddify_reality_scanner/cli.py", line 294, in test_domain_async
p.stdin.close()
BrokenPipeError: [Errno 32] Broken pipe
kardookh.com [Errno None] Could not connect to proxy 127.0.0.1:54353 [None]
kardookh.com :None
novinattari.ir [Errno None] Could not connect to proxy 127.0.0.1:44999 [None]
novinattari.ir :None
lordled.com [Errno None] Could not connect to proxy 127.0.0.1:2493 [None]
lordled.com :None
flyoneiran.com [Errno None] Could not connect to proxy 127.0.0.1:58533 [None]
Checked the link again, its correct
Can connect via nekoray
when i run the script in cmd python stop working error
سلام،نسخه ی متناسب با ترموکس رو هم لطف میکنید
The client cannot install Xray v1.8.6 for macOs even if the path has correct permissions or it is run as root.
It throws such "Permission denied" errors:
An error occurred for digivto.ir: [Errno 13] Permission denied: '/Users/alireza/Desktop/tmp/scan/bin/xray'
Traceback (most recent call last):
File "/Users/alireza/.pyenv/versions/3.12.0/lib/python3.12/site-packages/hiddify_reality_scanner/cli.py", line 271, in test_domain_async
p = Popen(
^^^^^^
File "/Users/alireza/.pyenv/versions/3.12.0/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/alireza/.pyenv/versions/3.12.0/lib/python3.12/subprocess.py", line 1950, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/Users/alireza/Desktop/tmp/scan/bin/xray'
بهش فایل لیست دامنه میدی بیشتر از 10 تا رو اسکن نمیکنه
An exception occurred: module 'sys' has no attribute 'setcheckinterval'
Exception ignored in: <function tqdm.del at 0x000001C5D78718B0>
Traceback (most recent call last):
File "C:\Python\Python39\lib\site-packages\tqdm_tqdm.py", line 790, in del
self.close()
File "C:\Python\Python39\lib\site-packages\tqdm_tqdm.py", line 1017, in close
if self.disable:
AttributeError: 'tqdm' object has no attribute 'disable'
Finished=============== Sorting results ===============
Nothing found! :(
بعد از نصب و ایجاد لیست دامنه و همه اینکارا موقع اجرا روی سرو این ارور رو میده؛
error [Errno None] Could not connect to proxy 127.0.0.1:61710 [None]
چطوری این ارور رو حل کنیم؟
I tested the latest PIP package on both linux and ma clients, and the server is listening to any incoming connection. However, none of SNI tests result in success and throws such error:
www.google.com [Errno None] Could not connect to proxy 127.0.0.1:52239 [None]
بعد از نصب و ایجاد لیست دامنه و همه اینکارا موقع اجرا سمت کلاینت این ارور رو میده؛
error [Errno None] Could not connect to proxy 127.0.0.1:61710 [None]
چطوری این ارور رو حل کنیم؟
I encountered connection error while scanning since xray binary file was not executable. Changing its execute permission on ./bin/xray sloved it. It would be better to add this command to the script itself.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
دسستون درد نکنه. فقط این نکته رو بگم که موقع اجرا روی ویندوز باید
hiddify_reality_scanner "vless_link"
لینک رو داخل "" بگذارین. حداقل برای من اینطوری کار کرد.
سپاس
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.