mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
refactor: 大型重构
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ func RedisScan(info *Common.HostInfo) (tmperr error) {
|
||||
return err
|
||||
}
|
||||
|
||||
if Common.IsBrute {
|
||||
if Common.DisableBrute {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ func RedisUnauth(info *Common.HostInfo) (flag bool, err error) {
|
||||
// Expoilt 尝试Redis漏洞利用
|
||||
func Expoilt(realhost string, conn net.Conn) error {
|
||||
// 如果配置为不进行测试则直接返回
|
||||
if Common.Noredistest {
|
||||
if Common.DisableRedis {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user