From 24c5373ccee3a862c8fffbc0fa0c5b17e042027b Mon Sep 17 00:00:00 2001 From: Cheikh Seck Date: Sat, 7 Oct 2017 19:09:44 +0000 Subject: [PATCH] live reload in dev on windows. --- gos.gxml | 2 +- server_out.go | 1387 +++++++++++++++++++++++-------------------------- 2 files changed, 647 insertions(+), 742 deletions(-) diff --git a/gos.gxml b/gos.gxml index 299db5f..ac2a348 100755 --- a/gos.gxml +++ b/gos.gxml @@ -1731,7 +1731,7 @@ for _, v := range apps { pkSpl := strings.Split(r.FormValue("pkg"), "/") if Windows { - go core.RunCmd("cmd /C start " + pkSpl[len(pkSpl)-1] ) + go core.RunCmd("cmd /C gos --run") //live reload on windows... } else { shscript := `#!/bin/bash cmd="./` + pkSpl[len(pkSpl)-1] + ` " diff --git a/server_out.go b/server_out.go index 782f82f..1b620e6 100644 --- a/server_out.go +++ b/server_out.go @@ -24,7 +24,6 @@ import ( "path/filepath" "reflect" "runtime" - "runtime/trace" "strconv" "strings" "sync" @@ -100,58 +99,7 @@ func net_sessionSetInt(key string, value interface{}, s *sessions.Session) strin func dbDummy() { smap := db.O{} smap["key"] = "set" - fmt.Println(smap) -} - -func TraceTwo(sec int64) { - - /* - if durationExceedsWriteTimeout(r, sec) { - w.Header().Set("Content-Type", "text/plain; charset=utf-8") - w.Header().Set("X-Go-Pprof", "1") - w.WriteHeader(http.StatusBadRequest) - fmt.Fprintln(w, "profile duration exceeds server's WriteTimeout") - return - } */ - - // Set Content Type assuming trace.Start will work, - // because if it does it starts writing. - var w bytes.Buffer - if err := trace.Start(&w); err != nil { - // trace.Start failed, so no writes yet. - // Can change header back to text content and send error code. - fmt.Println("Stack trace failed.") - return - } - - trace.Stop() - ioutil.WriteFile("__heap", w.Bytes(), 0777) - //fmt.Println(w.String()) -} -func Trace(nam string) { - - /* - if durationExceedsWriteTimeout(r, sec) { - w.Header().Set("Content-Type", "text/plain; charset=utf-8") - w.Header().Set("X-Go-Pprof", "1") - w.WriteHeader(http.StatusBadRequest) - fmt.Fprintln(w, "profile duration exceeds server's WriteTimeout") - return - } */ - - // Set Content Type assuming trace.Start will work, - // because if it does it starts writing. - var w bytes.Buffer - if err := trace.Start(&w); err != nil { - // trace.Start failed, so no writes yet. - // Can change header back to text content and send error code. - fmt.Println("Stack trace failed.") - return - } - - trace.Stop() - ioutil.WriteFile(nam, w.Bytes(), 0777) - //fmt.Println(w.String()) + log.Println(smap) } func net_importcss(s string) string { @@ -176,7 +124,7 @@ func renderTemplate(w http.ResponseWriter, r *http.Request, tmpl string, p *Page pag, err := loadPage("") if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) return } if pag.isResource { @@ -194,22 +142,22 @@ func renderTemplate(w http.ResponseWriter, r *http.Request, tmpl string, p *Page p.Session = session p.R = r if err != nil { - // fmt.Print(err) + // log.Print(err) return false } else { t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) outp := new(bytes.Buffer) error := t.Execute(outp, p) if error != nil { - fmt.Println(error.Error()) + log.Println(error.Error()) DebugTemplate(w, r, fmt.Sprintf("web%s", r.URL.Path)) w.WriteHeader(http.StatusInternalServerError) w.Header().Set("Content-Type", "text/html") pag, err := loadPage("") if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) return false } if pag.isResource { @@ -643,11 +591,9 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio } callmet = true - //context.Clear(r) - } - if r.URL.Path == "/api/pkg-bugs" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/pkg-bugs" && r.Method == strings.ToUpper("GET") { bugs := GetLogs(r.FormValue("pkg")) sapp := net_getApp(getApps(), r.FormValue("pkg")) @@ -657,34 +603,28 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio response = mResponse(bugs[0]) } - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/empty" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/empty" && r.Method == strings.ToUpper("GET") { ClearLogs(r.FormValue("pkg")) response = net_bAlert(Alertbs{Type: "success", Text: "Your build logs are cleared."}) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/tester/" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/tester/" && r.Method == strings.ToUpper("POST") { gp := os.ExpandEnv("$GOPATH") os.Chdir(gp + "/src/" + r.FormValue("pkg")) logfull, _ := core.RunCmdSmart("gos " + r.FormValue("mode") + " " + r.FormValue("c")) response = html.EscapeString(logfull) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/create" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/create" && r.Method == strings.ToUpper("POST") { //me := &SoftUser{Email:"Strukture user", Username:"Strukture user"} @@ -752,12 +692,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio response = net_bMV(FSCs{Path: r.FormValue("path"), Form: Forms{Link: "/api/act?type=70&pkg=" + r.FormValue("pkg") + "&folder=" + "&prefix=" + r.FormValue("path"), Inputs: varf, CTA: "Move", Class: "warning"}}) } - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/delete" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/delete" && r.Method == strings.ToUpper("POST") { if r.FormValue("type") == "0" { @@ -921,19 +859,15 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio } - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/rename" && r.Method == strings.ToUpper("POST") && !callmet { - - //context.Clear(r) + if !callmet && r.URL.Path == "/api/rename" && r.Method == strings.ToUpper("POST") { callmet = true } - if r.URL.Path == "/api/new" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/new" && r.Method == strings.ToUpper("POST") { if r.FormValue("type") == "0" { inputs := []Inputs{} @@ -950,12 +884,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio response = bPluginList(NoStruct{}) } - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/act" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/act" && r.Method == strings.ToUpper("POST") { if r.FormValue("type") == "0" { apps := getApps() @@ -1086,12 +1018,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio } } - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/put" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/put" && r.Method == strings.ToUpper("POST") { me := SoftUser{Email: "Strukture user", Username: "Strukture user"} @@ -1256,12 +1186,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio //Users.Update(bson.M{"uid":me.UID}, me) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/build" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/build" && r.Method == strings.ToUpper("GET") { mutex.Lock() defer mutex.Unlock() @@ -1414,12 +1342,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio //Users.Update(bson.M{"uid":me.UID}, me) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/start" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/start" && r.Method == strings.ToUpper("GET") { mutex.Lock() defer mutex.Unlock() @@ -1438,7 +1364,7 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio pkSpl := strings.Split(r.FormValue("pkg"), "/") if Windows { - go core.RunCmd("cmd /C start " + pkSpl[len(pkSpl)-1]) + go core.RunCmd("cmd /C gos --run") //live reload on windows... } else { shscript := `#!/bin/bash cmd="./` + pkSpl[len(pkSpl)-1] + ` " @@ -1469,12 +1395,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio //Users.Update(bson.M{"uid":me.UID}, me) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/stop" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/stop" && r.Method == strings.ToUpper("GET") { mutex.Lock() defer mutex.Unlock() @@ -1497,12 +1421,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio //Users.Update(bson.M{"uid":me.UID}, me) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/bin" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/bin" && r.Method == strings.ToUpper("GET") { mutex.Lock() defer mutex.Unlock() @@ -1530,12 +1452,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio w.Header().Set("Content-Disposition", fmt.Sprintf("attachment; filename=\"%s\"", zipname)) http.ServeFile(w, r, zipname) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/export" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/export" && r.Method == strings.ToUpper("GET") { mutex.Lock() defer mutex.Unlock() @@ -1555,12 +1475,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio w.Header().Set("Content-Disposition", fmt.Sprintf("attachment; filename=\"%s\"", zipname)) http.ServeFile(w, r, strings.Replace(r.FormValue("pkg"), "/", ".", -1)+".zip") - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/complete" && r.Method == strings.ToUpper("GET") && !callmet { + if !callmet && r.URL.Path == "/api/complete" && r.Method == strings.ToUpper("GET") { prefx := r.FormValue("pref") ret := []bson.M{} @@ -1628,12 +1546,10 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio response = mResponse(ret) - //context.Clear(r) - callmet = true } - if r.URL.Path == "/api/console" && r.Method == strings.ToUpper("POST") && !callmet { + if !callmet && r.URL.Path == "/api/console" && r.Method == strings.ToUpper("POST") { if strings.Contains(r.FormValue("command"), "cd") { parts := strings.Fields(r.FormValue("command")) @@ -1659,8 +1575,6 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio response = "" - //context.Clear(r) - callmet = true } @@ -1672,9 +1586,9 @@ func apiAttempt(w http.ResponseWriter, r *http.Request, session *sessions.Sessio w.Header().Set("Content-Type", "application/json") w.Write([]byte(response)) } - return true + return } - return false + return } func SetField(obj interface{}, name string, value interface{}) error { structValue := reflect.ValueOf(obj).Elem() @@ -1703,9 +1617,9 @@ func DebugTemplate(w http.ResponseWriter, r *http.Request, tmpl string) { linestring := "" defer func() { if n := recover(); n != nil { - fmt.Println() - // fmt.Println(n) - fmt.Println("Error on line :", lastline+1, ":"+strings.TrimSpace(linestring)) + log.Println() + // log.Println(n) + log.Println("Error on line :", lastline+1, ":"+strings.TrimSpace(linestring)) //http.Redirect(w,r,"",307) } }() @@ -1721,12 +1635,12 @@ func DebugTemplate(w http.ResponseWriter, r *http.Request, tmpl string) { p.Session = session p.R = r if err != nil { - fmt.Print(err) + log.Print(err) } else { lines := strings.Split(string(body), "\n") - // fmt.Println( lines ) + // log.Println( lines ) linebuffer := "" waitend := false open := 0 @@ -1746,13 +1660,13 @@ func DebugTemplate(w http.ResponseWriter, r *http.Request, tmpl string) { //exec outp := new(bytes.Buffer) t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(linebuffer+endstr, "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) lastline = i linestring = line error := t.Execute(outp, p) if error != nil { - fmt.Println("Error on line :", i+1, line, error.Error()) + log.Println("Error on line :", i+1, line, error.Error()) } } @@ -1766,13 +1680,13 @@ func DebugTemplate(w http.ResponseWriter, r *http.Request, tmpl string) { //exec outp := new(bytes.Buffer) t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(linebuffer+endstr, "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) lastline = i linestring = line error := t.Execute(outp, p) if error != nil { - fmt.Println("Error on line :", i+1, line, error.Error()) + log.Println("Error on line :", i+1, line, error.Error()) } } @@ -1780,13 +1694,13 @@ func DebugTemplate(w http.ResponseWriter, r *http.Request, tmpl string) { if !waitend && !processd { outp := new(bytes.Buffer) t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(line, "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) lastline = i linestring = line error := t.Execute(outp, p) if error != nil { - fmt.Println("Error on line :", i+1, line, error.Error()) + log.Println("Error on line :", i+1, line, error.Error()) } } @@ -1810,8 +1724,8 @@ func DebugTemplatePath(tmpl string, intrf interface{}) { defer func() { if n := recover(); n != nil { - fmt.Println("Error on line :", lastline+1, ":"+strings.TrimSpace(linestring)) - fmt.Println(n) + log.Println("Error on line :", lastline+1, ":"+strings.TrimSpace(linestring)) + log.Println(n) //http.Redirect(w,r,"",307) } }() @@ -1820,12 +1734,12 @@ func DebugTemplatePath(tmpl string, intrf interface{}) { body, err := Asset(filename) if err != nil { - fmt.Print(err) + log.Print(err) } else { lines := strings.Split(string(body), "\n") - // fmt.Println( lines ) + // log.Println( lines ) linebuffer := "" waitend := false open := 0 @@ -1845,13 +1759,13 @@ func DebugTemplatePath(tmpl string, intrf interface{}) { processd = true outp := new(bytes.Buffer) t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(linebuffer+endstr, "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate([]byte(fmt.Sprintf("%s%s", linebuffer, endstr)))) lastline = i linestring = line error := t.Execute(outp, intrf) if error != nil { - fmt.Println("Error on line :", i+1, line, error.Error()) + log.Println("Error on line :", i+1, line, error.Error()) } } @@ -1865,13 +1779,13 @@ func DebugTemplatePath(tmpl string, intrf interface{}) { //exec outp := new(bytes.Buffer) t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(linebuffer+endstr, "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate([]byte(fmt.Sprintf("%s%s", linebuffer, endstr)))) lastline = i linestring = line error := t.Execute(outp, intrf) if error != nil { - fmt.Println("Error on line :", i+1, line, error.Error()) + log.Println("Error on line :", i+1, line, error.Error()) } } @@ -1879,13 +1793,13 @@ func DebugTemplatePath(tmpl string, intrf interface{}) { if !waitend && !processd { outp := new(bytes.Buffer) t := template.New("PageWrapper") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(line, "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate([]byte(fmt.Sprintf("%s%s", linebuffer)))) lastline = i linestring = line error := t.Execute(outp, intrf) if error != nil { - fmt.Println("Error on line :", i+1, line, error.Error()) + log.Println("Error on line :", i+1, line, error.Error()) } } @@ -1903,17 +1817,15 @@ func DebugTemplatePath(tmpl string, intrf interface{}) { } func handler(w http.ResponseWriter, r *http.Request, contxt string, session *sessions.Session) { - // fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:]) p, err := loadPage(r.URL.Path) if err != nil { - fmt.Println(w.Header()) - fmt.Println(err.Error()) + log.Println(err.Error()) w.WriteHeader(http.StatusNotFound) pag, err := loadPage("") if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) //context.Clear(r) return } @@ -1932,7 +1844,7 @@ func handler(w http.ResponseWriter, r *http.Request, contxt string, session *ses renderTemplate(w, r, fmt.Sprintf("web%s", r.URL.Path), p, session) - // fmt.Println(w) + // log.Println(w) } else { w.Header().Set("Cache-Control", "public") if strings.Contains(r.URL.Path, ".css") { @@ -2053,6 +1965,10 @@ type Page struct { Session *sessions.Session } +func ReadyTemplate(body []byte) string { + return strings.Replace(strings.Replace(strings.Replace(string(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", "\"", -1) +} + var Windows bool var mutex sync.Mutex @@ -2078,7 +1994,7 @@ func net_castFSCs(args ...interface{}) *FSCs { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2102,7 +2018,7 @@ func net_castDex(args ...interface{}) *Dex { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2130,7 +2046,7 @@ func net_castSoftUser(args ...interface{}) *SoftUser { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2154,7 +2070,7 @@ func net_castUSettings(args ...interface{}) *USettings { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2182,7 +2098,7 @@ func net_castApp(args ...interface{}) *App { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2206,7 +2122,7 @@ func net_castTemplateEdits(args ...interface{}) *TemplateEdits { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2229,7 +2145,7 @@ func net_castWebRootEdits(args ...interface{}) *WebRootEdits { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2252,7 +2168,7 @@ func net_castTEditor(args ...interface{}) *TEditor { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2275,7 +2191,7 @@ func net_castNavbars(args ...interface{}) *Navbars { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2301,7 +2217,7 @@ func net_castsModal(args ...interface{}) *sModal { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2327,7 +2243,7 @@ func net_castForms(args ...interface{}) *Forms { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2351,7 +2267,7 @@ func net_castsButton(args ...interface{}) *sButton { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2373,7 +2289,7 @@ func net_castsTab(args ...interface{}) *sTab { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2395,7 +2311,7 @@ func net_castDForm(args ...interface{}) *DForm { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2419,7 +2335,7 @@ func net_castAlertbs(args ...interface{}) *Alertbs { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2446,7 +2362,7 @@ func net_castInputs(args ...interface{}) *Inputs { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2468,7 +2384,7 @@ func net_castAput(args ...interface{}) *Aput { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2494,7 +2410,7 @@ func net_castrPut(args ...interface{}) *rPut { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2516,7 +2432,7 @@ func net_castsSWAL(args ...interface{}) *sSWAL { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2546,7 +2462,7 @@ func net_castsPackageEdit(args ...interface{}) *sPackageEdit { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2569,7 +2485,7 @@ func net_castDebugObj(args ...interface{}) *DebugObj { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2591,7 +2507,7 @@ func net_castDebugNode(args ...interface{}) *DebugNode { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2626,7 +2542,7 @@ func net_castPkgItem(args ...interface{}) *PkgItem { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2651,7 +2567,7 @@ func net_castsROC(args ...interface{}) *sROC { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2674,7 +2590,7 @@ func net_castvHuf(args ...interface{}) *vHuf { err := json.Unmarshal(data, &s) if err != nil { - fmt.Println(err.Error()) + log.Println(err.Error()) } return &s @@ -2683,21 +2599,6 @@ func net_structvHuf() *vHuf { return &vHuf{} } type myDemoObject Dex -func net_myDemoObject(args ...interface{}) (d Dex) { - if len(args) > 0 { - jso := args[0].(string) - var jsonBlob = []byte(jso) - err := json.Unmarshal(jsonBlob, &d) - if err != nil { - fmt.Println("error:", err) - return - } - return - } else { - d = Dex{} - return - } -} func net_BindMisc(args ...interface{}) Dex { misc := args[0] nav := args[1] @@ -2886,8 +2787,8 @@ func net_Css(args ...interface{}) string { filename := "tmpl/css.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Css) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Css) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -2897,7 +2798,7 @@ func net_Css(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -2910,12 +2811,12 @@ func net_Css(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Css") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -2934,17 +2835,17 @@ func net_bCss(d Dex) string { } output := new(bytes.Buffer) t := template.New("Css") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Css) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Css) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -2953,7 +2854,7 @@ func net_cCss(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -2967,7 +2868,7 @@ func cCss(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -2981,8 +2882,8 @@ func net_JS(args ...interface{}) string { filename := "tmpl/js.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (JS) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (JS) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -2992,7 +2893,7 @@ func net_JS(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3005,12 +2906,12 @@ func net_JS(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("JS") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3029,17 +2930,17 @@ func net_bJS(d Dex) string { } output := new(bytes.Buffer) t := template.New("JS") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (JS) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (JS) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3048,7 +2949,7 @@ func net_cJS(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3062,7 +2963,7 @@ func cJS(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3076,8 +2977,8 @@ func net_FA(args ...interface{}) string { filename := "tmpl/ui/fa.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (FA) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (FA) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3087,7 +2988,7 @@ func net_FA(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3100,12 +3001,12 @@ func net_FA(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("FA") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3124,17 +3025,17 @@ func net_bFA(d Dex) string { } output := new(bytes.Buffer) t := template.New("FA") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (FA) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (FA) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3143,7 +3044,7 @@ func net_cFA(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3157,7 +3058,7 @@ func cFA(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3171,8 +3072,8 @@ func net_PluginList(args ...interface{}) string { filename := "tmpl/ui/pluginlist.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (PluginList) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (PluginList) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3182,7 +3083,7 @@ func net_PluginList(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3195,12 +3096,12 @@ func net_PluginList(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("PluginList") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3219,17 +3120,17 @@ func net_bPluginList(d NoStruct) string { } output := new(bytes.Buffer) t := template.New("PluginList") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (PluginList) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (PluginList) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3238,7 +3139,7 @@ func net_cPluginList(args ...interface{}) (d NoStruct) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3252,7 +3153,7 @@ func cPluginList(args ...interface{}) (d NoStruct) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3266,8 +3167,8 @@ func net_Login(args ...interface{}) string { filename := "tmpl/ui/login.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Login) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Login) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3277,7 +3178,7 @@ func net_Login(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3290,12 +3191,12 @@ func net_Login(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Login") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3314,17 +3215,17 @@ func net_bLogin(d Dex) string { } output := new(bytes.Buffer) t := template.New("Login") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Login) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Login) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3333,7 +3234,7 @@ func net_cLogin(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3347,7 +3248,7 @@ func cLogin(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3361,8 +3262,8 @@ func net_Modal(args ...interface{}) string { filename := "tmpl/ui/modal.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Modal) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Modal) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3372,7 +3273,7 @@ func net_Modal(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3385,12 +3286,12 @@ func net_Modal(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Modal") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3409,17 +3310,17 @@ func net_bModal(d sModal) string { } output := new(bytes.Buffer) t := template.New("Modal") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Modal) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Modal) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3428,7 +3329,7 @@ func net_cModal(args ...interface{}) (d sModal) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3442,7 +3343,7 @@ func cModal(args ...interface{}) (d sModal) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3456,8 +3357,8 @@ func net_xButton(args ...interface{}) string { filename := "tmpl/ui/sbutton.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (xButton) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (xButton) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3467,7 +3368,7 @@ func net_xButton(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3480,12 +3381,12 @@ func net_xButton(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("xButton") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3504,17 +3405,17 @@ func net_bxButton(d sButton) string { } output := new(bytes.Buffer) t := template.New("xButton") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (xButton) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (xButton) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3523,7 +3424,7 @@ func net_cxButton(args ...interface{}) (d sButton) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3537,7 +3438,7 @@ func cxButton(args ...interface{}) (d sButton) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3551,8 +3452,8 @@ func net_jButton(args ...interface{}) string { filename := "tmpl/ui/user/forms/jbutton.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (jButton) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (jButton) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3562,7 +3463,7 @@ func net_jButton(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3575,12 +3476,12 @@ func net_jButton(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("jButton") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3599,17 +3500,17 @@ func net_bjButton(d sButton) string { } output := new(bytes.Buffer) t := template.New("jButton") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (jButton) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (jButton) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3618,7 +3519,7 @@ func net_cjButton(args ...interface{}) (d sButton) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3632,7 +3533,7 @@ func cjButton(args ...interface{}) (d sButton) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3646,8 +3547,8 @@ func net_PUT(args ...interface{}) string { filename := "tmpl/ui/user/forms/aput.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (PUT) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (PUT) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3657,7 +3558,7 @@ func net_PUT(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3670,12 +3571,12 @@ func net_PUT(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("PUT") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3694,17 +3595,17 @@ func net_bPUT(d Aput) string { } output := new(bytes.Buffer) t := template.New("PUT") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (PUT) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (PUT) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3713,7 +3614,7 @@ func net_cPUT(args ...interface{}) (d Aput) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3727,7 +3628,7 @@ func cPUT(args ...interface{}) (d Aput) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3741,8 +3642,8 @@ func net_Group(args ...interface{}) string { filename := "tmpl/ui/user/forms/tab.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Group) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Group) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3752,7 +3653,7 @@ func net_Group(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3765,12 +3666,12 @@ func net_Group(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Group") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3789,17 +3690,17 @@ func net_bGroup(d sTab) string { } output := new(bytes.Buffer) t := template.New("Group") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Group) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Group) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3808,7 +3709,7 @@ func net_cGroup(args ...interface{}) (d sTab) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3822,7 +3723,7 @@ func cGroup(args ...interface{}) (d sTab) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3836,8 +3737,8 @@ func net_Register(args ...interface{}) string { filename := "tmpl/ui/register.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Register) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Register) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3847,7 +3748,7 @@ func net_Register(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3860,12 +3761,12 @@ func net_Register(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Register") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3884,17 +3785,17 @@ func net_bRegister(d Dex) string { } output := new(bytes.Buffer) t := template.New("Register") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Register) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Register) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3903,7 +3804,7 @@ func net_cRegister(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3917,7 +3818,7 @@ func cRegister(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -3931,8 +3832,8 @@ func net_Alert(args ...interface{}) string { filename := "tmpl/ui/alert.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Alert) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Alert) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -3942,7 +3843,7 @@ func net_Alert(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -3955,12 +3856,12 @@ func net_Alert(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Alert") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -3979,17 +3880,17 @@ func net_bAlert(d Alertbs) string { } output := new(bytes.Buffer) t := template.New("Alert") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Alert) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Alert) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -3998,7 +3899,7 @@ func net_cAlert(args ...interface{}) (d Alertbs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4012,7 +3913,7 @@ func cAlert(args ...interface{}) (d Alertbs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4026,8 +3927,8 @@ func net_StructEditor(args ...interface{}) string { filename := "tmpl/editor/structs.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (StructEditor) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (StructEditor) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4037,7 +3938,7 @@ func net_StructEditor(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4050,12 +3951,12 @@ func net_StructEditor(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("StructEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4074,17 +3975,17 @@ func net_bStructEditor(d vHuf) string { } output := new(bytes.Buffer) t := template.New("StructEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (StructEditor) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (StructEditor) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4093,7 +3994,7 @@ func net_cStructEditor(args ...interface{}) (d vHuf) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4107,7 +4008,7 @@ func cStructEditor(args ...interface{}) (d vHuf) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4121,8 +4022,8 @@ func net_MethodEditor(args ...interface{}) string { filename := "tmpl/editor/methods.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (MethodEditor) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (MethodEditor) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4132,7 +4033,7 @@ func net_MethodEditor(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4145,12 +4046,12 @@ func net_MethodEditor(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("MethodEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4169,17 +4070,17 @@ func net_bMethodEditor(d vHuf) string { } output := new(bytes.Buffer) t := template.New("MethodEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (MethodEditor) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (MethodEditor) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4188,7 +4089,7 @@ func net_cMethodEditor(args ...interface{}) (d vHuf) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4202,7 +4103,7 @@ func cMethodEditor(args ...interface{}) (d vHuf) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4216,8 +4117,8 @@ func net_ObjectEditor(args ...interface{}) string { filename := "tmpl/editor/objects.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (ObjectEditor) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (ObjectEditor) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4227,7 +4128,7 @@ func net_ObjectEditor(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4240,12 +4141,12 @@ func net_ObjectEditor(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("ObjectEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4264,17 +4165,17 @@ func net_bObjectEditor(d vHuf) string { } output := new(bytes.Buffer) t := template.New("ObjectEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (ObjectEditor) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (ObjectEditor) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4283,7 +4184,7 @@ func net_cObjectEditor(args ...interface{}) (d vHuf) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4297,7 +4198,7 @@ func cObjectEditor(args ...interface{}) (d vHuf) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4311,8 +4212,8 @@ func net_EndpointEditor(args ...interface{}) string { filename := "tmpl/editor/endpoints.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (EndpointEditor) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (EndpointEditor) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4322,7 +4223,7 @@ func net_EndpointEditor(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4335,12 +4236,12 @@ func net_EndpointEditor(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("EndpointEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4359,17 +4260,17 @@ func net_bEndpointEditor(d TEditor) string { } output := new(bytes.Buffer) t := template.New("EndpointEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (EndpointEditor) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (EndpointEditor) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4378,7 +4279,7 @@ func net_cEndpointEditor(args ...interface{}) (d TEditor) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4392,7 +4293,7 @@ func cEndpointEditor(args ...interface{}) (d TEditor) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4406,8 +4307,8 @@ func net_TimerEditor(args ...interface{}) string { filename := "tmpl/editor/timers.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (TimerEditor) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (TimerEditor) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4417,7 +4318,7 @@ func net_TimerEditor(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4430,12 +4331,12 @@ func net_TimerEditor(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("TimerEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4454,17 +4355,17 @@ func net_bTimerEditor(d TEditor) string { } output := new(bytes.Buffer) t := template.New("TimerEditor") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (TimerEditor) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (TimerEditor) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4473,7 +4374,7 @@ func net_cTimerEditor(args ...interface{}) (d TEditor) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4487,7 +4388,7 @@ func cTimerEditor(args ...interface{}) (d TEditor) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4501,8 +4402,8 @@ func net_FSC(args ...interface{}) string { filename := "tmpl/ui/fsc.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (FSC) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (FSC) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4512,7 +4413,7 @@ func net_FSC(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4525,12 +4426,12 @@ func net_FSC(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("FSC") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4549,17 +4450,17 @@ func net_bFSC(d FSCs) string { } output := new(bytes.Buffer) t := template.New("FSC") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (FSC) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (FSC) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4568,7 +4469,7 @@ func net_cFSC(args ...interface{}) (d FSCs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4582,7 +4483,7 @@ func cFSC(args ...interface{}) (d FSCs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4596,8 +4497,8 @@ func net_MV(args ...interface{}) string { filename := "tmpl/ui/mv.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (MV) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (MV) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4607,7 +4508,7 @@ func net_MV(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4620,12 +4521,12 @@ func net_MV(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("MV") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4644,17 +4545,17 @@ func net_bMV(d FSCs) string { } output := new(bytes.Buffer) t := template.New("MV") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (MV) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (MV) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4663,7 +4564,7 @@ func net_cMV(args ...interface{}) (d FSCs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4677,7 +4578,7 @@ func cMV(args ...interface{}) (d FSCs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4691,8 +4592,8 @@ func net_RM(args ...interface{}) string { filename := "tmpl/ui/user/rm.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (RM) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (RM) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4702,7 +4603,7 @@ func net_RM(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4715,12 +4616,12 @@ func net_RM(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("RM") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4739,17 +4640,17 @@ func net_bRM(d FSCs) string { } output := new(bytes.Buffer) t := template.New("RM") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (RM) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (RM) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4758,7 +4659,7 @@ func net_cRM(args ...interface{}) (d FSCs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4772,7 +4673,7 @@ func cRM(args ...interface{}) (d FSCs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4786,8 +4687,8 @@ func net_WebRootEdit(args ...interface{}) string { filename := "tmpl/ui/user/panel/webrootedit.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (WebRootEdit) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (WebRootEdit) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4797,7 +4698,7 @@ func net_WebRootEdit(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4810,12 +4711,12 @@ func net_WebRootEdit(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("WebRootEdit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4834,17 +4735,17 @@ func net_bWebRootEdit(d WebRootEdits) string { } output := new(bytes.Buffer) t := template.New("WebRootEdit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (WebRootEdit) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (WebRootEdit) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4853,7 +4754,7 @@ func net_cWebRootEdit(args ...interface{}) (d WebRootEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4867,7 +4768,7 @@ func cWebRootEdit(args ...interface{}) (d WebRootEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4881,8 +4782,8 @@ func net_WebRootEdittwo(args ...interface{}) string { filename := "tmpl/ui/user/panel/webtwo.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (WebRootEdittwo) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (WebRootEdittwo) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4892,7 +4793,7 @@ func net_WebRootEdittwo(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -4905,12 +4806,12 @@ func net_WebRootEdittwo(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("WebRootEdittwo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -4929,17 +4830,17 @@ func net_bWebRootEdittwo(d WebRootEdits) string { } output := new(bytes.Buffer) t := template.New("WebRootEdittwo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (WebRootEdittwo) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (WebRootEdittwo) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -4948,7 +4849,7 @@ func net_cWebRootEdittwo(args ...interface{}) (d WebRootEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4962,7 +4863,7 @@ func cWebRootEdittwo(args ...interface{}) (d WebRootEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -4976,8 +4877,8 @@ func net_uSettings(args ...interface{}) string { filename := "tmpl/editor/settings.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (uSettings) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (uSettings) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -4987,7 +4888,7 @@ func net_uSettings(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5000,12 +4901,12 @@ func net_uSettings(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("uSettings") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5024,17 +4925,17 @@ func net_buSettings(d USettings) string { } output := new(bytes.Buffer) t := template.New("uSettings") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (uSettings) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (uSettings) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5043,7 +4944,7 @@ func net_cuSettings(args ...interface{}) (d USettings) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5057,7 +4958,7 @@ func cuSettings(args ...interface{}) (d USettings) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5071,8 +4972,8 @@ func net_Form(args ...interface{}) string { filename := "tmpl/ui/user/forms/form.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Form) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Form) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5082,7 +4983,7 @@ func net_Form(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5095,12 +4996,12 @@ func net_Form(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Form") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5119,17 +5020,17 @@ func net_bForm(d Forms) string { } output := new(bytes.Buffer) t := template.New("Form") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Form) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Form) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5138,7 +5039,7 @@ func net_cForm(args ...interface{}) (d Forms) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5152,7 +5053,7 @@ func cForm(args ...interface{}) (d Forms) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5166,8 +5067,8 @@ func net_SWAL(args ...interface{}) string { filename := "tmpl/ui/user/forms/swal.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (SWAL) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (SWAL) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5177,7 +5078,7 @@ func net_SWAL(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5190,12 +5091,12 @@ func net_SWAL(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("SWAL") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5214,17 +5115,17 @@ func net_bSWAL(d sSWAL) string { } output := new(bytes.Buffer) t := template.New("SWAL") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (SWAL) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (SWAL) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5233,7 +5134,7 @@ func net_cSWAL(args ...interface{}) (d sSWAL) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5247,7 +5148,7 @@ func cSWAL(args ...interface{}) (d sSWAL) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5261,8 +5162,8 @@ func net_ROC(args ...interface{}) string { filename := "tmpl/ui/user/panel/roc.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (ROC) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (ROC) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5272,7 +5173,7 @@ func net_ROC(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5285,12 +5186,12 @@ func net_ROC(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("ROC") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5309,17 +5210,17 @@ func net_bROC(d sROC) string { } output := new(bytes.Buffer) t := template.New("ROC") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (ROC) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (ROC) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5328,7 +5229,7 @@ func net_cROC(args ...interface{}) (d sROC) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5342,7 +5243,7 @@ func cROC(args ...interface{}) (d sROC) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5356,8 +5257,8 @@ func net_RPUT(args ...interface{}) string { filename := "tmpl/ui/user/forms/rput.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (RPUT) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (RPUT) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5367,7 +5268,7 @@ func net_RPUT(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5380,12 +5281,12 @@ func net_RPUT(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("RPUT") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5404,17 +5305,17 @@ func net_bRPUT(d rPut) string { } output := new(bytes.Buffer) t := template.New("RPUT") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (RPUT) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (RPUT) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5423,7 +5324,7 @@ func net_cRPUT(args ...interface{}) (d rPut) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5437,7 +5338,7 @@ func cRPUT(args ...interface{}) (d rPut) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5451,8 +5352,8 @@ func net_PackageEdit(args ...interface{}) string { filename := "tmpl/ui/user/panel/package.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (PackageEdit) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (PackageEdit) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5462,7 +5363,7 @@ func net_PackageEdit(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5475,12 +5376,12 @@ func net_PackageEdit(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("PackageEdit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5499,17 +5400,17 @@ func net_bPackageEdit(d sPackageEdit) string { } output := new(bytes.Buffer) t := template.New("PackageEdit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (PackageEdit) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (PackageEdit) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5518,7 +5419,7 @@ func net_cPackageEdit(args ...interface{}) (d sPackageEdit) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5532,7 +5433,7 @@ func cPackageEdit(args ...interface{}) (d sPackageEdit) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5546,8 +5447,8 @@ func net_Delete(args ...interface{}) string { filename := "tmpl/ui/user/panel/delete.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Delete) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Delete) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5557,7 +5458,7 @@ func net_Delete(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5570,12 +5471,12 @@ func net_Delete(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Delete") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5594,17 +5495,17 @@ func net_bDelete(d DForm) string { } output := new(bytes.Buffer) t := template.New("Delete") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Delete) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Delete) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5613,7 +5514,7 @@ func net_cDelete(args ...interface{}) (d DForm) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5627,7 +5528,7 @@ func cDelete(args ...interface{}) (d DForm) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5641,8 +5542,8 @@ func net_Welcome(args ...interface{}) string { filename := "tmpl/ui/welcome.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Welcome) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Welcome) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5652,7 +5553,7 @@ func net_Welcome(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5665,12 +5566,12 @@ func net_Welcome(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Welcome") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5689,17 +5590,17 @@ func net_bWelcome(d Dex) string { } output := new(bytes.Buffer) t := template.New("Welcome") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Welcome) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Welcome) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5708,7 +5609,7 @@ func net_cWelcome(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5722,7 +5623,7 @@ func cWelcome(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5736,8 +5637,8 @@ func net_Stripe(args ...interface{}) string { filename := "tmpl/ui/stripe.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Stripe) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Stripe) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5747,7 +5648,7 @@ func net_Stripe(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5760,12 +5661,12 @@ func net_Stripe(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Stripe") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5784,17 +5685,17 @@ func net_bStripe(d Dex) string { } output := new(bytes.Buffer) t := template.New("Stripe") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Stripe) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Stripe) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5803,7 +5704,7 @@ func net_cStripe(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5817,7 +5718,7 @@ func cStripe(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5831,8 +5732,8 @@ func net_Debugger(args ...interface{}) string { filename := "tmpl/ui/debugger.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Debugger) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Debugger) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5842,7 +5743,7 @@ func net_Debugger(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5855,12 +5756,12 @@ func net_Debugger(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Debugger") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5879,17 +5780,17 @@ func net_bDebugger(d DebugObj) string { } output := new(bytes.Buffer) t := template.New("Debugger") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Debugger) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Debugger) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5898,7 +5799,7 @@ func net_cDebugger(args ...interface{}) (d DebugObj) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5912,7 +5813,7 @@ func cDebugger(args ...interface{}) (d DebugObj) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -5926,8 +5827,8 @@ func net_TemplateEdit(args ...interface{}) string { filename := "tmpl/ui/user/panel/templateEditor.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (TemplateEdit) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (TemplateEdit) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -5937,7 +5838,7 @@ func net_TemplateEdit(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -5950,12 +5851,12 @@ func net_TemplateEdit(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("TemplateEdit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -5974,17 +5875,17 @@ func net_bTemplateEdit(d TemplateEdits) string { } output := new(bytes.Buffer) t := template.New("TemplateEdit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (TemplateEdit) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (TemplateEdit) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -5993,7 +5894,7 @@ func net_cTemplateEdit(args ...interface{}) (d TemplateEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6007,7 +5908,7 @@ func cTemplateEdit(args ...interface{}) (d TemplateEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6021,8 +5922,8 @@ func net_TemplateEditTwo(args ...interface{}) string { filename := "tmpl/ui/user/panel/tpetwo.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (TemplateEditTwo) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (TemplateEditTwo) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6032,7 +5933,7 @@ func net_TemplateEditTwo(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6045,12 +5946,12 @@ func net_TemplateEditTwo(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("TemplateEditTwo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6069,17 +5970,17 @@ func net_bTemplateEditTwo(d TemplateEdits) string { } output := new(bytes.Buffer) t := template.New("TemplateEditTwo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (TemplateEditTwo) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (TemplateEditTwo) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6088,7 +5989,7 @@ func net_cTemplateEditTwo(args ...interface{}) (d TemplateEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6102,7 +6003,7 @@ func cTemplateEditTwo(args ...interface{}) (d TemplateEdits) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6116,8 +6017,8 @@ func net_Input(args ...interface{}) string { filename := "tmpl/ui/input.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Input) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Input) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6127,7 +6028,7 @@ func net_Input(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6140,12 +6041,12 @@ func net_Input(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Input") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6164,17 +6065,17 @@ func net_bInput(d Inputs) string { } output := new(bytes.Buffer) t := template.New("Input") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Input) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Input) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6183,7 +6084,7 @@ func net_cInput(args ...interface{}) (d Inputs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6197,7 +6098,7 @@ func cInput(args ...interface{}) (d Inputs) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6211,8 +6112,8 @@ func net_DebuggerNode(args ...interface{}) string { filename := "tmpl/ui/debugnode.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (DebuggerNode) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (DebuggerNode) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6222,7 +6123,7 @@ func net_DebuggerNode(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6235,12 +6136,12 @@ func net_DebuggerNode(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("DebuggerNode") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6259,17 +6160,17 @@ func net_bDebuggerNode(d DebugObj) string { } output := new(bytes.Buffer) t := template.New("DebuggerNode") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (DebuggerNode) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (DebuggerNode) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6278,7 +6179,7 @@ func net_cDebuggerNode(args ...interface{}) (d DebugObj) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6292,7 +6193,7 @@ func cDebuggerNode(args ...interface{}) (d DebugObj) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6306,8 +6207,8 @@ func net_Button(args ...interface{}) string { filename := "tmpl/ui/button.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Button) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Button) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6317,7 +6218,7 @@ func net_Button(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6330,12 +6231,12 @@ func net_Button(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Button") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6354,17 +6255,17 @@ func net_bButton(d Dex) string { } output := new(bytes.Buffer) t := template.New("Button") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Button) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Button) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6373,7 +6274,7 @@ func net_cButton(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6387,7 +6288,7 @@ func cButton(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6401,8 +6302,8 @@ func net_Submit(args ...interface{}) string { filename := "tmpl/ui/submit.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Submit) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Submit) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6412,7 +6313,7 @@ func net_Submit(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6425,12 +6326,12 @@ func net_Submit(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Submit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6449,17 +6350,17 @@ func net_bSubmit(d Dex) string { } output := new(bytes.Buffer) t := template.New("Submit") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Submit) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Submit) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6468,7 +6369,7 @@ func net_cSubmit(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6482,7 +6383,7 @@ func cSubmit(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6496,8 +6397,8 @@ func net_Logo(args ...interface{}) string { filename := "tmpl/logo.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Logo) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Logo) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6507,7 +6408,7 @@ func net_Logo(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6520,12 +6421,12 @@ func net_Logo(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Logo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6544,17 +6445,17 @@ func net_bLogo(d Dex) string { } output := new(bytes.Buffer) t := template.New("Logo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Logo) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Logo) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6563,7 +6464,7 @@ func net_cLogo(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6577,7 +6478,7 @@ func cLogo(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6591,8 +6492,8 @@ func net_Navbar(args ...interface{}) string { filename := "tmpl/ui/navbar.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Navbar) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (Navbar) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6602,7 +6503,7 @@ func net_Navbar(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6615,12 +6516,12 @@ func net_Navbar(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("Navbar") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6639,17 +6540,17 @@ func net_bNavbar(d Dex) string { } output := new(bytes.Buffer) t := template.New("Navbar") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (Navbar) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (Navbar) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6658,7 +6559,7 @@ func net_cNavbar(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6672,7 +6573,7 @@ func cNavbar(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6686,8 +6587,8 @@ func net_NavCustom(args ...interface{}) string { filename := "tmpl/ui/navbars.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavCustom) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (NavCustom) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6697,7 +6598,7 @@ func net_NavCustom(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6710,12 +6611,12 @@ func net_NavCustom(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("NavCustom") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6734,17 +6635,17 @@ func net_bNavCustom(d Navbars) string { } output := new(bytes.Buffer) t := template.New("NavCustom") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavCustom) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (NavCustom) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6753,7 +6654,7 @@ func net_cNavCustom(args ...interface{}) (d Navbars) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6767,7 +6668,7 @@ func cNavCustom(args ...interface{}) (d Navbars) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6781,8 +6682,8 @@ func net_NavMain(args ...interface{}) string { filename := "tmpl/ui/navmain.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavMain) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (NavMain) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6792,7 +6693,7 @@ func net_NavMain(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6805,12 +6706,12 @@ func net_NavMain(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("NavMain") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6829,17 +6730,17 @@ func net_bNavMain(d Dex) string { } output := new(bytes.Buffer) t := template.New("NavMain") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavMain) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (NavMain) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6848,7 +6749,7 @@ func net_cNavMain(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6862,7 +6763,7 @@ func cNavMain(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6876,8 +6777,8 @@ func net_NavPKG(args ...interface{}) string { filename := "tmpl/ui/navpkg.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavPKG) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (NavPKG) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6887,7 +6788,7 @@ func net_NavPKG(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6900,12 +6801,12 @@ func net_NavPKG(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("NavPKG") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -6924,17 +6825,17 @@ func net_bNavPKG(d Dex) string { } output := new(bytes.Buffer) t := template.New("NavPKG") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavPKG) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (NavPKG) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -6943,7 +6844,7 @@ func net_cNavPKG(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6957,7 +6858,7 @@ func cNavPKG(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -6971,8 +6872,8 @@ func net_CrashedPage(args ...interface{}) string { filename := "tmpl/ui/crashedpage.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (CrashedPage) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (CrashedPage) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -6982,7 +6883,7 @@ func net_CrashedPage(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -6995,12 +6896,12 @@ func net_CrashedPage(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("CrashedPage") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -7019,17 +6920,17 @@ func net_bCrashedPage(d Dex) string { } output := new(bytes.Buffer) t := template.New("CrashedPage") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (CrashedPage) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (CrashedPage) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -7038,7 +6939,7 @@ func net_cCrashedPage(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -7052,7 +6953,7 @@ func cCrashedPage(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -7066,8 +6967,8 @@ func net_EndpointTesting(args ...interface{}) string { filename := "tmpl/ui/endpointtester.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (EndpointTesting) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (EndpointTesting) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -7077,7 +6978,7 @@ func net_EndpointTesting(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -7090,12 +6991,12 @@ func net_EndpointTesting(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("EndpointTesting") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -7114,17 +7015,17 @@ func net_bEndpointTesting(d Dex) string { } output := new(bytes.Buffer) t := template.New("EndpointTesting") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (EndpointTesting) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (EndpointTesting) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -7133,7 +7034,7 @@ func net_cEndpointTesting(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -7147,7 +7048,7 @@ func cEndpointTesting(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -7161,8 +7062,8 @@ func net_NavPromo(args ...interface{}) string { filename := "tmpl/ui/navpromo.tmpl" defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavPromo) : " + filename) - // fmt.Println(n) + color.Red(fmt.Sprintf("Error loading template in path (NavPromo) : %s", filename)) + // log.Println(n) DebugTemplatePath(filename, &d) //http.Redirect(w,r,"",307) } @@ -7172,7 +7073,7 @@ func net_NavPromo(args ...interface{}) string { var jsonBlob = []byte(jso) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return "" } } else { @@ -7185,12 +7086,12 @@ func net_NavPromo(args ...interface{}) string { } output := new(bytes.Buffer) t := template.New("NavPromo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) error := t.Execute(output, &d) if error != nil { - color.Red("Error processing template " + filename) + color.Red(fmt.Sprintf("Error processing template %s", filename)) DebugTemplatePath(filename, &d) } return html.UnescapeString(output.String()) @@ -7209,17 +7110,17 @@ func net_bNavPromo(d Dex) string { } output := new(bytes.Buffer) t := template.New("NavPromo") - t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "myDemoObject": net_myDemoObject, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) - t, _ = t.Parse(strings.Replace(strings.Replace(strings.Replace(BytesToString(body), "/{", "\"{", -1), "}/", "}\"", -1), "`", `\"`, -1)) + t = t.Funcs(template.FuncMap{"a": net_add, "s": net_subs, "m": net_multiply, "d": net_divided, "js": net_importjs, "css": net_importcss, "sd": net_sessionDelete, "sr": net_sessionRemove, "sc": net_sessionKey, "ss": net_sessionSet, "sso": net_sessionSetInt, "sgo": net_sessionGetInt, "sg": net_sessionGet, "form": formval, "eq": equalz, "neq": nequalz, "lte": netlt, "BindMisc": net_BindMisc, "ListPlugins": net_ListPlugins, "BindID": net_BindID, "RandTen": net_RandTen, "Fragmentize": net_Fragmentize, "parseLog": net_parseLog, "anyBugs": net_anyBugs, "PluginJS": net_PluginJS, "FindmyBugs": net_FindmyBugs, "isExpired": net_isExpired, "getTemplate": net_getTemplate, "mConsole": net_mConsole, "mPut": net_mPut, "updateApp": net_updateApp, "getApp": net_getApp, "Css": net_Css, "bCss": net_bCss, "cCss": net_cCss, "JS": net_JS, "bJS": net_bJS, "cJS": net_cJS, "FA": net_FA, "bFA": net_bFA, "cFA": net_cFA, "PluginList": net_PluginList, "bPluginList": net_bPluginList, "cPluginList": net_cPluginList, "Login": net_Login, "bLogin": net_bLogin, "cLogin": net_cLogin, "Modal": net_Modal, "bModal": net_bModal, "cModal": net_cModal, "xButton": net_xButton, "bxButton": net_bxButton, "cxButton": net_cxButton, "jButton": net_jButton, "bjButton": net_bjButton, "cjButton": net_cjButton, "PUT": net_PUT, "bPUT": net_bPUT, "cPUT": net_cPUT, "Group": net_Group, "bGroup": net_bGroup, "cGroup": net_cGroup, "Register": net_Register, "bRegister": net_bRegister, "cRegister": net_cRegister, "Alert": net_Alert, "bAlert": net_bAlert, "cAlert": net_cAlert, "StructEditor": net_StructEditor, "bStructEditor": net_bStructEditor, "cStructEditor": net_cStructEditor, "MethodEditor": net_MethodEditor, "bMethodEditor": net_bMethodEditor, "cMethodEditor": net_cMethodEditor, "ObjectEditor": net_ObjectEditor, "bObjectEditor": net_bObjectEditor, "cObjectEditor": net_cObjectEditor, "EndpointEditor": net_EndpointEditor, "bEndpointEditor": net_bEndpointEditor, "cEndpointEditor": net_cEndpointEditor, "TimerEditor": net_TimerEditor, "bTimerEditor": net_bTimerEditor, "cTimerEditor": net_cTimerEditor, "FSC": net_FSC, "bFSC": net_bFSC, "cFSC": net_cFSC, "MV": net_MV, "bMV": net_bMV, "cMV": net_cMV, "RM": net_RM, "bRM": net_bRM, "cRM": net_cRM, "WebRootEdit": net_WebRootEdit, "bWebRootEdit": net_bWebRootEdit, "cWebRootEdit": net_cWebRootEdit, "WebRootEdittwo": net_WebRootEdittwo, "bWebRootEdittwo": net_bWebRootEdittwo, "cWebRootEdittwo": net_cWebRootEdittwo, "uSettings": net_uSettings, "buSettings": net_buSettings, "cuSettings": net_cuSettings, "Form": net_Form, "bForm": net_bForm, "cForm": net_cForm, "SWAL": net_SWAL, "bSWAL": net_bSWAL, "cSWAL": net_cSWAL, "ROC": net_ROC, "bROC": net_bROC, "cROC": net_cROC, "RPUT": net_RPUT, "bRPUT": net_bRPUT, "cRPUT": net_cRPUT, "PackageEdit": net_PackageEdit, "bPackageEdit": net_bPackageEdit, "cPackageEdit": net_cPackageEdit, "Delete": net_Delete, "bDelete": net_bDelete, "cDelete": net_cDelete, "Welcome": net_Welcome, "bWelcome": net_bWelcome, "cWelcome": net_cWelcome, "Stripe": net_Stripe, "bStripe": net_bStripe, "cStripe": net_cStripe, "Debugger": net_Debugger, "bDebugger": net_bDebugger, "cDebugger": net_cDebugger, "TemplateEdit": net_TemplateEdit, "bTemplateEdit": net_bTemplateEdit, "cTemplateEdit": net_cTemplateEdit, "TemplateEditTwo": net_TemplateEditTwo, "bTemplateEditTwo": net_bTemplateEditTwo, "cTemplateEditTwo": net_cTemplateEditTwo, "Input": net_Input, "bInput": net_bInput, "cInput": net_cInput, "DebuggerNode": net_DebuggerNode, "bDebuggerNode": net_bDebuggerNode, "cDebuggerNode": net_cDebuggerNode, "Button": net_Button, "bButton": net_bButton, "cButton": net_cButton, "Submit": net_Submit, "bSubmit": net_bSubmit, "cSubmit": net_cSubmit, "Logo": net_Logo, "bLogo": net_bLogo, "cLogo": net_cLogo, "Navbar": net_Navbar, "bNavbar": net_bNavbar, "cNavbar": net_cNavbar, "NavCustom": net_NavCustom, "bNavCustom": net_bNavCustom, "cNavCustom": net_cNavCustom, "NavMain": net_NavMain, "bNavMain": net_bNavMain, "cNavMain": net_cNavMain, "NavPKG": net_NavPKG, "bNavPKG": net_bNavPKG, "cNavPKG": net_cNavPKG, "CrashedPage": net_CrashedPage, "bCrashedPage": net_bCrashedPage, "cCrashedPage": net_cCrashedPage, "EndpointTesting": net_EndpointTesting, "bEndpointTesting": net_bEndpointTesting, "cEndpointTesting": net_cEndpointTesting, "NavPromo": net_NavPromo, "bNavPromo": net_bNavPromo, "cNavPromo": net_cNavPromo, "FSCs": net_structFSCs, "isFSCs": net_castFSCs, "Dex": net_structDex, "isDex": net_castDex, "SoftUser": net_structSoftUser, "isSoftUser": net_castSoftUser, "USettings": net_structUSettings, "isUSettings": net_castUSettings, "App": net_structApp, "isApp": net_castApp, "TemplateEdits": net_structTemplateEdits, "isTemplateEdits": net_castTemplateEdits, "WebRootEdits": net_structWebRootEdits, "isWebRootEdits": net_castWebRootEdits, "TEditor": net_structTEditor, "isTEditor": net_castTEditor, "Navbars": net_structNavbars, "isNavbars": net_castNavbars, "sModal": net_structsModal, "issModal": net_castsModal, "Forms": net_structForms, "isForms": net_castForms, "sButton": net_structsButton, "issButton": net_castsButton, "sTab": net_structsTab, "issTab": net_castsTab, "DForm": net_structDForm, "isDForm": net_castDForm, "Alertbs": net_structAlertbs, "isAlertbs": net_castAlertbs, "Inputs": net_structInputs, "isInputs": net_castInputs, "Aput": net_structAput, "isAput": net_castAput, "rPut": net_structrPut, "isrPut": net_castrPut, "sSWAL": net_structsSWAL, "issSWAL": net_castsSWAL, "sPackageEdit": net_structsPackageEdit, "issPackageEdit": net_castsPackageEdit, "DebugObj": net_structDebugObj, "isDebugObj": net_castDebugObj, "DebugNode": net_structDebugNode, "isDebugNode": net_castDebugNode, "PkgItem": net_structPkgItem, "isPkgItem": net_castPkgItem, "sROC": net_structsROC, "issROC": net_castsROC, "vHuf": net_structvHuf, "isvHuf": net_castvHuf}) + t, _ = t.Parse(ReadyTemplate(body)) defer func() { if n := recover(); n != nil { - color.Red("Error loading template in path (NavPromo) : " + filename) + color.Red(fmt.Sprintf("Error loading template in path (NavPromo) : %s", filename)) DebugTemplatePath(filename, &d) } }() error := t.Execute(output, &d) if error != nil { - fmt.Print(error) + log.Print(error) } return html.UnescapeString(output.String()) } @@ -7228,7 +7129,7 @@ func net_cNavPromo(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -7242,7 +7143,7 @@ func cNavPromo(args ...interface{}) (d Dex) { var jsonBlob = []byte(args[0].(string)) err := json.Unmarshal(jsonBlob, &d) if err != nil { - fmt.Println("error:", err) + log.Println("error:", err) return } } else { @@ -7252,11 +7153,10 @@ func cNavPromo(args ...interface{}) (d Dex) { } func dummy_timer() { dg := time.Second * 5 - fmt.Println(dg) + log.Println(dg) } - func main() { - fmt.Printf("%d\n", os.Getpid()) + fmt.Fprintf(os.Stdout, "%v\n", os.Getpid()) dfd = os.ExpandEnv("$GOPATH") Windows = strings.Contains(runtime.GOOS, "windows") @@ -7334,11 +7234,16 @@ func main() { Domain: "", } - fmt.Printf("Listenning on Port %v\n", "8884") + port := ":8884" + if envport := os.ExpandEnv("$PORT"); envport != "" { + port = fmt.Sprintf(":%s", envport) + } + log.Printf("Listenning on Port %v\n", port) http.HandleFunc("/", makeHandler(handler)) http.Handle("/dist/", http.FileServer(&assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "web"})) - errgos := http.ListenAndServe(":8884", nil) + + errgos := http.ListenAndServe(port, nil) if errgos != nil { log.Fatal(errgos) }