Giter VIP home page Giter VIP logo

cfscanner's People

Contributors

0ut0fcode avatar ali-frh avatar alirezaaraby avatar amini8 avatar amirmalekian avatar armgham avatar armineslami avatar beh-rouz avatar f4ran avatar goingfine avatar hiiirad avatar just1random avatar m4hbod avatar mahdibahramih avatar majnikool avatar miytiy avatar mortezabashsiz avatar shayandavoodii avatar sonyacore avatar tempookian avatar thehxdev 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cfscanner's Issues

پیدا نشدن ip با وجود کار کردن ipهای قبلی

سلام،
در درجه اول ممنونم بابت اسکریپت عالی.
از امروز روی اینترنت مخابرات هیچ کدوم از ip ها به عنوان ip درست شناسایی نشدن. در حالی که همچنان در اون رنج، ip هایی که از قبل دارم به خوبی کار میکنند. فکر میکنم تغییری در اسکریپت باعث این مسئله شده. با فایل کانفیگ خودم هم ران کردم و نتیجه تفاوتی نداشت. سرعت رو هم روی 50 گذاشتم که از اون نظر هم مشکلی بوجود نیاد.

OS not supported

hi, thanks for this script
I have a problem to this script. my os is ubuntu 22.10, when i run command bash cfFindIP.sh 8 ./config.real 100, show me error
I require 'parallel' but it's not installed. Please install it and try again. reading config ... OS not supported only Linux or Mac
i install parallel, but still this error

v2ray -config

سلام و خسته نباشید.

اسکریپت رو اجرا کردم و نتایج رو گرفتم و میخوام configهای بدست اومده رو توی v2ray در خود اوبونتو تنظیم کنم.

این فایل های کانفیگ بدست اومده است:

Screenshot from 2023-02-13 01-37-44

که اولین مورد رو میخوام تست کنم : 34.43.179.1

Screenshot from 2023-02-13 01-36-07

دستور v2ray -config=config.json.31.43.179.1 اجرا کردم. started شد ولی هنوز خطایی نبود و خطای درون تصویر بعدا رخ می دهد.

طبق یک آموزش که از گیت هاب v2ray دیدم هاست و پورت رو از کانفیگ مورد نظر برداشتم و در تنظیمات پروکسی فایرفاکس قرار دادم

Screenshot from 2023-02-13 01-38-39

Screenshot from 2023-02-13 01-37-20

بعد که میخوام یک سایت رو باز کنم ، خطای درون shell اتفاق می افتد و از حالت started خارج می شود.

ممنون میشم طریقه ی استفاده از آی پی ها را در لینوکس بگید.
ممنون از کار ارزشمندتون . من فقط علاقه مند به لینوکس هستم و دانشی ندارم

Pause | WinCFScan.exe

Is your feature request related to a problem? Please describe.
Sometimes it's necessary to pause the scan process and continue minutes later. But here, we have only a Stop button which resets the whole process.

Describe the solution you'd like
Is it possible to embed a Pause button as well?

Dockerize the project

Installing and managing dependencies have some overheads which will make users, not use this repository. Dockerizing would be an excellent solution to solve this problem.

In the Dockerfile we can install dependencies and have some default values for the runtime variables, users will just have to change the config file and run the container with the prepared docker command.

تست آپلود کنار دانلود

دیدم نوشته بودی تست سرعت دانلود هم اضافه کردی. این خیلی مفیده.
اما میخواستم بگم این روزها چیزی که بیشتر از دانلود اذیت میکنه حداقل روی آی‌پی‌های کلودفلیر، آپلوده.
یعنی اغلب آی‌پی‌ها دانلود خوبی میدن اما آپلود اونها زیر ۱ مگ هست.
گفتم شاید بخوای به عنوان یه فیچر، تست آپلود هم کنار دانلود داشته باشی.

Specific IP Addresses

