Skip to content

Commit 35dec7a

Browse files
Update script.js
1 parent c0a4003 commit 35dec7a

File tree

1 file changed

+33
-60
lines changed

1 file changed

+33
-60
lines changed

script.js

Lines changed: 33 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,46 @@
1-
/**
2-
* CORE PROTECTION MODULE
3-
* Pillars: MoonSec V3 | Prometheus | Cambuscate
4-
*/
5-
6-
let _lang = 'lua';
7-
8-
const _011 = {
9-
_init: function() {
10-
this.print("SYSTEM: Protection Core Online.", "var(--accent)");
1+
const core = {
2+
log: (m) => {
3+
const l = document.getElementById('logs');
4+
const d = document.createElement('div');
5+
d.innerHTML = `[${new Date().toLocaleTimeString()}] <b>pobfus:</b> ${m}`;
6+
l.appendChild(d);
7+
l.scrollTop = l.scrollHeight;
118
},
129

13-
setLang: function(lang) {
14-
_lang = lang;
15-
document.querySelectorAll('.sel-btn').forEach(b => b.classList.remove('active'));
16-
document.getElementById(`btn-${lang}`).classList.add('active');
17-
this.print(`PROTOCOL: Engine adapted for ${lang.toUpperCase()}.`, "var(--blue)");
10+
fold: (n) => {
11+
const r = Math.floor(Math.random() * 40) + 10;
12+
return `((${n * r})/${r})`;
1813
},
1914

20-
coreNotif: function(msg) {
21-
const container = document.getElementById('notif-container');
22-
const el = document.createElement('div');
23-
el.className = 'core-notif';
24-
el.innerHTML = `<span style="color:var(--accent)">◈</span> ${msg}`;
25-
container.appendChild(el);
26-
setTimeout(() => {
27-
el.classList.add('fade-out');
28-
setTimeout(() => el.remove(), 300);
29-
}, 3000);
15+
generateJunk: () => {
16+
const vars = ["_0x1a", "_0x9f", "_0xbb", "_0xcc", "_ptr", "_mem"];
17+
let junk = "";
18+
for(let i = 0; i < 3; i++) {
19+
const v = vars[Math.floor(Math.random() * vars.length)] + Math.floor(Math.random() * 99);
20+
junk += `local ${v}=${Math.random().toFixed(4)};`;
21+
}
22+
return junk;
3023
},
3124

32-
_transform: function() {
33-
const _in = document.getElementById('input').value;
34-
if (!_in.trim()) return;
25+
commit: function() {
26+
const src = document.getElementById('in').value;
27+
if (!src.trim()) return;
3528

36-
// Mandatory Notification
37-
this.coreNotif("Protected by Pobfus");
29+
this.log("Initializing Obsidian Protection Pipeline...");
3830

39-
const buildID = "PB-" + Math.random().toString(36).substring(7).toUpperCase();
40-
this.print(`INIT: Applying V3 Pillar Mapping...`, "var(--accent)");
41-
4231
setTimeout(() => {
43-
this.print(`PILLAR 1: MoonSec V3 virtualization applied.`, "var(--blue)");
44-
setTimeout(() => {
45-
this.print(`PILLAR 2: Prometheus thermal pass complete.`, "var(--blue)");
46-
setTimeout(() => {
47-
this.print(`PILLAR 3: Cambuscate logic flow secured.`, "var(--green)");
48-
49-
const encoded = btoa(_in).split('').reverse().join('');
50-
const output = `--[[ PROTECTED BY POBFUS | BUILD: ${buildID} ]]--
51-
-- ARCHITECTURE: ${_lang.toUpperCase()} V3 VIRTUALIZATION
52-
local _v = function(_s) return (string.reverse(game:GetService("HttpService"):Base64Decode(_s))) end
53-
loadstring(_v("${encoded}"))()`;
54-
55-
document.getElementById('output-view').value = output;
56-
this.print(`SUCCESS: Build ${buildID} finalized.`, "var(--accent)");
57-
}, 400);
58-
}, 400);
59-
}, 400);
60-
},
32+
const k = 7;
33+
const kF = this.fold(k);
34+
const enc = btoa(src).split('').map(c => String.fromCharCode(c.charCodeAt(0) + k)).join('');
35+
36+
const asciiHeader = `--[[\n .... .. .. .x+=:.\n +^""888h. ~"888h . uW8" oec : z\` ^%\n 8X. ?8888X 8888f u. \`t888 @88888 x. . . <k\n'888x 8888X 8888~ ...ue888b 8888 . 8"*88% .@88k z88u .@8Ned8"\n'88888 8888X "88x: 888R Y888r 9888.z88N 8b. ~"8888 ^8888 .@^%8888"\n ` + "`" + `8888 8888X X88x. 888R I888> 9888 888E u888888> 8888 888R x88: ` + "`)8b." + `\n ` + "`" + `*` + "`" + ` 8888X '88888X 888R I888> 9888 888E 8888R 8888 888R 8888N=*8888\n ~` + "`" + `...8888X "88888 888R I888> 9888 888E 8888P 8888 888R %8" R88\n x8888888X. ` + "`" + `%8" u8888cJ888 9888 888E *888> 8888 ,888B . @8Wou 9%\n '%"*8888888h. " "*888*P" .8888 888" 4888 "8888Y 8888" .888888P` + "`" + `\n ~\n]]\n`;
37+
38+
const minifiedLogic = `return(function(...) ${this.generateJunk()}game:GetService("StarterGui"):SetCore("SendNotification",{Title="PRONAR.CC",Text="Obsidian Protocol: Active!",Duration=5})local _v="${enc}"local _k=${kF}local _d=function(x)local r=""for i=${this.fold(1)},#x do r=r..string.char(x:sub(i,i):byte()-_k)end return(game:GetService("\\072\\116\\116\\112\\083\\101\\114\\118\\105\\099\\101"):Base64Decode(r))end ${this.generateJunk()}local _p=newproxy(true)local _m=getmetatable(_p)_m.__index=function(_,k)return _G[k] or getfenv(0)[k]end _m.__metatable="Pronar.cc Locked"local _exec=loadstring(_d(_v))setfenv(_exec,setmetatable({},_m))return(function(f,...)return f(...)end)(_exec,select(${this.fold(1)},...))end)(...)`;
6139

62-
print: function(msg, color = "#fff") {
63-
const log = document.getElementById('sys-logs');
64-
const div = document.createElement('div');
65-
div.style.color = color;
66-
div.style.marginBottom = "4px";
67-
div.innerHTML = `<span style="color:#222;">[LOG]</span> ${msg}`;
68-
log.appendChild(div);
69-
log.scrollTop = log.scrollHeight;
40+
document.getElementById('out').value = asciiHeader + minifiedLogic;
41+
this.log("SUCCESS: Decompiler Breaker Active. Build Finalized.");
42+
}, 700);
7043
}
7144
};
7245

73-
window.onload = () => _011._init();
46+
window.onload = () => core.log("Pobfus x Pronar.cc Core Online.");

0 commit comments

Comments
 (0)