Documentation
¶
Index ¶
- Constants
- Variables
- func CleanFinalScript(script string, windowName string, doBeautify bool) string
- func CleanScriptAndRun(script []byte) ([]byte, *goja.Runtime)
- func GetDevice(script []byte, runInVm func(string) (goja.Value, error)) []any
- func GetId(script []byte, runInVm func(string) (goja.Value, error)) string
- func GetSavedFunction(hash string) string
- func GetScriptInformation(script []byte) (string, []any)
- func RunInVm(script string) (*goja.Runtime, error)
- func SaveFunction(hash, script string)
- type Error
- type RotateFunction
- type Virtual
Constants ¶
View Source
const INFINITE = 0xffffffff
Variables ¶
View Source
var SavePath = "./test"
View Source
var Verbose bool
View Source
var VerboseTime time.Time
Functions ¶
func CleanFinalScript ¶
func GetSavedFunction ¶
func GetScriptInformation ¶
func SaveFunction ¶
func SaveFunction(hash, script string)
Types ¶
type Error ¶
func GetRotateFunction ¶
type RotateFunction ¶
type RotateFunction struct { DeviceDataOrder []string ScriptId string LastCall time.Time // contains filtered or unexported fields }
func (*RotateFunction) GetScriptId ¶
func (rf *RotateFunction) GetScriptId() string
Click to show internal directories.
Click to hide internal directories.