Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CFscannerCmd = &cobra.Command{ Use: "cfscanner", Short: "Cloudflare's edge IP scanner (delay, downlink, uplink)", Long: ``, Run: func(cmd *cobra.Command, args []string) { var cidrs []string var totalIPs []string if _, err := os.Stat(subnets); err == nil { cidrs = utils.ParseFileByNewline(subnets) } else { cidrs = strings.Split(subnets, ",") } for _, cidr := range cidrs { listIP, err := utils.CIDRtoListIP(cidr) if err != nil { customlog.Printf(customlog.Failure, "Error when parsing a CIDR: %v\n", err) continue } totalIPs = append(totalIPs, listIP...) } if len(totalIPs) <= 0 { customlog.Printf(customlog.Failure, "Scanner failed! => No IP detected\n") } }, }
CFscannerCmd represents the cfscanner command
View Source
var RealityscannerCmd = &cobra.Command{ Use: "realityscanner", Short: "xray-core TLS REALITY scanner", Long: ``, Run: func(cmd *cobra.Command, args []string) { fmt.Println("realityscanner called") }, }
RealityscannerCmd represents the realityscanner command
View Source
var ScanCmd = &cobra.Command{ Use: "scan", Short: "Scanning tools needed for bypassing GFW", Long: ``, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
ScanCmd represents the scan command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.