diff --git a/assets/css/custom.css b/assets/css/custom.css
index 65a1626..db399f5 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -1,346 +1,177 @@
:root {
- --color-bg: #ffffff;
- --color-text: #1a1a1a;
- --color-primary: #2563EB; /* Vibrant Blue */
- --color-secondary: #000000;
- --color-accent: #A3E635; /* Lime Green */
- --color-surface: #f8f9fa;
- --font-heading: 'Space Grotesk', sans-serif;
- --font-body: 'Inter', sans-serif;
- --border-width: 2px;
- --shadow-hard: 5px 5px 0px #000;
- --shadow-hover: 8px 8px 0px #000;
- --radius-pill: 50rem;
- --radius-card: 1rem;
+ --bg-color: #050505;
+ --surface-color: #111111;
+ --surface-light: #1a1a1a;
+ --accent-color: #00ff88;
+ --text-primary: #e0e0e0;
+ --text-secondary: #888888;
+ --border-color: #222222;
+ --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
+ --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}
body {
- font-family: var(--font-body);
- background-color: var(--color-bg);
- color: var(--color-text);
- overflow-x: hidden;
+ background-color: var(--bg-color);
+ color: var(--text-primary);
+ font-family: var(--font-ui);
+ margin: 0;
+ line-height: 1.6;
}
-h1, h2, h3, h4, h5, h6, .navbar-brand {
- font-family: var(--font-heading);
- letter-spacing: -0.03em;
-}
-
-/* Utilities */
-.text-primary { color: var(--color-primary) !important; }
-.bg-black { background-color: #000 !important; }
-.text-white { color: #fff !important; }
-.shadow-hard { box-shadow: var(--shadow-hard); }
-.border-2-black { border: var(--border-width) solid #000; }
-.py-section { padding-top: 5rem; padding-bottom: 5rem; }
-
-/* Navbar */
.navbar {
- background: rgba(255, 255, 255, 0.9);
+ background-color: rgba(5, 5, 5, 0.8);
backdrop-filter: blur(10px);
- border-bottom: var(--border-width) solid transparent;
- transition: all 0.3s;
- padding-top: 1rem;
- padding-bottom: 1rem;
+ border-bottom: 1px solid var(--border-color);
+ padding: 1rem 2rem;
}
-.navbar.scrolled {
- border-bottom-color: #000;
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
-}
-
-.brand-text {
- font-size: 1.5rem;
+.brand {
font-weight: 800;
-}
-
-.nav-link {
- font-weight: 500;
- color: var(--color-text);
- margin-left: 1rem;
- position: relative;
-}
-
-.nav-link:hover, .nav-link.active {
- color: var(--color-primary);
-}
-
-/* Buttons */
-.btn {
- font-weight: 700;
- font-family: var(--font-heading);
- padding: 0.8rem 2rem;
- border-radius: var(--radius-pill);
- border: var(--border-width) solid #000;
- transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
- box-shadow: var(--shadow-hard);
-}
-
-.btn:hover {
- transform: translate(-2px, -2px);
- box-shadow: var(--shadow-hover);
-}
-
-.btn:active {
- transform: translate(2px, 2px);
- box-shadow: 0 0 0 #000;
-}
-
-.btn-primary {
- background-color: var(--color-primary);
- border-color: #000;
- color: #fff;
-}
-
-.btn-primary:hover {
- background-color: #1d4ed8;
- border-color: #000;
- color: #fff;
-}
-
-.btn-outline-dark {
- background-color: #fff;
- color: #000;
-}
-
-.btn-cta {
- background-color: var(--color-accent);
- color: #000;
-}
-
-.btn-cta:hover {
- background-color: #8cc629;
- color: #000;
-}
-
-/* Hero Section */
-.hero-section {
- min-height: 100vh;
- padding-top: 80px;
-}
-
-.background-blob {
- position: absolute;
- border-radius: 50%;
- filter: blur(80px);
- opacity: 0.6;
- z-index: 1;
-}
-
-.blob-1 {
- top: -10%;
- right: -10%;
- width: 600px;
- height: 600px;
- background: radial-gradient(circle, var(--color-accent), transparent);
-}
-
-.blob-2 {
- bottom: 10%;
- left: -10%;
- width: 500px;
- height: 500px;
- background: radial-gradient(circle, var(--color-primary), transparent);
-}
-
-.highlight-text {
- background: linear-gradient(120deg, transparent 0%, transparent 40%, var(--color-accent) 40%, var(--color-accent) 100%);
- background-repeat: no-repeat;
- background-size: 100% 40%;
- background-position: 0 88%;
- padding: 0 5px;
-}
-
-.dot { color: var(--color-primary); }
-
-.badge-pill {
- display: inline-block;
- padding: 0.5rem 1rem;
- border: 2px solid #000;
- border-radius: 50px;
- font-weight: 700;
- background: #fff;
- box-shadow: 4px 4px 0 #000;
- font-family: var(--font-heading);
- font-size: 0.9rem;
-}
-
-/* Marquee */
-.marquee-container {
- overflow: hidden;
- white-space: nowrap;
- border-top: 2px solid #000;
- border-bottom: 2px solid #000;
-}
-
-.rotate-divider {
- transform: rotate(-2deg) scale(1.05);
- z-index: 10;
- position: relative;
- margin-top: -50px;
- margin-bottom: 30px;
-}
-
-.marquee-content {
- display: inline-block;
- animation: marquee 20s linear infinite;
- font-family: var(--font-heading);
- font-weight: 700;
+ letter-spacing: -1px;
font-size: 1.5rem;
- letter-spacing: 2px;
+ color: var(--text-primary);
+ text-decoration: none;
}
-@keyframes marquee {
- 0% { transform: translateX(0); }
- 100% { transform: translateX(-50%); }
+.brand span {
+ color: var(--accent-color);
}
-/* Portfolio Cards */
-.project-card {
- border: 2px solid #000;
- border-radius: var(--radius-card);
- overflow: hidden;
- background: #fff;
- transition: transform 0.3s ease;
- box-shadow: var(--shadow-hard);
- height: 100%;
+.container-main {
+ max-width: 1200px;
+ margin: 4rem auto;
+ padding: 0 2rem;
+}
+
+.workspace {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 1.5rem;
+ margin-top: 2rem;
+}
+
+@media (max-width: 992px) {
+ .workspace {
+ grid-template-columns: 1fr;
+ }
+}
+
+.card {
+ background-color: var(--surface-color);
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
display: flex;
flex-direction: column;
}
-.project-card:hover {
- transform: translateY(-10px);
- box-shadow: 8px 8px 0 #000;
-}
-
-.card-img-holder {
- height: 250px;
+.card-header {
+ padding: 0.75rem 1rem;
+ border-bottom: 1px solid var(--border-color);
display: flex;
+ justify-content: space-between;
align-items: center;
- justify-content: center;
- border-bottom: 2px solid #000;
- position: relative;
- font-size: 4rem;
+ background-color: var(--surface-light);
}
-.placeholder-art {
- transition: transform 0.3s ease;
+.card-title {
+ font-size: 0.8rem;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ color: var(--text-secondary);
+ font-weight: 600;
}
-.project-card:hover .placeholder-art {
- transform: scale(1.2) rotate(10deg);
-}
-
-.bg-soft-blue { background-color: #e0f2fe; }
-.bg-soft-green { background-color: #dcfce7; }
-.bg-soft-purple { background-color: #f3e8ff; }
-.bg-soft-yellow { background-color: #fef9c3; }
-
-.category-tag {
- position: absolute;
- top: 15px;
- right: 15px;
- background: #000;
- color: #fff;
- padding: 5px 12px;
- border-radius: 20px;
- font-size: 0.75rem;
- font-weight: 700;
-}
-
-.card-body { padding: 1.5rem; }
-
-.link-arrow {
- text-decoration: none;
- color: #000;
- font-weight: 700;
- display: inline-flex;
- align-items: center;
- margin-top: auto;
-}
-
-.link-arrow i { transition: transform 0.2s; margin-left: 5px; }
-.link-arrow:hover i { transform: translateX(5px); }
-
-/* About */
-.about-image-stack {
- position: relative;
+textarea {
+ background-color: transparent;
+ border: none;
+ color: var(--text-primary);
+ font-family: var(--font-mono);
+ font-size: 0.9rem;
+ padding: 1rem;
+ resize: none;
height: 400px;
+ outline: none;
width: 100%;
}
-.stack-card {
- position: absolute;
- width: 80%;
- height: 100%;
- border-radius: var(--radius-card);
- border: 2px solid #000;
- box-shadow: var(--shadow-hard);
- left: 10%;
- transform: rotate(-3deg);
- background-size: cover;
+.controls {
+ display: flex;
+ gap: 1rem;
+ margin-top: 1.5rem;
+ flex-wrap: wrap;
+ align-items: flex-end;
}
-/* Forms */
-.form-control {
- border: 2px solid #000;
- border-radius: 0.5rem;
+.form-group {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+}
+
+label {
+ font-size: 0.75rem;
+ color: var(--text-secondary);
+ text-transform: uppercase;
+ font-weight: 600;
+}
+
+select, input {
+ background-color: var(--surface-light);
+ border: 1px solid var(--border-color);
+ color: var(--text-primary);
+ padding: 0.5rem 0.75rem;
+ border-radius: 4px;
+ font-size: 0.85rem;
+}
+
+button.btn-primary {
+ background-color: var(--accent-color);
+ color: #000;
+ border: none;
+ padding: 0.6rem 1.5rem;
+ border-radius: 4px;
+ font-weight: 700;
+ cursor: pointer;
+ transition: all 0.2s ease;
+ text-transform: uppercase;
+ font-size: 0.85rem;
+}
+
+button.btn-primary:hover {
+ filter: brightness(1.1);
+ transform: translateY(-1px);
+}
+
+button.btn-primary:disabled {
+ background-color: var(--text-secondary);
+ cursor: not-allowed;
+}
+
+.terminal-log {
+ background-color: #000;
+ border: 1px solid var(--border-color);
padding: 1rem;
- font-weight: 500;
- background: #f8f9fa;
+ font-family: var(--font-mono);
+ font-size: 0.8rem;
+ color: #888;
+ height: 150px;
+ overflow-y: auto;
+ margin-top: 1.5rem;
+ border-radius: 4px;
}
-.form-control:focus {
- box-shadow: 4px 4px 0 var(--color-primary);
- border-color: #000;
- background: #fff;
+.log-entry {
+ margin-bottom: 0.25rem;
}
-/* Animations */
-.animate-up {
- opacity: 0;
- transform: translateY(30px);
- animation: fadeUp 0.8s ease forwards;
-}
+.log-success { color: var(--accent-color); }
+.log-info { color: #5555ff; }
+.log-warn { color: #ffff55; }
-.delay-100 { animation-delay: 0.1s; }
-.delay-200 { animation-delay: 0.2s; }
-
-@keyframes fadeUp {
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-/* Social */
-.social-links a {
- transition: transform 0.2s;
- display: inline-block;
-}
-.social-links a:hover {
- transform: scale(1.2) rotate(10deg);
- color: var(--color-accent) !important;
-}
-
-/* Responsive */
-@media (max-width: 991px) {
- .rotate-divider {
- transform: rotate(0);
- margin-top: 0;
- margin-bottom: 2rem;
- }
-
- .hero-section {
- padding-top: 120px;
- text-align: center;
- min-height: auto;
- padding-bottom: 100px;
- }
-
- .display-1 { font-size: 3.5rem; }
-
- .blob-1 { width: 300px; height: 300px; right: -20%; }
- .blob-2 { width: 300px; height: 300px; left: -20%; }
-}
+.badge {
+ font-size: 0.7rem;
+ padding: 0.2rem 0.5rem;
+ border-radius: 100px;
+ background: var(--surface-light);
+ border: 1px solid var(--border-color);
+}
\ No newline at end of file
diff --git a/assets/js/main.js b/assets/js/main.js
index fdf2cfd..85b150d 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -1,73 +1,83 @@
document.addEventListener('DOMContentLoaded', () => {
-
- // Smooth scrolling for navigation links
- document.querySelectorAll('a[href^="#"]').forEach(anchor => {
- anchor.addEventListener('click', function (e) {
- e.preventDefault();
- const targetId = this.getAttribute('href');
- if (targetId === '#') return;
-
- const targetElement = document.querySelector(targetId);
- if (targetElement) {
- // Close mobile menu if open
- const navbarToggler = document.querySelector('.navbar-toggler');
- const navbarCollapse = document.querySelector('.navbar-collapse');
- if (navbarCollapse.classList.contains('show')) {
- navbarToggler.click();
- }
+ const inputArea = document.getElementById('input-code');
+ const outputArea = document.getElementById('output-code');
+ const protectBtn = document.getElementById('protect-btn');
+ const terminal = document.getElementById('terminal');
+ const copyBtn = document.getElementById('copy-btn');
- // Scroll with offset
- const offset = 80;
- const elementPosition = targetElement.getBoundingClientRect().top;
- const offsetPosition = elementPosition + window.pageYOffset - offset;
+ function log(message, type = 'info') {
+ const entry = document.createElement('div');
+ entry.className = `log-entry log-${type}`;
+ const time = new Date().toLocaleTimeString([], { hour12: false });
+ entry.textContent = `[${time}] ${message}`;
+ terminal.appendChild(entry);
+ terminal.scrollTop = terminal.scrollHeight;
+ }
- window.scrollTo({
- top: offsetPosition,
- behavior: "smooth"
- });
+ async function sleep(ms) {
+ return new Promise(resolve => setTimeout(resolve, ms));
+ }
+
+ protectBtn.addEventListener('click', async () => {
+ const code = inputArea.value.trim();
+ if (!code) {
+ log('Error: Source code is empty.', 'warn');
+ return;
+ }
+
+ const preset = document.getElementById('vm-preset').value;
+ const junk = document.getElementById('junk-code').value;
+ const encrypt = document.getElementById('encrypt-strings').value;
+
+ protectBtn.disabled = true;
+ protectBtn.textContent = 'Processing...';
+
+ terminal.innerHTML = ''; // Clear terminal for new run
+ log(`Initializing Luartex VM Engine (Preset: ${preset.toUpperCase()})...`, 'info');
+ await sleep(400);
+ log(`Analyzing source AST (${code.length} bytes)...`, 'info');
+ await sleep(300);
+ log(`Mapping opcodes to virtual registers...`, 'info');
+ await sleep(500);
+ log(`Injecting Anti-Tamper & Anti-Hook logic...`, 'info');
+ await sleep(400);
+
+ if (preset === 'obsidian' || preset === 'iron') {
+ log(`Applying high-entropy encryption layer...`, 'info');
+ await sleep(600);
+ }
+
+ try {
+ const response = await fetch('process.php', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ code, preset, junk, encrypt })
+ });
+
+ const data = await response.json();
+
+ if (data.success) {
+ outputArea.value = data.protected_code;
+ log('Bytecode generation complete.', 'success');
+ log(`Final Entropy: ${data.stats.entropy}`, 'info');
+ log(`Protected Size: ${data.stats.protected_size} bytes`, 'info');
+ log('VM successfully virtualized and locked.', 'success');
+ } else {
+ log(`Error: ${data.error}`, 'warn');
}
- });
- });
-
- // Navbar scroll effect
- const navbar = document.querySelector('.navbar');
- window.addEventListener('scroll', () => {
- if (window.scrollY > 50) {
- navbar.classList.add('scrolled', 'shadow-sm', 'bg-white');
- navbar.classList.remove('bg-transparent');
- } else {
- navbar.classList.remove('scrolled', 'shadow-sm', 'bg-white');
- navbar.classList.add('bg-transparent');
+ } catch (err) {
+ log(`Critical Failure: ${err.message}`, 'warn');
+ } finally {
+ protectBtn.disabled = false;
+ protectBtn.textContent = 'Protect Script';
}
});
- // Intersection Observer for fade-up animations
- const observerOptions = {
- threshold: 0.1,
- rootMargin: "0px 0px -50px 0px"
- };
-
- const observer = new IntersectionObserver((entries) => {
- entries.forEach(entry => {
- if (entry.isIntersecting) {
- entry.target.classList.add('animate-up');
- entry.target.style.opacity = "1";
- observer.unobserve(entry.target); // Only animate once
- }
- });
- }, observerOptions);
-
- // Select elements to animate (add a class 'reveal' to them in HTML if not already handled by CSS animation)
- // For now, let's just make sure the hero animations run.
- // If we want scroll animations, we'd add opacity: 0 to elements in CSS and reveal them here.
- // Given the request, the CSS animation I added runs on load for Hero.
- // Let's make the project cards animate in.
-
- const projectCards = document.querySelectorAll('.project-card');
- projectCards.forEach((card, index) => {
- card.style.opacity = "0";
- card.style.animationDelay = `${index * 0.1}s`;
- observer.observe(card);
+ copyBtn.addEventListener('click', () => {
+ if (!outputArea.value) return;
+ navigator.clipboard.writeText(outputArea.value);
+ const originalText = copyBtn.textContent;
+ copyBtn.textContent = 'COPIED!';
+ setTimeout(() => copyBtn.textContent = originalText, 2000);
});
-
});
\ No newline at end of file
diff --git a/db/migrate.php b/db/migrate.php
new file mode 100644
index 0000000..2fe56e9
--- /dev/null
+++ b/db/migrate.php
@@ -0,0 +1,11 @@
+exec($sql);
+ echo "Migration successful.";
+} catch (PDOException $e) {
+ echo "Migration failed: " . $e->getMessage();
+}
diff --git a/db/migrations/001_create_scripts_table.sql b/db/migrations/001_create_scripts_table.sql
new file mode 100644
index 0000000..71e52ab
--- /dev/null
+++ b/db/migrations/001_create_scripts_table.sql
@@ -0,0 +1,8 @@
+CREATE TABLE IF NOT EXISTS scripts (
+ id INT AUTO_INCREMENT PRIMARY KEY,
+ filename VARCHAR(255) DEFAULT 'untitled.lua',
+ original_size INT,
+ protected_size INT,
+ settings JSON,
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+) ENGINE=InnoDB;
diff --git a/index.php b/index.php
index 7205f3d..045118e 100644
--- a/index.php
+++ b/index.php
@@ -1,150 +1,92 @@
-
+
-
-
- New Style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ |
+
+
+
+
+
+
+
+
+
-
-
-
Analyzing your requirements and generating your website…
-
- Loading…
-
-
= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-
This page will update automatically as the plan is implemented.
-
Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
+
+
+ LUARTEX
+
+ VM v1.0.4-stable
+
+
+
+
+
+
-
-
- Page updated: = htmlspecialchars($now) ?> (UTC)
-
+
+
+
+ VM Preset
+
+ Standard VM
+ Agile (Lightweight)
+ Ironclad (High Perf)
+ Obsidian (Extreme Protection)
+
+
+
+ Junk Code
+
+ None
+ Light
+ Heavy
+
+
+
+ Encrypt Strings
+
+ Yes
+ No
+
+
+
+
Protect Script
+
+
+
+
[SYSTEM] Luartex VM initialized. Ready for processing.
+
+
+
+
-
+