How can I scan specific IP address ranges?
For example, I want to scan the IP addresses which are in the result file again and not the whole of Cloudflare's IP Addresses.

استفاده از چند آی پی روی یک دامنه

فایده این که چند آی پی رو ست کنیم روی دامنه چی هست؟ چیزی که من متوجه شدم این هست که این آی پی ها به صورت لود بالانسر عمل می کنن اما به فرض اگر یکی از این آی پی ها بلاک بشه، چه اتفاقی برای اون کاربر میافته؟ طبیعتا نمی تونه وصل بشه در اون لحظه، درسته؟ راهکاری براش هست؟

Progress bar goes beyond 100%.

Describe the bug

Super useful script.
But there is an issue. When progress bar of main IPs reached 100% it's not the end and number in percentage go further and pass the 100%. obviously, Searching still continues.

To Reproduce
Run script as describe in readme.md file.

Expected behavior
Finishing job at 100%.

Screenshots
image

Desktop (please complete the following information):

filtering ips

درود.
برای اینکه بتونیم سرعت تست ای پی رو تغییر بدیم چیو توی اسکریپت باید تغییر بدیم مثلا از اون ۱۰۰ کیلوبایت که شما گفتید تغییر بدیم به مثلا ۵۰۰ کیلوبایت؟

windows

hi
you can use something like this for windows
save it to test.ps1 and run it with powershell


$test = @('s.code42.fr:23','localhost:80','tabnak.ir:443')

Foreach ($t in $test)
{
  $source = $t.Split(':')[0]
  $port = $t.Split(':')[1]
  
  Write-Host "Connecting to $source on port $port"



  try
  {


  $tcp = new-object System.Net.Sockets.TcpClient

  $tcp.ReceiveTimeout = 500
  $tcp.SendTimeout = 500
 if (!$tcp.ConnectAsync($source, $port).Wait(500)) {    Write-Host "fail`n" }else{ Write-Host "Connected`n" }


  $tcp.close()



  }
  catch [Exception]
  {
    Write-Host $_.Exception.GetType().FullName
    Write-Host $_.Exception.Message
  }

  
}

Random range selection

Hi
Thanks for your useful script
I think most of the times some ranges of ips are blocked and it may be time consuming to scans all blocked ranges to reach one unblocked range.
so i think it's better to add a feature to randomly select cloudflare ip ranges to scan.

1: ELF: not found 2: Syntax error: "(" unexpected

I'm running this on an Ubuntu 22.04 ARM64 vm with Parallels Desktop 18 on Mac.

I get only 2 kind of results, failed ips and other ones give this error :

FAILED 45.131.210.230
FAILED 45.131.210.229
/root/cftest/CFScanner/scripts/v2ray: 1: ELF: not found
/root/cftest/CFScanner/scripts/v2ray: 2: Syntax error: "(" unexpected

any suggestions about what I'm doing wrong?

دو تا پیشنهاد خیلی مهم

نرم افزار نوشته شده واقعا عالی و زیبا هست،واقعا دست مریزاد به شما

دو تا پیشنهاد خیلی مهم دارم:

پیشنهاد اولم اینه که از هر آی پی 2 بار تست پینگ گرفته بشه و در نتایج فقط پینگ دوم رو در نظر بگیره (میانگین نباشه) چون همیشه بار اول پینگ بالایی میدن آی پی ها ولی بار دوم و سوم گاها پینگ کمتر از نصف میشه،این تغییر رو بصورت پیش فرض میتونید اعمال کنید،یا اینکه یه گزینه ای بزارید خودمون انتخاب کنیم از هر آی پی چند بار پینگ گرفته بشه و ملاک فقط پینگ آخر باشه (نمیدونم میانگین بهتره یا پینگ آخر،اینجا دیگه دانش و سلیقه برنامه نویس ارجح هست)

