feat: complete basic functions

Support http,dns and mysql connection. Support custom http, dns response. Support dns rebinding.
Support mysql load local files and jdbc deserialize exploit.
This commit is contained in:
Li4n0
2021-04-21 18:55:16 +08:00
parent e9db8ddb24
commit 3559894acc
114 changed files with 41617 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package server
import (
"github.com/li4n0/revsuit/pkg/dns"
"github.com/li4n0/revsuit/pkg/mysql"
"github.com/li4n0/revsuit/pkg/rhttp"
)
type noticeConfig struct {
DingTalk string
Lark string
WeiXin string
Slack string
}
type Config struct {
Addr string
Token string
Database string
LogLevel string
Notice noticeConfig
rhttp.Config
DNS dns.Config
Mysql mysql.Config
}