-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
525 additions
and
671 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
package config | ||
|
||
var RedGuardConfig = `[cert] | ||
# User Optional name | ||
DNSName = *.aliyun.com,manager.channel.aliyun.com,*.acs-internal.aliyuncs.com,*.connect.aliyun.com,aliyun.com,whois.www.net.cn,tianchi-global.com | ||
# Cert User CommonName | ||
CommonName = *.aliyun.com | ||
# Cert User Locality | ||
Locality = HangZhou | ||
# Cert User Organization | ||
Organization = Alibaba (China) Technology Co., Ltd. | ||
# Cert User Country | ||
Country = CN | ||
# Whether to use the certificate you have applied for true/false | ||
HasCert = true | ||
[proxy] | ||
# key : Header Host value of the reverse proxy | ||
# value : The actual address forwarded by the reverse proxy | ||
HostTarget = {"360.net":"http://127.0.0.1:8080","360.com":"https://127.0.0.1:4433"} | ||
# HTTPS Reverse proxy port | ||
Port_HTTPS = :443 | ||
# HTTP Reverse proxy port | ||
Port_HTTP = :80 | ||
# RedGuard interception action: redirect / reset / proxy (Hijack HTTP Response) | ||
drop_action = proxy | ||
# URL to redirect to | ||
Redirect = https://360.net | ||
# IP address owning restrictions example:AllowLocation = 山东,上海,杭州 or shanghai,beijing | ||
AllowLocation = * | ||
# Whitelist list example: AllowIP = 172.16.1.1,192.168.1.1 | ||
AllowIP = * | ||
# Limit the time of requests example: AllowTime = 8:00 - 16:00 | ||
AllowTime = * | ||
# C2 Malleable File Path | ||
MalleableFile = * | ||
` | ||
package config | ||
|
||
var RedGuardConfig = `[cert] | ||
# User Optional name | ||
DNSName = *.aliyun.com,manager.channel.aliyun.com,*.acs-internal.aliyuncs.com,*.connect.aliyun.com,aliyun.com,whois.www.net.cn,tianchi-global.com | ||
# Cert User CommonName | ||
CommonName = *.aliyun.com | ||
# Cert User Locality | ||
Locality = HangZhou | ||
# Cert User Organization | ||
Organization = Alibaba (China) Technology Co., Ltd. | ||
# Cert User Country | ||
Country = CN | ||
# Whether to use the certificate you have applied for true/false | ||
HasCert = true | ||
[proxy] | ||
# key : Header Host value of the reverse proxy | ||
# value : The actual address forwarded by the reverse proxy | ||
HostTarget = {"360.net":"http://127.0.0.1:8080","360.com":"https://127.0.0.1:4433"} | ||
# HTTPS Reverse proxy port | ||
Port_HTTPS = :443 | ||
# HTTP Reverse proxy port | ||
Port_HTTP = :80 | ||
# RedGuard interception action: redirect / reset / proxy (Hijack HTTP Response) | ||
drop_action = proxy | ||
# URL to redirect to | ||
Redirect = https://360.net | ||
# IP address owning restrictions example:AllowLocation = 山东,上海,杭州 or shanghai,beijing | ||
AllowLocation = * | ||
# Whitelist list example: AllowIP = 172.16.1.1,192.168.1.1 | ||
AllowIP = * | ||
# Limit the time of requests example: AllowTime = 8:00 - 16:00 | ||
AllowTime = * | ||
# C2 Malleable File Path | ||
MalleableFile = * | ||
# Edge Host Communication Domain | ||
EdgeHost = * | ||
# Edge Host Proxy Target example: EdgeTarget = 360.com | ||
EdgeTarget = * | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
/** | ||
* @Author 风起 | ||
* @contact: onlyzaliks@gmail.com | ||
* @File: version.go | ||
* @Time: 2022/5/5 9:25 | ||
**/ | ||
|
||
package config | ||
|
||
const ( | ||
BANNER = ` | ||
██████╗ ███████╗██████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗ ██████╗ | ||
██╔══██╗██╔════╝██╔══██╗ ██╔════╝ ██║ ██║██╔══██╗██╔══██╗██╔══██╗ | ||
██████╔╝█████╗ ██║ ██║ ██║ ███╗██║ ██║███████║██████╔╝██║ ██║ | ||
██╔══██╗██╔══╝ ██║ ██║ ██║ ██║██║ ██║██╔══██║██╔══██╗██║ ██║ | ||
██║ ██║███████╗██████╔╝ ╚██████╔╝╚██████╔╝██║ ██║██║ ██║██████╔╝ -V %s | ||
╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ | ||
Github:%s | ||
RedGuard is a C2 front flow control tool,Can avoid Blue Teams,AVs,EDRs check. | ||
` | ||
VERSION = "22.7.21 Alpha" | ||
TITLE = "RedGuard" | ||
LICENSE = "GPL-2.0" | ||
URL = "https://github.com/wikiZ/RedGuard" | ||
AUTHOR = "风起" | ||
TEAM = "0/00" | ||
COPYRIGHT = "Copyright (C) 2022 风起. All Rights Reserved" | ||
) | ||
/** | ||
* @Author 风起 | ||
* @contact: onlyzaliks@gmail.com | ||
* @File: version.go | ||
* @Time: 2022/5/5 9:25 | ||
**/ | ||
|
||
package config | ||
|
||
const ( | ||
BANNER = ` | ||
██████╗ ███████╗██████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗ ██████╗ | ||
██╔══██╗██╔════╝██╔══██╗ ██╔════╝ ██║ ██║██╔══██╗██╔══██╗██╔══██╗ | ||
██████╔╝█████╗ ██║ ██║ ██║ ███╗██║ ██║███████║██████╔╝██║ ██║ | ||
██╔══██╗██╔══╝ ██║ ██║ ██║ ██║██║ ██║██╔══██║██╔══██╗██║ ██║ | ||
██║ ██║███████╗██████╔╝ ╚██████╔╝╚██████╔╝██║ ██║██║ ██║██████╔╝ -V %s | ||
╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ | ||
Github:%s | ||
RedGuard is a C2 front flow control tool,Can avoid Blue Teams,AVs,EDRs check. | ||
` | ||
VERSION = "22.08.03 Alpha" | ||
TITLE = "RedGuard" | ||
LICENSE = "GPL-2.0" | ||
URL = "https://github.com/wikiZ/RedGuard" | ||
AUTHOR = "风起" | ||
TEAM = "0/00" | ||
COPYRIGHT = "Copyright (C) 2022 风起. All Rights Reserved" | ||
) |
Oops, something went wrong.