پیشنهاد دومم اینه که نتایج رو الان نمیشه sort کرد،قابلیت sort رو هم لطفا فعال کنید که بتونیم آی پی ها رو بر اساس پینگ sort کنیم

Empty release section

release is empty
For the Windows version, it is mentioned to download the latest version from the release section, but this section is empty.
Thanks for the great script you have developed

عدم وصل شدن به کانفیگ

سلام
خیلی ممنونم از این اسکریپتی که حاضر کردید.

من روی مک با اجرای این برنامه مشکل دارم.

مشخصات کانفیگی که دادم درسته, آدرس ها فیلتر نیستند و در اون لحظه کلی نفر در حال وبگردی هستند باهاش.
پس فرض خراب بودن کانفیگ رد میشه.

تو این عکس اگر دقت کنید من اول بدون VPN اسکریپت رو اجرا کردم که نهایتا روی reading config ... موند و ایستاد, چند دقیقه ای هم صبر کردم حتا.
در مرحله بعد VPN رو روشن کردم و دوباره رانش کردم, میبینید که به کانفیگ وصل شد و اجرا شد.
در صورتی که هیچ فیلترینگی نه شامل سرور و نه دامین و نه چیز دیگه ای شده. پشت کلود فلیر هم که هست.

کانفیگ من vmess+cdn+ws+tls هست, ممکنه از اون باشه ایراد؟
ممنونم از توجهتون

image

دانلود نشدن خودکار فایل config.real

سلام وقت بخیر
قبلش خیلی ممنونم به خاطر وقت و زمانی که روی این پروژه میگذارید

توی اخرین اپدیت شما این ویژگی رو اضافه کردین که فایل config.real به صورت خودکار دانلود بشه اما مشکلی که این وسط پیش میاد این هست که کد شما فقط در صورتی کار میکنه که از قبل یک conifg.real موجود باشه و اون رو اپدیت میکنه
ولی اگه پروژه رو تازه دانلود کنیم یا به هر دلیلی config.real موجود نباشه اسکریپت با پیغام
config file does not exist ./config.real
متوقف میشه
با دانش اندکی که من از bash دارم دلیلش تابع fncValidateConfig هست

fncValidateConfig "$config"
fncMainCFFind "$threads" "$progressBar" "$resultFile" "$scriptDir" "$configId" "$configHost" "$configPort" "$configPath" "$configServerName" "$frontDomain" "$scanDomain" "$speed" "$osVersion" "$subnetsFile"

ما اینجا اول fncValidateConfig رو صدا میکنیم بعد اسکریپت اصلی رو اجرا میکنیم ولی قسمت دانلود config.real
اینجا قرار داره

