增加http_proxy重连逻辑

This commit is contained in:
Mob2003
2023-04-08 21:29:05 +08:00
parent b48e9e77ac
commit bd49fdc0bf
26 changed files with 356 additions and 289 deletions
+2 -2
View File
@@ -1,6 +1,7 @@
package server
import (
"cert"
"encoding/base64"
"encoding/hex"
"encoding/json"
@@ -10,7 +11,6 @@ import (
"os"
"os/exec"
"path/filepath"
"cert"
"rakshasa/common"
"strconv"
"time"
@@ -28,7 +28,7 @@ type ShellCodeStruct struct {
func RunShellcodeWithDst(dst, shellcode, xorKey, param string, timeout int) error {
if dst != "" {
n, err := getNodeWithCurrentNode(dst)
n, err := getNode(dst)
if err != nil {
return fmt.Errorf("无法链接节点%s,错误%v", dst, err)
}