Git Product home page Git Product logo

ss-cloud-scanner's Introduction

اسکنر آیپی کلادفلر (اختصاصی صفا صفری)

برای این اسکنر زحمات زیادی کشیده شده است ساعت ها مهندسی معکوس بر روی کلاینت های مختلف انجام شده

مهم

در حال حاضر، اسکنر روی اپراتور های ایرانسل و همراه اول با اشکالاتی رو به رو هست، در حال بررسی و رفع مشکل هستم


اپراتور ایرانسل به کلی تمام آیپی های کلادفلر رو محدود کرده


همراه اول با حالت personal server بهترین عملکرد را دارد


راهنما

نصب

اندروید

برای نصب روی سیستم عامل اندروید، نیاز به برنامه ای تحت عنوان ترموکس (Termux) میباشد

لینک دانلود ترموکس از گیتهاب

در اینجا با چندین فایل apk مواجه میشوید. اگر نوع دستگاه اندرویدی خود را نمیدانید، نسخه armeabi-v7a را دانلود و نصب کنید

نکته: ترموکس را فقط از لینک رسمی گیتهاب این پروژه دانلود کنید، نسخه ای که در گوگل پلی قرار دارد، نسخه قدیمی است و ممکن است در نصب پکیج ها به مشکل بخورید

در ادامه با باز کردن برنامه ترموکس، خط فرمان به شما نشان داده میشود به ترتیب دستورات زیر را وارد کنید

pkg update -y; pkg install -y python python-pip openssl python-cryptography

در هنگام نصب، تمام پرسش ها را با y جواب دهید

curl -sLo main.zip https://github.com/SafaSafari/ss-cloud-scanner/archive/refs/heads/main.zip && unzip -qq main.zip && rm main.zip`

cd ss-cloud-scanner-main

pip install -r ./requirements.txt

در صورتی که پیش نیاز ها با موفقیت نصب شوند، کار تمام است و وقت آن رسیده که برنامه را اجرا کنید


ویندوز

برای نصب پایتون بر روی ویندوز، از طریق لینک زیر و با توجه به نسخه سیستم عامل، نسبت به دانلود نسخه مناسب اقدام فرمایید

دانلود پایتون نسخه ویندوز از سایت رسمی

در هنگام نصب پایتون، تیک مربوط به نصب pip و اضافه کردن پایتون به PATH را فراموش نکنید

حال این فایل فشرده را دانلود کنید و آن را از حالت فشرده خارج کنید

اکنون وقت آن رسیده یک ترمینال (cmd) در مسیر اکسترکت پروژه اجرا کنید و برای نصب پیش نیاز ها دستور زیر را اجرا کنید

pip install -r ./requirements.txt

در صورتی که پیش نیاز ها با موفقیت نصب شوند، کار تمام است و وقت آن رسیده که برنامه را اجرا کنید


مک

به زودی :))


اجرای برنامه

با دستور زیر، عملکرد برنامه آغاز میشود

python main.py

به محض اجرا، برنامه از شما تعداد آیپی مورد نیاز را درخواست میکند

در مرحله بعد نوع اسکن مشخص میشود


حالت speed

این نوع از اسکن، با توحه به وایت لیست بودن sni در ایران (منبع) از یک ورکر جایگزین استفاده میکند که بازدهی این مدل اسکن را بشدت بالا میبرد


حالت vmess