echo "updating config.real"
configRealUrlResult=$(curl -I -L -s http://bot.sudoer.net/config.real | grep "^HTTP" | grep 200 | awk '{ print $2 }')
if [[ "$configRealUrlResult" == "200" ]]
then
curl -s http://bot.sudoer.net/config.real -o "$scriptDir"/config.real
echo "config.real updated with http://bot.sudoer.net/config.real"
echo ""
else
echo ""
echo "url http://bot.sudoer.net/config.real is not reachable"
echo "make sure that you have the updated config.real"
echo ""
fi

و وقتی config.real وجود نداشته باشه اسکریپت اصلا به اونجا نمیرسه که بخواد به طور خودکار این فایل رو دانلود کنه
نمیدونم هدف اصلی این اپدیت برای این بود که فقط config.real اپدیت بشه یا اگه وجود نداره به صورت خودکار دانلود بشه و حدس میزنم مورد دوم مد نظر شماس

به نظر میرسه برخی آی‌پی‌های سالم عبور نمیکنند!

اینطور به نظر میرسه که روی این خط برخی آی‌پی‌های سالم عبور نمیکنند. کد هم مشخصه که داره چیزی رو با سایت خودتون تست میکنه.

domainFronting=$($timeoutCommand 2 curl -s -w "%{http_code}\n" --tlsv1.2 -servername fronting.sudoer.net -H "Host: fronting.sudoer.net" --resolve fronting.sudoer.net:443:"$ip" https://fronting.sudoer.net -o /dev/null | grep '200')

من برای اطمینان توی حلقه IP رو برابر یه آی‌پی که مطمئن بودم درسته قرار دادم و تایم‌اوت هم زیاد کردم و بعد از مدتی failed شد و ازش رد نشد که به تست اصلی برسه.
خود آدرس fronting.sudoer.net هم بدون فیلترشکن تقریباً باز نمیشه حداقل برای من. که میتونه دلیلش همین باشه.
اینطوری ممکنه خیلی آی‌پی‌های سالم رو که پشت اون دستور میمونن رو از دست بدیم.
کلاً پروژه زیاد وابستگی به آدرس‌های سایتتون داره.

How to solve ping fluctuation issue on found ip s?

Recently, ip scanner returns ips whose pings fluctuate that are practically useless. This is because, it tests momentary ping which could fluctuate in permanent utilization.
Is there anyway to configure the app to test each ip's ping and jitter 4 times in 2 seconds (or more) (for instance sampling every 0.5 second)?
By this way, any ip's ping which fluctuates over 1000ms (within 2 seconds) will delist. And finally ip scanner will return stable ips.
It could be second phase of scanning, i mean at first it scans fast all ips which have ping, then it tests every resulted ip's ping to find out stable ips.

Rarallel Error

I got this error on Ubuntu 22.04 and 20.4 after run bash command.

Unknown option: ll
Usage:

parallel [options] [command [arguments]] < list_of_arguments
parallel [options] [command [arguments]] (::: arguments|:::: argfile(s))...
cat ... | parallel --pipe [options] [command [arguments]]

-j n Run n jobs in parallel
-k Keep same order
-X Multiple arguments with context replace
--colsep regexp Split input on regexp for positional replacements
{} {.} {/} {/.} {#} {%} {= perl code =} Replacement strings
{3} {3.} {3/} {3/.} {=3 perl code =} Positional replacement strings
With --plus: {} = {+/}/{/} = {.}.{+.} = {+/}/{/.}.{+.} = {..}.{+..} =
{+/}/{/..}.{+..} = {...}.{+...} = {+/}/{/...}.{+...}

-S sshlogin Example: [email protected]
--slf .. Use ~/.parallel/sshloginfile as the list of sshlogins
--trc {}.bar Shorthand for --transfer --return {}.bar --cleanup
--onall Run the given command with argument on all sshlogins
--nonall Run the given command with no arguments on all sshlogins

--pipe Split stdin (standard input) to multiple jobs.
--recend str Record end separator for --pipe.
--recstart str Record start separator for --pipe.

See 'man parallel' for details

Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:

O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.

error code: 1034 on some Cloudflare IP ranges

As stated in following link access to some IP ranges are prohibited, therefore a HTTP 403 Forbidden would be returned. Catching first 403 and ignoring rest of IPS in the range would improve speed of testing.

$ curl -v -s -w "%{http_code}\n" -H "Host: fronting.sudoer.net" --resolve fronting.sudoer.net:443:5.226.179.37 https://fronting.sudoer.net                                                                    
* Added fronting.sudoer.net:443:5.226.179.37 to DNS cache                                                                                                                                                     
* Hostname fronting.sudoer.net was found in DNS cache                                                                                                                                                         
*   Trying 5.226.179.37:443...                                                                                                                                                                                
* Connected to fronting.sudoer.net (5.226.179.37) port 443 (#0)                                                                                                                                               
* ALPN, offering http/1.1                                                                                                                                                                                     
* successfully set certificate verify locations:                                                                                                                                                              
*   CAfile: /etc/ssl/certs/ca-certificates.crt                                                                                                                                                                
  CApath: /etc/ssl/certs                                                                                                                                                                                      
* TLSv1.3 (OUT), TLS handshake, Client hello (1):                                                                                                                                                             
#REDACTED#                                                                                                                                                     
> GET / HTTP/1.1                                                                                                                                                                                              
> Host: fronting.sudoer.net                                                                                                                                                                                   
> User-Agent: curl/7.72.0                                                                                                                                                                                     > Accept: */*                                                                                                                                                                                                 
>                                                                                                                                                                                                             
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):                                                                                                                                                         
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):                                                                                                                                                         
* old SSL session ID is stale, removing                                                                                                                                                                       
* Mark bundle as not supporting multiuse                                                                                                                                                                      
< HTTP/1.1 403 Forbidden                                                                                                                                                                                      
< Date: Fri, 10 Feb 2023 ##:##:##- GMT                                                                                                                                                                         
< Content-Type: text/plain; charset=UTF-8                                                                                                                                                                     
< Content-Length: 16                                                                                                                                                                                          
< Connection: close                                                                                                                                                                                           
< X-Frame-Options: SAMEORIGIN                                                                                                                                                                                 
< Referrer-Policy: same-origin
< Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Expires: Thu, 01 Jan 1970 00:00:01 GMT
< Server: cloudflare
< CF-RAY: #####-FRA
< 
* Closing connection 0
* TLSv1.3 (OUT), TLS alert, close notify (256):
error code: 1034403

Signal 13 error

shell works fine but something that caught my eye is this error, which happens regularly after checking several IPs, I really don't know if this is the reason behind lots of failed attempts or not. I strongly believe it is broken pipe error and can be fixed. As far as I know it should not affect main code and it's nothing to worry about.

xargs: echo: terminated by signal 13
environment: line 6: bc: command not found

نحوه راه اندازی

سلام برای راه اندازی این اسکریپت نیازه v2ray نصب باشه رو سیستم؟

empty file

سلام
وقتی اجرا میکنم اتفاق خاصی نیمافته و یه فایل خالی میسازه.

`bash -x cfFindIP.sh 16

  • set -o nounset
    ++ uname
  • [[ Linux == \L\i\n\u\x ]]
  • command -v parallel
  • command -v nmap
  • command -v bc
  • command -v timeout
  • threads=16
    ++ curl -s -XGET https://www.cloudflare.com/ips-v4
  • cloudFlareIpList=
    ++ date +%Y%m%d-%H%M%S
  • now=20230126-235727
    +++ dirname -- cfFindIP.sh
    ++ cd -- .
    ++ pwd
  • scriptDir=/home/USER/CFScanner/scripts
  • resultDir=/home/USER/CFScanner/scripts/../result
  • resultFile=/home/USER/CFScanner/scripts/../result/20230126-235727-result.cf
  • '[' '!' -d /home/USER/CFScanner/scripts/../result ']'
  • export -f fncCheckSubnet
  • echo ''
  • sort -n -k1 -t, /home/USER/CFScanner/scripts/../result/20230126-235727-result.cf -o /home/USER/CFScanner/scripts/../result/20230126-235727-result.cf`

parallel

Hello there
Unfortunately, i wasn't able to install Parallel library.

would you please use a new library instead?
here is the error i encounter while installing Parallel on macbook pro ventura m2

image

extra characters at the end of p command | MacOS

Hi,
I'm getting this error on macOs Ventura

OK 31.43.179.13 ResponseTime 2 sed: 1: "/Users/macos/Desktop/CF ...": extra characters at the end of p command sed: 1: "/Users/macos/Desktop/CF ...": extra characters at the end of p command sed: 1: "/Users/macos/Desktop/CF ...": extra characters at the end of p command sed: 1: "/Users/macos/Desktop/CF ...": extra characters at the end of p command sed: 1: "/Users/macos/Desktop/CF ...": extra characters at the end of p command sed: 1: "/Users/macos/Desktop/CF ...": extra characters at the end of p command /Users/macos/Desktop/CFScanner/scripts/v2ray: /Users/macos/Desktop/CFScanner/scripts/v2ray: cannot execute binary file
Still the output gets written down in the results folder.
Plus, I get this error on Ubuntu Linux running in Parallels

FAILED 31.43.179.0 /home/ubuntu/CFScanner/scripts/v2ray: 1: ELF: not found /home/ubuntu/CFScanner/scripts/v2ray: 2: Syntax error: "(" unexpected

working ips found , not working at all

i did like 4-6 scans and its not finding anything. even on that ip range i am using at this moment .
so the program skipping something i dont know what exactly. im sure about it.
as i said even that ip working well for me not showing in program. overall founding 0 ips working
can you check it ?

استفاده برای VLESS

امکانش هست این برنامه برای دیگر پروتکل ها مخصوصا VLESS بشه تنظیمش کرد؟ چون الان بعضی IP ها کار می کنن برای VLESS ولی اکثرا کار نمی کنن و پیدا کردنشونم از بین این همه IP کار بسیار سختی هست.

چند نکته برای اجرا درست

سلام دوستان چند نکته وجود داره باید رعایتش کنید اول کار.

1- کانفیگ vmess خودتون رو بردارید تو فایل config.json.temp قرار بدید مطابق متغیرهایی که ست شده تو port,ip,path,host,servername رو تو کانفیگ خودتون جایگذاری کنید ( نسخه اولیه config.json.temp رو ببینید متوجه میشید).
1-1 نکته = تو قسمت path یک / وجود داره جلوش متغیر ENDPOINTENDPOINT نوشته شده / رو پاک کنید ( برا اونایی که pathشون / هستش (چون تو کانفیگ ۲تا / میزاره کلا کانفیگ به درستی کار نمیکنه))

2- فایل کانفیگ config.real رو با اطلاعات کانفیگ خودتون تغییر بدید ( host ,ServerName) مطابق کانفیگ خودتون بنویسید ( برای من جفتشون دامنه ی خودم هستش)
3- اگه فایل cfFindIP.sh با ادیتو متنی باز کنید خط 260 رو پیدا کنید اگه ۲۰۰ رو تغییر بدید دیگه نمیره از فلان جا ای پی لیست کنه براتون میاد از فایل cf.local.iplist ای پی هارو میخونه ( این کار باعث میشه هر سری کلی ای پی که کار نمیکنه رو اسکن نکنه ( حتی میتونید تعداد ای پی هارو کاهش بدید من تست کردم تو رنج 45 حدود ۶۰ تا ای پی پیدا کردم البته همشون برام کار نکردن با nekoray تست اسپید دانلود گرفتم متوسط بین 1.5 تا 3 بود سرعتشون))
یکی از دوستان هم اومده تغییراتی داده اسکریپت رو بصورت رنج خاص هم میتونید اسکن کنید ( مورد سوم رو براتون خیلی راحت کرده)
برای اسکن هم یه بسته ساعتی بزنید ( اون رنج هایی که کلا تایم اوت هستن رو پاک کنید تا وقتتون گرفته نشه )

curl ignores --resolve

As in ubuntu 20.04:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal
$ uname -a
Linux #redacted# 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 #redacted# UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ curl --version
curl 7.72.0 (Linux) libcurl/7.72.0 OpenSSL/1.1.1f zlib/1.2.11
Release-Date: 2020-08-19
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM SSL UnixSockets
$ curl -v -s -w "%{http_code}\n" --tlsv1.2 -servername fronting.sudoer.net -H "Host: fronting.sudoer.net" --resolve fronting.sudoer.net:443:185.148.105.163 https://fronting.sudoer.net
*  fronting.sudoer.net:443:185.148.105.163 to DNS cache
*   Trying 172.67.217.46:80...
*   Trying 2606:####:3030::###:5347:80...
* Immediate connect fail for 2606:4700:3030::###:5347: Network is unreachable
*   Trying 2606:4700:3035::####:d92e:80...
* Immediate connect fail for 2606:####:3035::###:d92e: Network is unreachable

It's look like --tlsv1.2 option is responsible for this issue. Removing mentioned options will make curl behave.

$ curl -k -v -s -w "%{http_code}\n" -H "Host: fronting.sudoer.net" --resolve fronting.sudoer.net:443:31.43.179.144 https://fronting.sudoer.net

* Added fronting.sudoer.net:443:31.43.179.144 to DNS cache
* Hostname fronting.sudoer.net was found in DNS cache  
*   Trying 31.43.179.144:443...
* Connected to fronting.sudoer.net (31.43.179.144) port 443 (#0)                                                                                                                                              
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):

Sources or ARM version of "v2ray" Binaries

Hi,
I want to run the CFScanner on a spare Raspberry Pi but it seems the binaries are for x86 arch
Can you provide the source of v2ray so I can build it or let me know where I can find it?

This is the Error I get on a Raspberry Pi with Liunx 5.15 (Raspbian bullseye)

/home/***/CFScanner/scripts/v2ray: 1:ELF: not found
/home/***/CFScanner/scripts/v2ray: 2: Syntax error: "(" unexpected

لیست آی‌پی به جای لیست ساب‌نت

سلام. من می‌خوام به جای ساب‌نت‌های پیش‌فرض، لیست آی‌پی‌های http://bot.sudoer.net/best.cf.iran.all رو با کانفیگ خودم تست کنم. مجبورم انتهای همه آی‌پی‌ها 32/ بذارم. خیلی کند پیش می‌ره اسکن. هرچقدر هم تعداد threadها رو زیاد می‌کنم، به نظر میاد که هر ساب‌نت جداگانه بررسی می‌شه و عملا بالا بردن تعداد تردها فایده‌ای نداره.

Getting Errors when trying to run program

every time I run the program I get this error .Net framework is installed on my machine and I have tried giving Administration access to the program. Still, unfortunately, It keeps showing this error. BTW thanks for helping people get access to free internet and flow of data

The error message is: Input string was not in a correct format

System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at WinCFScan.frmMain.updateCFIPListStatusText() in C:\Users\Admin\Desktop\WinCFScan\WinCFScan\frmMain.cs:line 507
at WinCFScan.frmMain.loadCFIPListView() in C:\Users\Admin\Desktop\WinCFScan\WinCFScan\frmMain.cs:line 457
at WinCFScan.frmMain.oneTimeChecks() in C:\Users\Admin\Desktop\WinCFScan\WinCFScan\frmMain.cs:line 313
at WinCFScan.frmMain.timerBase_Tick(Object sender, EventArgs e) in C:\Users\Admin\Desktop\WinCFScan\WinCFScan\frmMain.cs:line 191

Kind Regards

Is it possible to add upload speed?

Thanks for the work. What I am seeing recently is that they tend to throttle the upload speed and I am wondering whether this is the case on all CF ips or just some of them. Maybe we can add an upload column and see if that's the case?

IP Calculation Method

What do you think about calculating the overall progress percentage accurately? You can add up all the subnets on the IP range and since you're converting the subnets to IPs, subtract one IP from the total subnet count each time you check an IP. This way, you can determine both the progress percentage and the remaining number of IPs.

I use the following code to calculate the sum of IPs along with subnets.


#!/bin/bash
subnets=$(cat cf.local.iplist)
total_hosts=0
for subnet in $subnets
do
    hosts=$(ipcalc -n "$subnet" | awk '/Hosts\/Net:/ {print $2}')
    ((total_hosts+=hosts))
done
echo "Total Hosts: $total_hosts"

اجرا بر روی ویندوز

مرتضی جان در ابتدا از زحماتت تشکر میکنم،آیا امکان استفاده بر روی ویندوز وجود دارد؟

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.