Contact Information: To prevent loss, please remember this website: dajian168.com Telegram: @dajian168 Telegram Channel: @dajian168168 WhatsApp: +852 Line ID: dajian168 Skype: [email protected] Email: [email protected] [email protected] USDT-TRC20 Address: TRK3VrMUgSas3ZtZwxdn5qH5GvTcJEguzG USDT-TRC20 Address 2: TWmWDLCiB9WJ9446aXjzD2oxW6hiYuFbBr Avatar/Profile:...
- About Us
- 2024-06-29
- 1167
Project Background Recently worked on an overseas exchange system, with client requirements including perpetual contracts, delivery contracts, and K-line control features. Tech stack is Vue + Java, here’s a record of the development process. Technical Solution Frontend: Vue 3 + Vue 2 (both ends) Backend: Java Spring Boot Database: MySQL + Redis Vue was chosen because of its excellent ecosystem and rich component library, making it very suitable for building complex interfaces like exchanges. Core Features 1. Contract Trading Types This system supports three types of contract trading: Perpetual Contract: No expiration date, can be held indefinitely Delivery Contract: Has an expiration date, settles upon delivery Spot Trading: Buying and selling cryptocurrencies “`java // Contract Service @Service public class ContractService { // Open Position public OpenResult openPosition(OpenRequest request) { // Check if position exceeds limit if (checkPositionLimit(request)) { throw new BusinessException(“Position exceeds limit”); } // Calculate margin BigDecimal margin = calculateMargin(request); // Create position record Position position = new Position(); position.setSymbol(request.getSymbol()); position.setType(request.getType()); position.setDirection(request.getDirection()); position.setAmount(request.getAmount()); position.setLeverage(request.getLeverage()); position.setMargin(margin); positionMapper.insert(position); return new OpenResult(position.getId()); } } “` 2. K-line Control This is a must-have feature for overseas exchanges. Sometimes manual intervention in K-line trends is needed, such as pumping or dumping the market. Implementation......
- Development Case Studies
- 2026-04-06
- 130
Project Background Recently worked on an overseas exchange system, with client requirements including perpetual contracts, delivery contracts, and K-line control features. The tech stack is Vue + Java, and I’m documenting the development process here. Technical Solution Frontend: Vue 3 + Vue 2 (both ends) Backend: Java Spring Boot Database: MySQL + Redis Vue was chosen because of its excellent ecosystem and rich component library, which is well-suited for building complex interfaces like exchanges. Core Features 1. Contract Trading Types This system supports three types of contract trading: – Perpetual Contract: No expiration date, can be held indefinitely – Delivery Contract: Has an expiration date, settles upon expiration – Spot Trading: Buying and selling digital currencies // Contract Service @Service public class ContractService { // Open Position public OpenResult openPosition(OpenRequest request) { // Check if position exceeds limit if (checkPositionLimit(request)) { throw new BusinessException(“Position exceeds limit”); } // Calculate margin BigDecimal margin = calculateMargin(request); // Create position record Position position = new Position(); position.setSymbol(request.getSymbol()); position.setType(request.getType()); position.setDirection(request.getDirection()); position.setAmount(request.getAmount()); position.setLeverage(request.getLeverage()); position.setMargin(margin); positionMapper.insert(position); return new OpenResult(position.getId()); } } 2. K-line Control This is a essential feature for overseas exchanges. Sometimes manual intervention in K-line trends is needed, such as pumping or dumping the......
- Latest Updates
- 2026-04-05
- 182
# Project Overview This task involved a comprehensive security audit, performance optimization, and Linux environment adaptation for a lottery website source code based on ThinkPHP 3.2.3 framework. The project contains three core modules: frontend (web), backend (admin), and lottery result collector (127.0.0.6). The original code ran on Windows environment with Apache 2.4 + PHP 5.4 + MySQL 5.5, and has now been fully migrated to Linux + Nginx + PHP 8.1 + MySQL 5.7+. # Security Audit and Backdoor Remediation ## 2.1 Discovered Backdoors and Security Threats After comprehensive scanning, 5 high-risk backdoor files and multiple medium-risk security vulnerabilities were discovered. The detailed list is as follows: | No. | File Path | Risk Level | Description | |—–|———–|————|————-| | 1 | web/app/Common/TagLib/Form.class2.php | High Risk | Backdoor disguised as a form class. Contains SQL injection interfaces that can delete users, modify balances, reset passwords, and clear sessions. This is the root cause of database tampering. | | 2 | web/app/Common/Lib/handler.php | High Risk | Interface that can query all user data without any authentication. | | 3 | web/app/Common/Lib/handler2.php | High Risk | Interface that can delete arbitrary users through SQL injection without authentication. | | 4 | web/change_state.php......
- Tech Insights
- 2026-03-30
- 158
# DaFu Lottery System Backdoor Vulnerability Fix and Security Hardening Report **Date: February 16, 2026** ## 1. Overview This task aimed to resolve multiple issues in the backend system, including functional errors, 404 errors, lottery draw suspension, and security investigation regarding suspected tampering of customer service links. After detailed diagnosis and repairs, all known issues have been resolved, and necessary security hardening has been implemented for the system. ## 2. Backend Function Repair ### 2.1 Backend Entry and Routing Issues **Problem:** The backend access path was incorrect, preventing login and causing subsequent functional errors and 404 errors. **Diagnosis:** Through analysis of the Nginx configuration, the correct backend domain was confirmed to be ht.dajian168.com, with its configuration file being ht.dajian168.com.conf, resolving the entry issue. ### 2.2 System Settings Page Error **Problem:** Clicking the “System Settings” page resulted in an error. **Diagnosis:** The theme() method signature in SystemController.class.php was incompatible with its parent class Think\Controller’s theme($theme), causing a PHP Fatal Error. **Fix:** Modified the theme() method in SystemController to be compatible with the parent class. Also cleared the backend Runtime cache to resolve the template rendering issue. ### 2.3 Setting Draws and Other Navigation Pages 404 **Problem:** Clicking “Setting Draws” and several......
- Tech Insights
- 2026-03-30
- 156
2026 Dafu Lottery Website Source Code Linux Version Baota Panel Deployment Documentation Tutorial This document provides a detailed introduction on how to deploy the secured and performance-optimized lottery website source code on a Linux server with Baota panel installed. Please strictly follow the steps below. 1. Server Configuration Recommendations To ensure smooth website operation and fast response, especially in scenarios with high concurrent access and frequent lottery draw calculations, the following server configuration is recommended: Configuration Item | Description —|— CPU and Memory | Directly affects PHP script execution efficiency and database performance. Higher configuration can better handle high concurrent requests and complex lottery draw logic calculations. Hard Drive | Using SSD or NVMe SSD can greatly improve database read/write speed and file loading speed, thereby significantly reducing page loading time. Bandwidth | For lottery websites, user online rate and data refresh frequency are high, so sufficient bandwidth is the foundation for ensuring good user experience. 2. Baota Panel Environment Setup 2.1 Installing Baota Panel Use SSH to log in to your Linux server and execute the following official command to install Baota panel. CentOS system is recommended. CentOS Installation Script: “` yum install -y wget && wget -O install.sh......
- Tech Insights
- 2026-03-30
- 176
1. Fault Overview On March 30, 2026, a comprehensive security inspection and emergency response handling was conducted on the server. This maintenance primarily focused on Weipan (Micro Disk), Micro Trading System, and ThinkPHP backdoor for special investigation and remediation. 2. Weipan System Security Maintenance 2.1 System Introduction Weipan system is a common type of financial trading website system, mainly providing financial services such as small-value transactions and contract for difference (CFD). Due to its involvement in capital transactions, it is a key target for hacker attacks. 2.2 Common Security Vulnerabilities – Weak password vulnerability – SQL injection vulnerability – File upload vulnerability – Unauthorized access vulnerability – Payment interface vulnerability 2.3 Remediation Measures – Update all administrator account passwords to strong passwords (16 characters or more) – Restrict backend login IP addresses – Enable login failure lockout – Update system to the latest secure version – Deploy Web Application Firewall (WAF) 3. Micro Trading System Security Hardening 3.1 System Characteristics Micro trading systems are typically developed using PHP frameworks such as ThinkPHP and Laravel, featuring rapid deployment and easy operation. However, they are also high-risk areas for SQL injection and remote code execution. 3.2 Hardening Plan 1. Hide ThinkPHP version......
- Tech Insights
- 2026-03-30
- 164
2026.3.28 Dafu Lottery Linux Version Website Maintenance Log Maintenance Time: 2026-03-28 Maintenance Content: Handling the issue of a one-line trojan being written to the backend “Category Management/Help Center Category”. During this inspection, it was found that the category name field in the database caipiao_category table was injected with malicious PHP code, and abnormal backdoor files were generated through the cache mechanism. After investigation, the problem entry point was identified as the add and edit functions in the backend help center category management. The following maintenance work has been completed this time: 1. Clean up the malicious category content in the database, restore the Help Center category to normal names and hierarchy. 2. Delete the abnormal files generated by the cache and the persistent backdoor files. 3. Add dangerous content interception to the backend category management functions to prevent malicious PHP code from being written again. 4. Verify that the related abnormal files can no longer be accessed externally. Maintenance Result: The malicious category content has been cleared, the abnormal backdoor files have been deleted, the Help Center category has been restored to normal, and the related risk entry points have been basically reinforced. The website is currently operating normally. Server......
- Latest Updates
- 2026-03-30
- 136
2026 Dafu Lottery Platform Program Introduction (Linux Version) This lottery platform is a comprehensive and stable online lottery entertainment system, designed to provide users with a safe, fair, and convenient lottery purchasing experience. The system covers various popular lottery games, including Instant Lottery, PK10, 11选5, Mark Six, etc., to meet the entertainment needs of different users. The platform adopts advanced technical architecture to ensure smooth system operation and secure and reliable data transmission. Core Features: – Multiple Lottery Games: Provides a variety of lottery types, real-time lottery drawing, and easy-to-understand gameplay. – User Management System: Complete user registration, login, personal information management, and fund management (deposit, withdrawal) functions. – Agent Promotion System: Supports multi-level agent mode, facilitating users to engage in promotion and commission settlement. – Security Protection: Adopts multiple encryption technologies to ensure the security of user accounts and transaction data. – Responsive Design: Front-end interface adapts to PC and mobile devices, providing a consistent user experience. – Backend Management System: Powerful backend management functions, including user management, game management, financial management, and system settings, facilitating operational personnel for daily maintenance and data analysis. Technical Highlights: – ThinkPHP Framework: Developed based on the ThinkPHP framework, with clear code structure,......
- Latest Updates
- 2026-03-30
- 134
Dafu Lottery Linux Version Website Maintenance Log Maintenance Time: 2026-03-28 Maintenance Content: Handling the issue where “Column Management/Help Center Category” in the backend was injected with a webshell. During this inspection, it was discovered that the category name field in the database caipiao_category table was injected with malicious PHP code, and abnormal backdoor files were generated through the cache mechanism. After investigation, the problem entry point was identified as the add and edit functions in the backend Help Center category management. The maintenance work completed this time is as follows: 1. Cleaned up malicious category content in the database, restored normal names and hierarchy of Help Center categories; 2. Deleted abnormal files generated by cache and落地后门文件 (persisted backdoor files); 3. Added dangerous content interception to the backend column management function to prevent malicious PHP code from being written again; 4. Verified that related abnormal files can no longer be accessed externally. Maintenance Result: The malicious category content has been cleared, abnormal backdoor files have been deleted, Help Center categories have been restored to normal, and related risk entry points have been basic hardening. The website is currently running normally. Server Hardening: Install firewall, server hardening, change server password, database password,......
- Latest Updates
- 2026-03-28
- 154
2026 Multi-language IPE Smart Investment Trading System – Professional Micro Trading Platform Product Overview IPE is a high-performance, multi-functional smart investment trading system developed based on the ThinkPHP framework. The system is specifically designed for micro trading, supporting real-time market display and fast order execution for various financial products (such as spot gold/silver, futures, crude oil, cryptocurrencies, and global indices). The system adopts a responsive front-end design, perfectly adapted for mobile devices, providing users with a smooth and professional investment experience. Core Features Real-time Market System: Integrates real-time market data for mainstream global financial products, supports switching between K-line charts and fluctuation charts, with millisecond-level data update latency. Diverse Trading Modes: Supports bullish (UP)/bearish (DOWN) bidirectional trading, with flexible investment amount and expiration time settings. Intelligent Risk Control Management: The backend allows precise setting of profit/loss probability, supporting manual intervention for individual orders to ensure platform operation safety. Multi-currency Deposit and Withdrawal: Supports various payment methods such as bank cards and digital currencies, with global deposit support. Multi-language Support: Built-in simplified Chinese, traditional Chinese, English and other language switches, adapted for global users. Security Protection: Adopts multi-layer encryption technology to protect user funds and privacy, supporting secondary verification with payment......
- Latest Updates
- 2026-03-28
- 158