Commit Graph

748 Commits

Author SHA1 Message Date
ce4d23d18e Refactor: Implement TCP Brutal installation in Python 2025-05-05 23:31:14 +03:30
b8e6a5475b refactor: masquerade management in Python3 2025-05-03 21:49:26 +03:30
976f080523 Refactor: Implement server stats in Python 2025-05-03 00:20:36 +03:30
ae12afced1 Refactor: Implement IP address config manager in Python 2025-05-02 22:03:59 +03:30
1c08a4adbb Refactor: Implement Hysteria Bakcup in Python 2025-05-02 21:52:17 +03:30
1da884dba4 Refactor: Implement Telegram bot service manager in Python 2025-05-02 21:45:18 +03:30
9d0a13a226 Refactor: Implement WARP ACL configuration in Python
- remove WARP Plus/Key
2025-05-02 18:24:58 +03:30
07cb999259 Refactor: Implement warp status in Python 2025-05-02 17:35:43 +03:30
0e0d054d5d Refactor: Warp setup and uninstallation scripts to Python3 2025-05-02 17:21:26 +03:30
10526df4ea Update hysteria-server.service to use Blitz Panel config.json 2025-05-02 14:55:16 +03:30
beb8748f4b Refactor: Implement Hysteria2 uninstallation in Python 2025-05-02 14:37:47 +03:30
1e4f6439d3 Refactor: Implement Hysteria server update in Python 2025-05-02 14:14:43 +03:30
e597d819d3 refactor: migrate obfs manager script from Bash to Python 2025-05-02 13:50:36 +03:30
18d7f3459e fix: resolved permission issue by adjusting subprocess call to explicitly use Python 2025-05-02 13:41:34 +03:30
2008156e20 Fix: Remove misuse of asyncio.to_thread with async context manager in remove_user.py 2025-05-02 13:26:57 +03:30
8ba46b9878 Refactor: Implement user addition functionality in Python 2025-05-02 13:07:53 +03:30
5a253258e8 Refactor: Implement Hysteria server restart in Python 2025-05-02 12:35:44 +03:30
cf4726e5d9 Refactor: Implement user information retrieval in Python 2025-05-02 12:29:37 +03:30
19192bd02d Refactor: Implement port update functionality in Python 2025-05-02 12:08:19 +03:30
50bb7fe7ff Refactor: Implement user reset functionality in Python 2025-05-02 11:53:22 +03:30
7e71b1c33b Refactor: Implement user removal in Python 2025-05-02 11:40:57 +03:30
8d9fda0c09 Remove Tree Mode 2025-05-01 23:34:29 +03:30
f2f2401b52 fix(ui): Adjust JSONEditor code view background in dark mode 2025-05-01 23:33:38 +03:30
552862c251 Integrate custom CSS into base.html 2025-05-01 22:18:35 +03:30
ea581c0197 feat: Enhance UI/UX with improved CSS for light/dark modes 2025-05-01 21:49:27 +03:30
862128b325 fixed footer 2025-05-01 19:47:33 +03:30
72b372b978 feat: Add user count, ID column, and sorting to users table
- Display total user count in the card header.
- Add a new '#' column to the user table showing the row number.
- Sort the user list alphabetically by username (case-insensitive) using Jinja filter before rendering.
- Update JavaScript column index references (`td:eq(n)`) to reflect the added '#' column.
2025-04-28 19:38:31 +03:30
cdf122d687 🔧 Fix missing return statement in telegram_stop_api function 2025-04-28 10:49:29 +03:30
15780cf43a 🔒 Improve SSL certificate handling with auto-renewal detection 2025-04-27 23:05:30 +03:30
9793dc28e7 Remove warps ACL rules completely when wg-quick@wgcf service is inactive 2025-04-27 18:32:18 +03:30
68441c1cae Fix config.json permission issues by preserving original file permissions
- Replace mv commands with cat to maintain original file permissions when updating config with jq
2025-04-27 18:20:46 +03:30
1255fc7e58 feat: improve restore.sh to auto-fix config.json based on network interface 2025-04-27 17:40:31 +03:30
787184bb8a fix: prevent duplicate WARP outbound entries and improve installation flow 2025-04-27 11:57:38 +03:30
7546e13cfb fix: handle domain names in IP4 configuration variable
Previously, when the IP4 variable contained a domain name instead of an actual IP address, the SNI validation would fail and force the use of self-signed certificates. This update adds detection and resolution of domain names in the IP4 variable, ensuring proper DNS comparison when checking if the SNI domain points to the server.
2025-04-27 11:32:43 +03:30
c89134f40e fix : typo 2025-04-26 20:39:29 +03:30
57993d7602 feat: Add Decoy Site feature
Adds a new Decoy Site configuration tab in the settings section.
2025-04-26 20:33:12 +03:30
c1d8c422af Add decoy status API 2025-04-26 13:31:19 +03:30
fa7090a88b feat(api): Add endpoints for webpanel decoy management using background tasks
- Add POST `/api/v1/config/hysteria/webpanel/decoy/setup` endpoint to configure the decoy site.
- Add POST `/api/v1/config/hysteria/webpanel/decoy/stop` endpoint to remove the decoy site configuration.
- Implement `BackgroundTasks` for both endpoints to prevent Caddy service restarts from interrupting the API response.
- Add `SetupDecoyRequest` Pydantic schema for the setup endpoint payload.
2025-04-25 21:58:04 +03:30
d5397a9f14 feat(CLI): Add decoy site management
- Added corresponding wrapper functions (setup_webpanel_decoy,
  stop_webpanel_decoy) in cli_api.py.
