Hongmu Notes
Home Program Notes EMLog Pro – Happy Crack Version – For learning, sharing, and use.
Program Notes emlog

EMLog Pro – Happy Crack Version – For learning, sharing, and use.

EMLog Pro – Happy Crack Version – For learning, sharing, and use.

This website uses the WordPress platform; emlog is only being used temporarily for learning and exchange purposes.

I recently remembered using the EMLog program – I used it to write blogs before, and it worked quite well – so on a whim, I downloaded and started using it!

But there's now a so-called paid version!

So, I searched online and found a cracking script. Driven by a desire to learn, I gave it a try – here are the results:

ad1a1b7183231912

The results are very good; in fact, the EMLOG source code is open-source, so there's really nothing to crack – those who understand the code can easily bypass it!

No more nonsense, here is a simple tutorial.

Tutorial begins!

Create a folder in the root directory of your EMLOG website.emlogvip.phpUpload the following code into the document, then open it in your browser.

Code:

<?php
/**
 * EMLOG PRO FREE
 * https://www.emlog.net.cn
 * 2023-03-03 00:18:18
 */

header('Content-Type: text/html; charset=UTF-8');

const EMLOG_ROOT   = __DIR__;
const EMLOG_NET    = 'https://www.emlog.net/';
const EMLOG_NET_CN = 'https://www.emlog.net.cn/';

$act = isset($_GET['action']) ? $_GET['action'] : '';

function W($content, $net = 0) {
	$content = str_replace('www.', '', $content);
	if ($net === 1) {
		$content = str_replace('net.', '', $content);
	}
	return $content;
}

function EMLOG_FREE_FILE($path, $search, $replace) {
	$empath = EMLOG_ROOT . '/' . $path;
	if (file_exists($empath)) {
		$content = file_get_contents($empath);
		$content = str_replace($search, $replace, $content, $count);
		$log = $count . ' | ' . $path;
		if ($count > 0) {
			if (!@file_put_contents($empath, $content)) {
			    $log = '<span>文件权限错误</span> | ' . $path;
			}
		}
	} else {
		$log = '-1 | ' . $path;
	}
	return '<p class="log">' . $log . '</p>';
}

function EMLOG_FREE() {
	$pro = [
		[
			'path'    => 'init.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/index.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/globals.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/store.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/upgrade.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/plugin.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/template.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/index.php',
			'search'  => W(EMLOG_NET_CN, 1),
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/index.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/index.php',
			'search'  => W(EMLOG_NET) . 'register',
			'replace' => EMLOG_NET_CN . 'register'
		],
		[
			'path'    => 'admin/views/footer.php',
			'search'  => 'http://www.emlog.net',
			'replace' => EMLOG_NET_CN . '?'
		],
		[
			'path'    => 'admin/views/auth.php',
			'search'  => W(EMLOG_NET),
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/auth.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/store_svip.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/store_mine.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/store_tpl.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/store_plu.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/setting_seo.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/setting_api.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'admin/views/js/common.js',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'include/model/store_model.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'include/lib/emcurl.php',
			'search'  => 'return;',
			'replace' => ''
		],
		[
			'path'    => 'include/lib/register.php',
			'search'  => EMLOG_NET,
			'replace' => EMLOG_NET_CN
		],
		[
			'path'    => 'include/lib/register.php',
			'search'  => 'strlen($emkey) !== self::EMKEY_LEN',
			'replace' => 'empty($emkey)'
		],
		[
			'path'    => 'include/lib/function.base.php',
			'search'  => '$r[\'host\']',
			'replace' => '$r[\'undefined\']'
		],
		[
			'path'    => 'include/lib/function.base.php',
			'search'  => '$a !==',
			'replace' => '$undefined =='
		],
		[
			'path'    => 'include/lib/common.php',
			'search'  => '$r[\'host\']',
			'replace' => '$r[\'undefined\']'
		],
		[
			'path'    => 'include/lib/common.php',
			'search'  => '$a !==',
			'replace' => '$undefined =='
		]
	];
	$log = '';
	foreach ($pro as $key => $vale) {
		$log .= EMLOG_FREE_FILE($vale['path'], $vale['search'], $vale['replace']);
	};
	return $log;
}

