-
Analyzing your requirements and generating your app…
-
-
Loading…
+
-
+
+
+
+ Next-Gen Luau Protection
+ Secure your Roblox scripts with our custom Virtual Machine obfuscation. Harder to reverse-engineer, impossible to ignore.
+
+
+
+
-{% endblock %}
\ No newline at end of file
+
+
+{% endblock %}
diff --git a/core/views.py b/core/views.py
index c9aed12..aeb5552 100644
--- a/core/views.py
+++ b/core/views.py
@@ -1,25 +1,38 @@
import os
import platform
-
-from django import get_version as django_version
from django.shortcuts import render
from django.utils import timezone
-
+from .models import ScriptLog
+from .obfuscator import LuauObfuscator
def home(request):
- """Render the landing screen with loader and environment details."""
+ """Render the landing screen with the obfuscator interface."""
+ output_code = ""
+ input_code = ""
+
+ if request.method == "POST":
+ input_code = request.POST.get("code", "")
+ if input_code:
+ output_code = LuauObfuscator.obfuscate(input_code)
+
+ # Save to log
+ ScriptLog.objects.create(
+ input_code=input_code,
+ output_code=output_code,
+ input_size=len(input_code),
+ output_size=len(output_code)
+ )
+
host_name = request.get_host().lower()
agent_brand = "AppWizzy" if host_name == "appwizzy.com" else "Flatlogic"
now = timezone.now()
context = {
- "project_name": "New Style",
+ "project_name": "VM-Luau Obfuscator",
"agent_brand": agent_brand,
- "django_version": django_version(),
- "python_version": platform.python_version(),
+ "input_code": input_code,
+ "output_code": output_code,
"current_time": now,
- "host_name": host_name,
- "project_description": os.getenv("PROJECT_DESCRIPTION", ""),
- "project_image_url": os.getenv("PROJECT_IMAGE_URL", ""),
+ "project_description": os.getenv("PROJECT_DESCRIPTION", "Strong Luau Obfuscation with Custom VM Protection."),
}
- return render(request, "core/index.html", context)
+ return render(request, "core/index.html", context)
\ No newline at end of file