Skip to content

Commit

Permalink
Changed name
Browse files Browse the repository at this point in the history
Updated README.md
Updated app icon (Windows)
  • Loading branch information
Kazem-ma79 committed Jul 18, 2023
1 parent 996ce3b commit 403ee01
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="net.mahsanet.cfscanner" android:installLocation="preferExternal">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.1.0" package="net.mahsanet.cfscanner" android:installLocation="preferExternal">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="33" />
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
8 changes: 4 additions & 4 deletions Android/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CFScanner")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
Expand All @@ -22,8 +22,8 @@
// Minor Version
// Build Number
// Revision
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]

// Custom settings
[assembly: Application(UsesCleartextTraffic = true)]
[assembly: Application(UsesCleartextTraffic = true)]
2 changes: 1 addition & 1 deletion Android/Resources/values-fa/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">CFScanner</string>
<string name="app_name">CF Domain Scanner</string>
<string name="app_description">
ابزار CFScanner، جهت بررسی فیلتر دامنه های پشت کلودفلر!
این برنامه بررسی میکند که یک دامنه فیلتر شده یا خیر و IP های تمیز CDN کلودفلر را اسکن میکند برای زنده کردن دوباره SNI.
Expand Down
2 changes: 1 addition & 1 deletion Android/Resources/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">CFScanner</string>
<string name="app_name">CF Domain Scanner</string>
<string name="app_description">
Introducing CFScanner, ultimate domain filter checking companion!
This app effortlessly checks if a domain is filtered and finds clean Cloudflare CDN IPs to recover domain using SNI.
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div style="text-align: center;">

[![Logo](/images/logo.png)](https://github.com/kazem-ma79/CFScanner)

## CFScanner
<h1 style="text-align: center;">CF Domain Scanner</h1>

An awesome domain-based Cloudflare CDN IP scanner and domain filter checker! 

Expand All @@ -10,6 +12,8 @@ An awesome domain-based Cloudflare CDN IP scanner and domain filter checker! 

![Downloads](https://img.shields.io/github/downloads/kazem-ma79/CFScanner/total) ![Forks](https://img.shields.io/github/forks/kazem-ma79/CFScanner?style=social) ![Stargazers](https://img.shields.io/github/stars/kazem-ma79/CFScanner?style=social) ![Issues](https://img.shields.io/github/issues/kazem-ma79/CFScanner) ![License](https://img.shields.io/github/license/kazem-ma79/CFScanner)

</div>

## Table Of Contents

* [About the Project](#about-the-project)
Expand All @@ -24,7 +28,8 @@ An awesome domain-based Cloudflare CDN IP scanner and domain filter checker! 

## About The Project

<img src="/images/screenshot.png" width="200px"/>
<img src="/images/sc-android.png" width="200px"/>
<img src="/images/sc-windows.png" width="280px"/>

Using this tool you can scan Cloudflare CDN IP addresses that work with your own domain. Also it's possible to check if your domain is filtered.

Expand Down
8 changes: 8 additions & 0 deletions Windows/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Reflection;
using System.Windows;

[assembly: ThemeInfo(
Expand All @@ -8,3 +9,10 @@
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

// Major Version
// Minor Version
// Build Number
// Revision
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
18 changes: 9 additions & 9 deletions Windows/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xmlns:mah="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Title="CFScanner" Height="600" MinHeight="600" MaxHeight="600" Width="350" MinWidth="350" MaxWidth="350">
Title="CF Domain Scanner" Height="600" MinHeight="600" MaxHeight="600" Width="400" MinWidth="400" MaxWidth="400">

<mah:MetroWindow.RightWindowCommands>
<mah:WindowCommands>
Expand All @@ -21,18 +21,18 @@

<Grid Background="Black">
<Label x:Name="HostnameLabel" Margin="10,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Hostname"/>
<TextBox x:Name="Hostname" Margin="100,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" TextWrapping="NoWrap" Width="200"/>
<TextBox x:Name="Hostname" Margin="100,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" TextWrapping="NoWrap" Width="280"/>
<Label x:Name="PortLabel" Margin="10,60,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Port"/>
<mah:NumericUpDown x:Name="Port" Margin="100,60,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" TextAlignment="Left" Minimum="1" Maximum="65535" Value="443" Width="200"/>
<mah:NumericUpDown x:Name="Port" Margin="100,60,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" TextAlignment="Left" Minimum="1" Maximum="65535" Value="443" Width="280"/>
<Label x:Name="ThreadLabel" Margin="10,100,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Thread"/>
<mah:NumericUpDown x:Name="Thread" Margin="100,100,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" TextAlignment="Left" Value="10" Width="200"/>
<mah:NumericUpDown x:Name="Thread" Margin="100,100,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" TextAlignment="Left" Value="10" Width="280"/>
<Label x:Name="IPLabel" Margin="10,140,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Cloudflare IP"/>
<local:IPAddressTextBox x:Name="CloudflareIP" Margin="100,140,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="200"/>
<mah:ToggleSwitch x:Name="SSL" Margin="50,180,0,0" VerticalAlignment="Top" Header="SSL" Width="100"/>
<mah:ToggleSwitch x:Name="Mode" Margin="200,180,0,0" VerticalAlignment="Top" Header="App Mode" OnContent="Scanner" OffContent="Checker" Width="100"/>
<local:IPAddressTextBox x:Name="CloudflareIP" Margin="100,140,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="280"/>
<mah:ToggleSwitch x:Name="SSL" Margin="75,180,0,0" VerticalAlignment="Top" Header="SSL" Width="100"/>
<mah:ToggleSwitch x:Name="Mode" Margin="225,180,0,0" VerticalAlignment="Top" Header="App Mode" OnContent="Scanner" OffContent="Checker" Width="100"/>
<ListBox x:Name="Result" Margin="10,250,10,85"/>
<Button x:Name="StartBtn" Margin="10,0,180,10" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Content="Scan/Check" Click="StartBtn_Click"/>
<Button x:Name="CancelBtn" Margin="180,0,10,10" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Content="Cancel" Click="CancelBtn_Click"/>
<Button x:Name="StartBtn" Margin="10,0,210,10" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Content="Scan/Check" Click="StartBtn_Click"/>
<Button x:Name="CancelBtn" Margin="210,0,10,10" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Content="Cancel" Click="CancelBtn_Click"/>
<mah:MetroProgressBar x:Name="ScanProgress" Margin="10,0,10,50" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="20"/>
<Label x:Name="ProgressLabel" Margin="10,490,10,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" Content=""/>
</Grid>
Expand Down
5 changes: 5 additions & 0 deletions Windows/Windows.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<ApplicationIcon>cf-scanner.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
<Content Include="cf-scanner.ico" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MahApps.Metro" Version="2.4.10" />
</ItemGroup>
Expand Down
Binary file added Windows/cf-scanner.ico
Binary file not shown.
File renamed without changes
Binary file added images/sc-windows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 403ee01

Please sign in to comment.