?>
<!DOCTYPE HTML>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="shortcut icon" href="https://www.emlog.net.cn/favicon.ico" type="image/x-icon">
        <title>EMLOG PRO 免费版</title>
        <style>
            <!--
            body {
                background-color: #F7F7F7;
                font-family: Arial;
                font-size: 12px;
                line-height: 250%;
            }

            .main {
                background-color: #FFFFFF;
                color: #555555;
                width: 730px;
                margin: 100px auto 30px;
                padding: 10px;
                list-style: none;
                border: #DFDFDF 1px solid;
            }

            #ver {
                font-size: 18px;
                text-align: center;
            }

            li {
                list-style: none;
            }

            li span {
                font-weight: bold;
				text-decoration: underline;
            }

			.log {
				margin: 0px 20px;
				float: left;
				width: 43.5%;
			}

			.log span {
				color: red;
				text-decoration: underline;
			}

            .iteam {
                font-size: 18px;
                font-weight: bold;
                color: #666666;
                border-bottom: #CCCCCC 1px solid;
                padding: 10px;
            }

			.clear {
				clear: both;
			}

			.foot {
				text-align: center;
			}

			.foot a {
				color: #666;
				text-decoration: none;
			}
            -->
        </style>
    </head>
<body>
    <div class="main">
	<?php if (!$act) { ?>
        <p id="ver">EMLOG PRO 免费版</p>
        <div>
            <p class="iteam">说明</p>
            <ul style="color: #ff0000;">
                <li>1. 操作之前,务必对站点全部的文件进行备份</li>
                <li>2. 升级成功后,进入网站后台,输入注册码:<span>任意32个字符</span></li>
                <li>3. 然后就可以免费使用全部功能,包括在线更新、应用商店等</li>
            </ul>
            <form name="form1" method="post" action="emlogvip.php?action=free">
                <p class="iteam">操作</p>
                <ul style="font-size: 14px;">
                    <li>
                        <input type="submit" class="submit" value="开始升级">
                    </li>
                </ul>
            </form>
        </div>
	<?php } if ($act === 'free') { ?>
		<p>
			<p style="font-size: 24px; border-bottom: 1px solid #E6E6E6; padding: 10px 20px;">恭喜!升级成功了!</p>
			<?php echo EMLOG_FREE(); ?>
			<div class="clear"></div>
			<p style="color: red; margin: 15px 20px;">请删除根目录文件:emlogvip.php</p>
			<p style="text-align: right;"><a href="./admin/" style="color: #999999; margin-right: 10px;">登录后台</a></p>
		</p>
	<?php } ?>
    </div>
	<div class="foot">
		<a href="https://www.emlog.net.cn" target="_blank">© EMLOG.NET.CN</a>
	</div>
	<?php
		ini_set('user_agent', EMLOG_NET_CN . 'ver');
		$data = json_decode(file_get_contents(EMLOG_NET_CN . 'ver'));
		if ($data->ok == 1 && $data->ver != 23035) { ?>
		<script>
			alert('有可用的新版本,请更新!');
			window.location = 'https://www.emlog.net.cn/pro';
		</script>
	<?php } ?>
</body>
</html>

The following is an explanation provided by the website hosting the free version of EMLOG Pro:

How to use

Step 1: Go emlogofficial website Download and install the installation package (skip this step if the software is already installed).

Step 2: Download emlogvip.zip, extract it, and upload the resulting emlogvip.php file to the root directory of your Emlog installation.

Step 3: Open the following URL in your browser: http://your-domain.com/emlogvip.php, then click "Upgrade".

Step 4: Log in to the website's backend and enter your registration code:Any 32 characters

Step 5: You can then use all features for free, including online updates and the app store (new versions available after online updates are also free).

Supported Versions

emlog pro 2.1.13
emlog pro 2.1.12
emlog pro 2.1.11
emlog pro 2.1.10
emlog pro 2.1.9
emlog pro 2.1.8
emlog pro 2.1.7
emlog pro 2.1.6
emlog pro 2.1.5
emlog pro 2.1.4
emlog pro 2.1.3
emlog pro 2.1.2
emlog pro 2.1.1
emlog pro 2.1.0
emlog pro 2.0.3
emlog pro 2.0.2
emlog pro 2.0.1
emlog pro 2.0.0
emlog pro 1.0.8 - emlog pro 1.9.3

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Emlog enables automatic saving when editing articles.

Emlog enables automatic saving when editing articles. Program Notes emlog

The automatic save feature allows you to automatically save your edits when you publish an article – it doesn't generate any extra IDs or drafts! When you click the "Auto Save" button, the page will be automatically submitted and saved without interrupting your editing process! The advantage is that you can save your article at any time; if a power outage or network disruption occurs and your changes aren't saved, you might be in for a real headache! Let's get started with the tutorial! Step 1: Open /admin/views/artic...
👁 244
EMLOG backend editor – Set text size

EMLOG backend editor – Set text size Program Notes emlog

When editing text in EMLOG, the font size displayed is too small, making it very uncomfortable to read; if left unchanged, the text is practically impossible to read! To set the font size to 16px, you can modify the following code: Step 1: Open the `admin/views/article_write.php` file, and in the initialization section of both `Editor` and `Editor_summary`, locate the `path:` line...
👁 201
Change article line breaks in EMLog to <p> tags.

Change article line breaks in EMLog to <p> tags. Program Notes emlog

