Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageLangFor ¶
PageLangFor 按连接类型推荐隧道页语言:jsp→jsp,php→php,其余回退 jsp(舰队以 Tomcat 为主)。
func RenderPage ¶
RenderPage 生成目标侧隧道页。kind: jsp / php。
func SuggestPagePath ¶
SuggestPagePath 推荐落点:与现有 shell 同目录同扩展名(同目录即同 webapp 可达路径)。
Types ¶
type PageDeployer ¶
type PageDeployer interface {
DeployPage(ctx context.Context, sess session.Session, path string, content []byte) error
RemovePage(ctx context.Context, sess session.Session, path string) error
}
PageDeployer is the host boundary for writing/removing the target-side page.
type Plan ¶
Plan describes a WebShell-over-HTTP SOCKS tunnel. The host must deploy the page with its session executor and run the local SOCKS listener.
Click to show internal directories.
Click to hide internal directories.