jsCrypter/index.html
2020-05-29 21:19:56 +02:00

202 lines
8.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>jsCrypt</title>
<script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-aNUYGqSUL9wG/vP7+cWZ5QOM4gsQou3sBfWRr/8S3R1Lv0rysEmnwsRKMbhiQX/O" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<div class="container">
<header>
<img src="header.jpg" width="100%">
<div id="divTitle"><h1 id="hTitle">JS-Cryptifier</h1></div>
</header>
<div class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<span>Done</span>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-8">
<h3 id="title" name="code"><i class="fa fa-code" aria-hidden="true"></i> | Enter Source:</h3>
<div class="jumbotron">
<center>
<textarea id="code" rows="6" cols="30"></textarea>
</center>
<h5 id="resizeH5"><i class="fa fa-arrows" aria-hidden="true"></i> | Rezise me!</h5>
</div>
</div>
<div class="col-md-4">
<div id="controlls">
<h3><i class="fa fa-play" aria-hidden="true"></i> Controlls:</h3>
<div class="jumbotron">
<div class="btn-group-vertical" role="group" id="cryptBtns">
<button class="btn btn-success btn-lg" id="run"onclick="run();"><i class="fa fa-lock" aria-hidden="true"></i> Cryptify</button>
<button class="btn btn-primary btn-lg" id="run"onclick="runPassCrypt();"><i class="fa fa-key" aria-hidden="true"></i> PasswordCrypt</button>
<button class="btn btn-lg" id="run" href="#code" onclick="document.getElementById('code').value = packify(document.getElementById('code').value); window.scrollTo(0,0);"><i class="fa fa-compress" aria-hidden="true"></i> Minimize [WIP]</button>
<button class="btn btn-danger btn-lg" id="run" href="#code" onclick="jsUnCrypt(); window.scrollTo(0,0);"><i class="fa fa-unlock" aria-hidden="true"></i> unCryptify</button>
</div>
</div>
</div>
</div>
</div>
<p id="divOut"></p>
<ul class="nav nav-tabs">
<hr>
<li role="presentation" id="navInfo" class="active"><a onclick="$('#info').slideDown(500);$('#calcSize').slideUp(500);$('#settings').slideUp(500);document.getElementById('navCalc').className='';document.getElementById('navSettings').className='';document.getElementById('navInfo').className='active';"</li><h4><i class="fa fa-info" aria-hidden="true"></i> | Info</h4></a></li>
<li role="presentation" id="navCalc"><a onclick="$('#info').slideUp(500);$('#calcSize').slideUp(500);$('#settings').slideDown(500);document.getElementById('navCalc').className='active';document.getElementById('navSettings').className='';document.getElementById('navInfo').className='';"><h4><i class="fa fa-cogs" aria-hidden="true"></i> | Settings</h4></a></li>
<li role="presentation" id="navSettings"><a onclick="$('#info').slideUp(500);$('#calcSize').slideDown(500);$('#settings').slideUp(500);document.getElementById('navSettings').className='active';document.getElementById('navCalc').className='';document.getElementById('navInfo').className='';"><h4><i class="fa fa-calculator" aria-hidden="true"></i> | Estimated File-Size</h4></a></li>
</ul>
<div id="info">
<div class="jumbotron">
<ul class="list-group">
<li class="list-group-item"><span class="label label-success">Cryptify</span> | Obfuscates, Packes, Encodes, Encrypts and Uglyficates the js-Code with advanced anti-reverse-engineering functions, self hashing algorithms, emulation prevention and DOM-persistance.</li>
<li class="list-group-item"><span class="label label-primary">PasswordCrypt</span> | Encrypts js-Code with external Password. Password gets requested at run of code. Usefull for permission management.</li>
<li class="list-group-item"><span class="label label-info">Minimize</span> | Creates self decompressing packed and minified Code with zip-like compression algorythms.</li>
<li class="list-group-item"><span class="label label-warning">UnCryptify</span> | Deobfuscates and decryptifies obfuscated JS-Code. Works for many free obfuscators (not for this one...)</li>
</ul>
</div>
</div>
<div id="settings">
<div class="jumbotron">
<h4>All Settings only affect the 'Cryptify'-Funktion!</h4>
<hr>
<label>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="unreadable">
</span>
<p class="form-control" id="settingsP">CryptonIon-Engine</p>
<span class="input-group-addon">
Size: +1,190,000 chars
</span>
</div>
</label>
<label>
<div class="input-group">
<span class="input-group-addon">
CryptonIon-Engine
</span>
<span class="form-control">
No normal Chars in Output. Output look similar to JSFuck Output.
</span>
</div>
</label>
<hr>
<label>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="buffer">
</span>
<p class="form-control" id="settingsP">Front-End Buffer</p>
<span class="input-group-addon">
Size: +56,000 chars
</span>
</div>
</label>
<label>
<div class="input-group">
<span class="input-group-addon">
Front-End Buffer
</span>
<span class="form-control">
Hiddes Internal Funktions/Vars. Best together with CryptoIon-Engine.
</span>
</div>
</label>
<hr>
<label>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="emulatePrev">
</span>
<p class="form-control" id="settingsP">EmulationPrev</p>
<span class="input-group-addon">
Size: +1750 chars
</span>
</div>
</label>
<label>
<div class="input-group">
<span class="input-group-addon">
EmulationPrev
</span>
<span class="form-control">
If enabled Code cannot run on localhost, only on registred domain!
</span>
</div>
</label>
<hr>
<label>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="hackerMsg">
</span>
<p class="form-control" id="settingsP">Msg to Hacker</p>
<span class="input-group-addon" id="hackerMsgChars">
Size: +46 chars
</span>
</div>
</label>
<label>
<div class="input-group">
<p class="input-group-addon" id="settingsP">Edit the Msg to Hacker:</p>
<input type="text" class="form-control" id="hackerMsgTxt" value="Uncaught ReferenceError: noiqndq is not defined(...)">
<p class="input-group-addon" id="settingsP">Please edit the Text.</p>
</div>
</label>
<label>
<div class="input-group">
<span class="input-group-addon">
Msg To Hacker
</span>
<span class="form-control">
Output if Hacker tries to pipe input to eval into console.log(). Default is good. Trust me.
</span>
</div>
</label>
</div>
</div>
<div id="calcSize">
<div class="jumbotron">
<p>Cryptifying can take a long time.<br>Thats why you can calc the estimated Size after Crypting here:</p>
<table class="table table-bordered">
<tbody>
<tr>
<td>Char-Count of Input: </td>
<td id="cCharsBefore"></td>
<td id="xCharsBefore"></td>
</tr>
<tr>
<td>Chars after minimizing: </td>
<td id="cCharsPackify"></td>
<td id="xCharsPackify"></td>
</tr>
<tr>
<td>Chars after Crypting with current Settings: </td>
<td id="cCharsCurSettings"></td>
<td id="xCharsCurSettings"></td>
</tr>
</tbody>
</table>
<button class="btn btn-d" id="btnCalc" onclick="calc()"><i class="fa fa-calculator" aria-hidden="true"></i> Calculate!</button>
</div>
</div>
<hr>
<div>
</div>
<h4 id="endH4">While cryptifying site may become inoperatable and look like it has crashed, but if the Browser does not tell you that this Site is crashed, she isn't!</h4>
</body>
<script src="js/jsCrypt.js"></script>
<div id="key" class="12345"></div>
</div>
</html>