The new version of EMLOG is still unfamiliar to me – the editor still has a ton of issues! However, since I'm not very familiar with JavaScript, I've simply modified the line breaks using PHP! Find your article page template (e.g., `echo_log.php`) and modify the variable used for outputting your articles: `&lt;? $log_content = str_replace(&quot;&lt;br/&gt;", &quot;&lt;/p&amp;gt;...`
👁 191
When editing articles in the EMLOG backend, automatic saving and display of word count statistics are enabled.

When editing articles in the EMLOG backend, automatic saving and display of word count statistics are enabled. Program Notes emlog

The specific modifications are shown in the figure below: This shows exactly how many seconds have been saved! It also displays the number of words in the article, making it very convenient for users to review their own content! Modification tutorial: Open the file `/admin/views/article_write.php`, and locate the code snippet: `<label>Article Summary:</label><%/label>` – this is approximately 18 lines of code. Add the following code snippet above this section: `<span i...`
👁 260
EMLOG Pro Registration Code "Cracking" Tutorial (What should users do if the official or free version of EMLOG suddenly becomes unavailable?)

EMLOG Pro Registration Code "Cracking" Tutorial (What should users do if the official or free version of EMLOG suddenly becomes unavailable?) Program Notes emlog

Preface: A tutorial on "cracking" the EMLOG Pro registration code – why use quotation marks for the word "cracking"? Because EMLOG is fully open-source software; anyone can download and modify it freely. Since it's open-source, the concept of "cracking" doesn't really apply. Main text: What should users do if the official EMLOG version or the free EMLOG version suddenly disappears? What if your EMLOG Pro cannot connect to the server...
👁 1264
How to make administrator login visible on Emlog?

How to make administrator login visible on Emlog? Program Notes emlog

I took a look at EMLOG, downloaded a template, but during use, I noticed that there was no login-protected functionality! What I needed was features accessible only to administrators upon logging in. So, I checked the official documentation: there are directly usable constant variables and constant type definitions. For example: - `Option::EMLOG_VERSION` – retrieves the current EMLOG version number; - `ROLE` – indicates the current user role (user group): `admin` (administrator), `writer`, etc.
👁 259

Recommended reading

Responsive self-media personal blog website template – 0409

Responsive self-media personal blog website template – 0409 Practical Collection Yiyou template

An EyouCMS responsive website template designed specifically for personal self-media blogs. Its clean and user-friendly design is ideal for bloggers to share articles, opinions, personal stories, or hobbies. This template helps self-media creators build their online personal brand and attract readers' attention. Template Demo | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (E...
👁 41
What does the `mysql-bin.000001` file mean?

What does the `mysql-bin.000001` file mean? Summary of pitfalls

`mysql-bin.000001` is MySQL's binary log file. It is a binary file used by the MySQL server to record all modification operations performed on the database. When the database executes statements such as `INSERT`, `UPDATE`, or `DELETE`, the server writes these operations to the binary log file; these operations are recorded in binary format, rather than in SQL...
👁 338
(Adaptive mobile version) Historical news website template; Download source code for oddities and curiosities websites – 0897

(Adaptive mobile version) Historical news website template; Download source code for oddities and curiosities websites – 0897 Practical Collection pbootcms Template

A PbootCMS website template designed for historical information and curious anecdotes, compatible with both PC and WAP devices. Its retro and mysterious design makes it ideal for sharing historical stories, fascinating tales, and archaeological discoveries. This template helps history enthusiasts or independent content creators build an online content-sharing platform. Template Preview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles...
👁 61
Children's wear international trade responsive English website template – 1115

Children's wear international trade responsive English website template – 1115 Practical Collection Yiyou template

An EyouCMS responsive English-language website template designed for children's wear export trade. Its fashionable and playful design effectively showcases children's clothing products, brand stories, export advantages, and global market presence. This template helps children's wear brands promote their products in international markets and expand their overseas sales channels. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS...
👁 51
(Adaptive mobile version) pbootCMS website development – Network Technology Templates, SEO Optimization – Web Development Company – Website Source Code Download: 0223

(Adaptive mobile version) pbootCMS website development – Network Technology Templates, SEO Optimization – Web Development Company – Website Source Code Download: 0223 Practical Collection pbootcms Template

This set consists of adaptive mobile-friendly PbootCMS website development and web technology templates. The modern, tech-driven design is ideal for SEO optimization and showcasing project cases for web development agencies. It helps internet service providers attract corporate clients online and enhance their brand awareness. Template Overview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles...
👁 39
Responsive Website Development – Design-oriented Website Templates 0410

Responsive Website Development – Design-oriented Website Templates 0410 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for websites development and design agencies. Its modern, tech-driven design style makes it perfect for showcasing website development projects, design works, technical services, and customer testimonials. It helps website development companies attract business clients looking to build websites online. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS...
👁 60