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: USDT-TRC20 Address 2: Avatar/Profile:...
- About Us
- 2024-06-29
- 2655
Project Background Recently worked on an overseas exchange system, with client requirements including demo 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: – demo contract: No expiration date, can be held indefinitely – Delivery Contract: Has an expiration date, settles upon expiration – paper 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 = 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 price.......
- Latest Updates
- 2026-04-05
- 936
# Project Overview This task involved a comprehensive security audit, performance optimization, and Linux environment adaptation for a lucky draw website source code based on ThinkPHP 3.2.3 framework. The project contains three core modules: frontend (web), backend (admin), and lucky draw 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......
- Tech Insights
- 2026-03-30
- 1090
# DaFu Lucky Draw 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, lucky 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......
- Tech Insights
- 2026-03-30
- 1002
2026 Dafu Lucky Draw Website Source Code Linux Version Baota Panel Deployment Documentation Tutorial
2026 Dafu Lucky Draw 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 lucky draw 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 lucky 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 points simulationter handle high concurrent requests and complex lucky 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 lucky draw 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......
- Tech Insights
- 2026-03-30
- 1018
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), demo 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. demo trading System Security Hardening 3.1 System Characteristics demo 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
- 958
2026.3.28 Dafu Lucky Draw 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.......
- Latest Updates
- 2026-03-30
- 854
2026 Dafu Lucky Draw Platform Program Introduction (Linux Version) This lucky draw platform is a comprehensive and stable online lucky draw entertainment system, designed to provide users with a safe, fair, and convenient lucky draw purchasing experience. The system covers various popular lucky draw games, including Instant Lucky Draw, PK10, 11, 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 Lucky Draw Games: Provides a variety of lucky draw types, real-time lucky draw, 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......
- Latest Updates
- 2026-03-30
- 1006
Dafu Lucky Draw 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; 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, panel password....
- Latest Updates
- 2026-03-28
- 898
2026 Multi-language IPE Smart Investment Trading System – Professional demo 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 demo 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 points simulationween 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......
- Latest Updates
- 2026-03-28
- 894
2026 Multi-language Lucky Draw 2.1 Major Update! Added presets, added USDT withdrawal and recharge, etc. System Repair and Optimization Log (2026-03-14) 1. Frontend Compatibility and Function Fixes (Mobile App) iOS Safari compatibility optimization: Fixed the issue where the bank card selection dropdown couldn’t be clicked on iOS devices. Replaced the native select with $ionicActionSheet popup selector that points simulationter suits mobile experience. Withdrawal page jump fix: Fixed the issue where the “Bank Card” and “USDT” modification buttons in the withdrawal page were not working, ensuring users can normally jump to the edit page. Loading exception fix: Fixed the UTF-8 encoding corruption issue in the core script app.pack.js, resolving the problem of pages infinitely loading (spinning continuously) in some environments. Style optimization: Updated public_style.css, fixing the iOS dropdown click-through style issue. 2. Backend Management System Fixes (Admin Panel) Preset lucky draw management fix: Fixed JavaScript syntax error (quote conflict) in kj-preset-check.js, restored the lucky draw verification function. Page loading optimization: Fixed the loading error issue of preset-list.php, ensuring the backend preset lucky draw list page can display normally. 3. Server Maintenance File backup: All affected server files have completed .bak_upload backup before replacement. Environment verification: All fixed files have been verified......
- Latest Updates
- 2026-03-26
- 836