obfuscator

package
v0.0.0-...-f4a947b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// RepExpByTernary заменять выражение тернарными операторами
	RepExpByTernary bool

	// RepLoopByGoto заменять циклы на Перейти
	RepLoopByGoto bool

	// RepExpByEval прятать выражения в Выполнить() Вычислить()
	RepExpByEval bool

	// HideString прятать строки
	HideString bool

	// ChangeConditions изменять условия
	ChangeConditions bool

	// AppendGarbage добавлять мусора
	AppendGarbage bool
}

type Obfuscator

type Obfuscator struct {
	// contains filtered or unexported fields
}

func NewObfuscatory

func NewObfuscatory(ctx context.Context, conf Config) *Obfuscator

func (*Obfuscator) Obfuscate

func (c *Obfuscator) Obfuscate(code string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL