Step back into the flip-phone era with a fast, text-driven mafia RPG built for on-the-go play. Create your character, hustle for cash, and climb the ranks through robberies, one-on-one attacks, and gang warfare. Buy weapons, hire bodyguards, run businesses, and stash your earnings in the bank while you trade, gamble in the casino, and test your wits in timed trivia.
Designed for ultra-low bandwidth and tiny screens, WAP Online keeps sessions snappy with simple menus, Lithuanian-language chat and forums, private messages, and live “who’s online” tracking. Rally a crew, grow your influence, and fight for a top spot on the leaderboards—anytime, anywhere.
Name: WAP-online
Developer: Unknown (Lithuanian)
Year: ~2005-2006
Genre: Mobile WAP Mafia/Crime RPG
Type: WAP-based browser game (WAP = Wireless Application Protocol)
Language: Lithuanian
License: Unlicensed/Abandoned
---
Total Files: 1,574
File Breakdown:
Total PHP Lines: 6,022
Database Schema: 246 lines, 24 tables
Average File Size: 112 lines per PHP file
Key Files:
sql.sql - 246-line databasemysql.php - Database connection WITH HARDCODED CREDENTIALS!index.php - Login/registration (229 lines)prisijungus.php - Main menumano.php - Private messages (381 lines)gaujos.php - Gangsplesimai.php - Robberiespuolimai.php - Attacksforumas.php - Forumschat.php - Chatcasino.php - Casinoviktorina.php - TriviaTechnology Stack:
---
WAP Online uses WML (Wireless Markup Language) for old mobile phones:
`
wap_online/
├── index.php # Login/registration
├── prisijungus.php # Main menu
├── mysql.php # DB connection (HARDCODED!)
├── nustatymai.php # Settings
├── user_check.php # Session check
│
├── mano.php # Private messages
├── gaujos.php # Gangs
├── plesimai.php # Robberies
├── puolimai.php # Attacks
├── narkotikai.php # Drugs
├── ginklai.php # Weapons
│
├── bankas.php # Bank
├── casino.php # Casino
├── parduotuve.php # Shop
├── prekybos_centras.php # Trading center
├── transportas.php # Transport
├── pastatai.php # Buildings
│
├── chat.php # Chat
├── forumas.php # Forums
├── forumas_class.php # Forum class
├── laikrastis.php # Newspaper
├── online.php # Who's online
├── ref.php # Referrals
│
├── viktorina.php # Trivia game
├── ligonine.php # Hospital
├── picerija.php # Pizza place
├── topai.php # Rankings
│
├── data/ # Data files
├── narkotikai/ # Drug data
├── ginklai/ # Weapon data
├── casino/ # Casino data
├── plesimai/ # Robbery data
├── list/ # List files
└── images/ # Images
`
WML Output (index.php):
`php
header("Content-type: text/vnd.wap.wml");
header("Cache-Control: no-store, no-cache, must-revalidate");
echo "
\"http://www.wapforum.org/DTD/wml_1.1.xml\">
WAP-online
----------
----------
";
?>
`
Database Connection (mysql.php) - CRITICAL ISSUE:
`php
$db = mysql_connect("localhost", "jusufx", "kukuszka");
if (!$db) {
die("Negali prisijungti prie db: ".mysql_error());
} else {
$selected = mysql_select_db("jusufx");
if (!$selected) {
die("Negali pasirinkti db: ".mysql_error());
}
}
?>
`
Database credentials HARDCODED in source code!
jusufxkukuszkajusufxAuthentication:
`php
// Registration with MD5
mysql_query("INSERT INTO users
(nick,pass,pinigai,stiprumas,lygis,givybes,laikas)
VALUES ('$username','".md5($password1)."','0','5','1','100','".time()."')");
// Login with MD5
if(!mysql_fetch_row(mysql_query("SELECT nick FROM users
WHERE nick LIKE '".$_GET['nn']."'
AND pass='".md5($_GET['pas'])."'")))
`
---
Core System:
users - Player accountsonline - Who's onlinelogas - Log/activity feederror_log - Error trackingGangs/Guilds:
gaujos - Gangsgaujos_nariai - Gang membersCombat & Crime:
puolimai - Attacksplesimai - Robberies (data in files)narkotikai - Drugs (data in files)ginklai - Weaponsgezai - Bodyguards/HenchmenEconomy:
bankas - Bankpastatai - Buildingskeksynas - Bakery/Businessprekes - Goods/Itemstransportas - Transport/VehiclesCasino:
casino_bonus - Casino bonusesCommunication:
privacios_msg - Private messageschatas - Chatforumai - Forumsforumas_temos - Forum topicsforumas_zinutes - Forum postsforumas_banai - Forum bansOther:
viktorina - Trivia (via dabartinis_klausimas)dabartinis_klausimas - Current questionzona - Zone/Aread_temos - Discussion topicsd_zinutes - Discussion messages---
WAP Technology:
WML Features:
`wml
`
Character Stats:
Equipment:
Gangs (Gaujos):
Gang Activities:
Attacks (Puolimai):
Robberies (Plesimai):
Weapons (Ginklai):
Bodyguards (Gezai):
Money Sources:
Banking:
Businesses:
Shop/Trading:
Transport:
Drug System:
narkotikai.php - Drug dealingnarkotikai2.php - More drug featuresnarkotikai_poveikis/ - Drug effectsPrivate Messages:
Chat:
Forums:
Newspaper (Laikrastis):
Casino:
Trivia (Viktorina):
Other Locations:
Topai (Top Lists):
Referrals:
ref/ folder with .txt counters---
1. HARDCODED DATABASE CREDENTIALS (CRITICAL+++)
`php
// mysql.php - PUBLICLY ACCESSIBLE!
$db = mysql_connect("localhost", "jusufx", "kukuszka");
$selected = mysql_select_db("jusufx");
`
jusufxkukuszka2. SQL INJECTION EVERYWHERE (CRITICAL)
`php
// No sanitization at all!
if(!mysql_fetch_row(mysql_query("SELECT nick FROM users
WHERE nick LIKE '".$_GET['nn']."'
AND pass='".md5($_GET['pas'])."'")))
`
addslashes() used inconsistently3. LIKE OPERATOR IN LOGIN (HIGH)
`php
WHERE nick LIKE '".$_GET['nn']."'
// Should be = not LIKE!
// LIKE allows wildcards (%, _)
// Can login as wrong user!
`
4. MD5 PASSWORD HASHING (MEDIUM)
5. NO INPUT VALIDATION (HIGH)
`php
if(isset($_POST['username'])){$username = addslashes($_POST['username']);}
// Only addslashes, no validation!
`
6. DEPRECATED MYSQL FUNCTIONS (MEDIUM)
`php
mysql_connect()
mysql_query()
mysql_fetch_row()
`
7. REGISTER_GLOBALS ERA CODE (HIGH)
`php
// Uses short PHP tags
if($id == "")
// Relies on register_globals
`
8. NO CSRF PROTECTION (MEDIUM)
9. NO XSS PROTECTION (MEDIUM)
10. ERROR MESSAGES IN DATABASE (LOW)
`sql
INSERT INTO error_log VALUES
(1,'Can\'t open file: \'bankas.MYI\'. (errno: 145)');
`
---
WAP Online represents Lithuanian mobile gaming:
WAP Technology:
WML (Wireless Markup Language):
, , , Lithuanian Gaming Scene:
Cultural Context:
Domain: Midnex.Net
---
FULLY IMPLEMENTED:
Registration/login with MD5
User stats (money, strength, level, health)
Gang system
Gang boss/members
Attack system
Robbery system
Weapon system
Bodyguard system
Banking
Buildings for income
Businesses
Shop system
Transport/vehicles
Private messages
Chat with channels
Forums (5 categories)
Forum bans
Casino
Trivia game
Rankings
Who's online
Referral system
Hospital
Pizza place
Newspaper
Activity log
Avatar system
UNCLEAR:
⚠️ Drug system (files exist, usage unclear)
⚠️ Robbery types (3 files, mechanics unknown)
⚠️ Equipment effects (armor, wings, etc.)
⚠️ City system (miestas field exists)
MISSING:
Admin panel (only .adm files)
Quest system
Achievement system
What Works:
What's Broken:
Performance:
---
| Feature | WAP Online | Others |
|---|---|---|
| Platform | WAP/Mobile phones | Desktop browsers |
| Language | Lithuanian | English |
| Markup | WML | HTML |
| Target | 2005 flip phones | Computers |
| Security | 1/10 | Various |
| Game | DB Credentials | SQL Injection | Rating |
|---|---|---|---|
| Vallheru | Separate config | Protected | 9/10 |
| vPet Engine | Separate config | Vulnerable | 3/10 |
| Vice Warz | HARDCODED | NONE | 2/10 |
| WAP Online | HARDCODED | NONE | 1/10 |
WAP Online = Worst security in collection!
Only Game With:
---
Breakdown:
jusufx, password: kukuszka)The WAP Era:
Rare Preservation:
Cultural Snapshot:
Why It Can't Be Revived:
If You Tried:
---
WAP Online is a time capsule from 2005:
What It Represents:
The Triple Disaster:
kukuszka)If WAP Online Had Gone Live:
The Technology Gap:
`wml
`
The Security Gap:
`php
// 2005: "Security"
$db = mysql_connect("localhost", "jusufx", "kukuszka");
WHERE nick LIKE '".$_GET['nn']."'
// 2024: Actual security
$pdo = new PDO($dsn, $user, $pass);
$stmt = $pdo->prepare("SELECT * FROM users WHERE nick = ?");
`
WAP Online is historically significant despite being terrible:
Preservation Value:
Educational Value:
The Lesson:
"Technology moves fast. Security is forever. WAP died, but SQL injection still kills."
Both share catastrophic security:
| Issue | Vice Warz | WAP Online |
|---|---|---|
| Hardcoded DB password | "thisisme" | "kukuszka" |
| SQL injection | Everywhere | Everywhere |
| Plain-text passwords | YES | No (MD5) |
| Authentication bypass | No | YES (LIKE) |
| Final Rating | 2/10 | 1/10 |
WAP Online is WORSE because:
---
Database Size: 246 lines SQL (24 tables)
PHP Version Required: 4.x-5.6
MySQL Version: 4.x-5.x
Platform: WAP phones ONLY (Nokia, Sony Ericsson, etc.)
Markup: WML 1.1 (Wireless Markup Language)
Browser Support: NONE (requires WAP browser)
Language: Lithuanian
Deployment Difficulty: 10/10 (IMPOSSIBLE - no WAP support exists!)
Maintenance Difficulty: 10/10 (security nightmare)
Revival Difficulty: IMPOSSIBLE (dead technology)
Historical Status:
---
Analysis Date: December 11, 2024
Game #73 of 79 in the Vintage Browser RPG Collection
Status: Dead technology, catastrophic security, historical artifact
Verdict: DO NOT DEPLOY - Study only
Nickname: "The WAP Relic" 📱💀
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.