این مدل اسکن با ساخت پکت vmess و ارسال آن به سمت سرور با websocket عملا یک ارتباط پروکسی را شبیه سازی میکند اسکنر های جایگزین، این کار با استفاده از هسته های v2ray یا xray انجام میدهند، اما این اسکنر این اقدام را بصورت خالص با پایتون پیاده سازی نموده است برای استفاده از این حالت، بعد از انتخاب این حالت، لینک یک پروکسی vmess از شما درخواست میشود (با vmess:// شروع میشود) و پس از جایگذاری و ثبت، عملیات اسکن آغاز میشود


حالت vless

این حالت نیز مانند vmess میباشد و بعد از انتخاب حالت، از شما درخواست لینک vless میکند (با vless://) و عملیات اسکن شروع میشود


حالت personal server

این حالت بهترین و قابل اتکا ترین حالت هست، بدین صورت که اسکریپت upload.py را روی سرور خودتون دانلود و اجرا میکنید و در کلادفلر یک سابدامین بهش اختصاص می دهید و بعد از انتخاب این حالت، آدرس دامنه را وارد کرده و حالت اسکن (http/https) را انتخاب میکنید و فرآیند اسکن آغاز میشود


حمایت مالی

Rial: نکست پی

Btc: bc1qgrlfzelx6dn6hym7c73jpp2w2p4hdy7lgftudr

Ltc: ltc1ql02lg3yrtgy7xfnnl5jvgrwv2ffxkhyn54qyj0

Usdt(trc20): TH8PcLF25uGhT4joJy7K5YQP43oYxs7ouY

Tron: TH8PcLF25uGhT4joJy7K5YQP43oYxs7ouY


شبکه های اجتماعی

Twitter

Telegram

Youtube

Instagram

ss-cloud-scanner's People

Contributors

safasafari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ss-cloud-scanner's Issues

No Message for finish search

I ran the scanner according to the instructions, but in the end, I only got the message "Nice :)))".
I noticed that a file called good.txt was added inside the ss-cloud-scanner folder, but there was nothing inside this file either.

Now several questions are ready for me

  1. First of all, what is the meaning of this message printed at the end?
  2. Does it mean it didn't find any clean IP?
  3. If it is not found, could it not be displayed to the user in the form of a message at the end of the work?
  4. When it finds it, how will it be displayed to the user?

In the end, I request you to post pictures of the scanner environment at different times with different messages for the user

Thank you for solving these problems
Many thanks for your efforts

0,1,2,3 IPs

Thank you for this amazing app!
I was wondering why the results of each scan always end with an IP address of the form x.x.x.0 (1-2-3)? Does the script not scan any other IP numbers?

Best regards.

Some IP addresses are not belonging to Cloudflare

بعضی از آی پی ها نه تنها متعلق به کلاد فلر نیستن بلکه برای سرویس های داخلی هستن مثلا این رنج 185.143.232.0/22 برای ابرآروان هستش

جزییات وضعیت اسکن

درود عزیز نمیشه جزییات کارایی که اسکنره داره میکنه رو ما هم ببینیم؟ مثلا در حال حاضر چه رنجیو داره اسکن میکنه و اگه ای پی سالم در اومد نشون بده !

dkpg error andriod

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
dpkg: error processing package python-cryptography (--configure):
installed python-cryptography package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python-cryptography
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

errors say that the installation of cffi package failed because Microsoft Visual C++ 14.0 or greater is required. It also suggests to get it with “Microsoft C++ Build Tools” from the given link.

'''
pip install -r ./requirements.txt
Collecting aiohttp
Using cached aiohttp-3.8.4.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting cryptography
Using cached cryptography-40.0.2-cp36-abi3-win_amd64.whl (2.6 MB)
Collecting pycryptodome
Using cached pycryptodome-3.17-cp35-abi3-win_amd64.whl (1.7 MB)
Collecting requests
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting attrs>=17.3.0
Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting charset-normalizer<4.0,>=2.0
Using cached charset_normalizer-3.1.0-py3-none-any.whl (46 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.4.tar.gz (51 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.2.tar.gz (172 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.3.tar.gz (66 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.1.tar.gz (508 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\kk\AppData\Local\Temp\pip-install-2rhlhayi\cffi_abe8474283804a65a11c42dae1f8f074\setup.py", line 126, in
if sys.platform == "win32" and uses_msvc():
^^^^^^^^^^^
File "C:\Users\kk\AppData\Local\Temp\pip-install-2rhlhayi\cffi_abe8474283804a65a11c42dae1f8f074\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kk\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_distutils\command\config.py", line 224, in try_compile
self._compile(body, headers, include_dirs, lang)
File "C:\Users\kk\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_distutils\command\config.py", line 129, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "C:\Users\kk\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_distutils_msvccompiler.py", line 344, in compile
self.initialize()
File "C:\Users\kk\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_distutils_msvccompiler.py", line 253, in initialize
vc_env = _get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kk\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\msvc.py", line 214, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kk\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\msvc.py", line 168, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip is available: 23.0.1 -> 23.1
[notice] To update, run: python.exe -m pip install --upgrade pip
PS C:\Users\kk\Downloads\ss-cloud-scanner-main\w>

'''

مشکل اسکن

سلام صفای عزیز مرسی بابت اسکنر خوبت من رو ایرانسل تست کردم و بهم چند تا ای پی تمیز و خوب داد اما چند تا سوال
سوال 1: برنامه ات حجم زیادی از نت رو میبره ایا امکان بهینه سازی اش هست یا خیر ؟
سوال2: به هنگام اسکن در حالت speed وقتی یک ای پی پیدا میکنه و تموم میشه برنامه رو که دوباره باز میکنم و اسکن رو اجراش میکنم یک ای پی متفاوت میده چرا همین ای پی رو تو دفعه اول اسکن نداد؟
سوال 3 : تو تویتت گفته بودی دو حالت داره یا https یا http که اگر اشتباه نکنم secure مربوط به این حالت اگر به صورت دیفالت قرار بدیم میره رو حالت https اگر بخوایم رو حالت http باشه باید N رو بزنیم چون وقتی N رو زدم برنامه بسته شد

Warning Against Using Real Identity to Publish Illegal Software

Dear Safa Safari, I am writing to warn you about the potential consequences of publishing illegal software using your real name and profile image. Doing so may result in legal action being taken against you by the government, which could include arrest and prosecution.

It is important to understand that distributing illegal software is a serious offense and can result in severe consequences. Therefore, it is strongly recommended that you avoid associating your real identity with any illegal activities if are living in Iran.

To protect yourself and avoid any legal troubles, I suggest that you refrain from using your real name and profile image when publishing any content related to illegal software. Instead, consider using a pseudonym and an anonymous profile picture to avoid being identified.

Remember, it's always better to err on the side of caution when it comes to matters of legality. Your safety and freedom are paramount, so please take this warning seriously and act accordingly.

کند بودن اتمام فرایند اسکن

سلام. این اسکریپت با هر بار اجرا کل رنج cf رو اسکن میکنه؟ خیلی طول میکشه تا اسکن تموم بشه. طبیعیه؟
و اینکه نمیشه یه رنج دلخواه رو داد؟

از کار افتادن اسکنر

سلام خسته نباشید، اسکنر از کار افتاده خطای زیر رو میده
Cannot connect to host speedtest.safasafari-ssss3914.workers.dev:443

Linux version

Please add a linux version too :) Thanks Safa jan!

از کار افتان ورکر

سلام ، ورکر اسپید تستتون از کار افتاده
Please check back later
Error 1027
This website has been temporarily rate limited

You cannot access this site because the owner has reached their plan limits. Check back later once traffic has gone down.

If you are owner of this website, prevent this from happening again by upgrading your plan on the Cloudflare Workers dashboard.

Learn more about this issue →

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.