- Updated start_webpanel in cli_api.py to accept decoy_path.
- Exposed new commands (setup-webpanel-decoy, stop-webpanel-decoy)
  in cli.py.
- Updated the webpanel start command in cli.py to accept a
  --decoy-path option.
2025-04-25 21:15:06 +03:30
7ff72e720c feat: Add decoy site functionality to Hysteria web panel
- Add ability to configure a decoy site on port 443 while hiding the web panel
- Support both same-port and separate-port configurations
- Add commands to manage decoy sites: 'decoy' to add/configure and 'stopdecoy' to remove
- Ensure clean reversion of Caddy configuration when stopping decoy sites
- Make decoy path optional during panel startup

This enhancement improves obfuscation capabilities by serving legitimate-looking 
content on standard HTTPS port while keeping the actual panel hidden behind a 
secret path.
2025-04-25 20:50:24 +03:30
114f16dcb6 Merge pull request #132 from ReturnFI/beta
SNI checker
2025-04-25 11:38:22 +03:30
748d0bf2bd add init_paths to handle sys.path setup for importing shared modules like paths.py 2025-04-24 20:23:31 +03:30
ddfad6cd72 HotFix: Display TRAFFIC STATUS 2025-04-23 11:55:43 +03:30
ff194d0098 Changes:
feat: Add SNI checker and certificate manager
Key features:
- Domain-to-IP resolution verification
- Automatic Let's Encrypt certificate acquisition
- Self-signed fallback for domains not pointed to the server
- Updates insecure flag in config.json based on certificate type
- Updates SNI in environment config
- Generates and updates SHA-256 fingerprint

fix(urls): Update URI generator to respect TLS insecure flag
Changes:
- Added insecure parameter to generate_uri() function
- Read TLS insecure flag from config.json
- Set insecure=0 for valid certificates and insecure=1 for self-signed ones
- Updated all URI generation calls to include the insecure parameter
2025-04-21 00:17:28 +03:30
ae8a872059 Delete show_user_uri.sh 2025-04-19 19:30:46 +03:30
46f9b9580e Optimize server_info.sh for better performance and error handling
- Improved error handling for missing files and null values
- Enhanced JSON parsing to properly handle malformed entries
- Fixed CPU usage calculation
- Made memory stats extraction more robust
- Added fallback mechanisms for jq processing failures
- Improved handling of null numeric values in traffic statistics
- Added stderr redirection to suppress error messages
- Implemented safer variable expansions with default values
- Overall code cleanup and optimization
2025-04-19 19:22:49 +03:30
32c21126ed add UserUriResponse schem 2025-04-19 18:43:06 +03:30
fb221d350e Changes log:
feat: add user URI API endpoint
feat: integrate show_user_uri_api in users page
refactor: remove URI generation from viewmodel
2025-04-19 18:18:01 +03:30
325c130fd0 feat: add show-user-uri-json command 2025-04-19 13:12:33 +03:30
e79123364f refactor show user uri 2025-04-19 12:25:11 +03:30