Zero Trust Routing โข Signed URLs โข Anti-Replay โข Bot Defense โข Stealth Security
v.php is a high-security, single-file PHP router designed for hostile environments.
It transforms unsafe direct access:
/dashboard.php
into a fully verified, signed, behavior-protected request pipeline:
User โ Signed URL โ Security Engine โ Safe Resource Access
Every request is treated as untrusted โ and must prove legitimacy.
The built-in control panel provides:
Access panel:
/?__cp__
Typical flow:
User โ Direct File Request
โ Router Intercepts
โ Signed URL Generated
โ Redirect
โ Secure Access
Unlike traditional routers, v.php is built with a security-first architecture, not as an afterthought.
Request
โ
Signature Validation
โ
Token Replay Protection
โ
Rate Limiting
โ
Bot Scoring Engine
โ
Stealth Ban System
โ
Secure File Resolution
โ
Response
Each layer independently enforces security โ failure at any step stops execution.
/?r=TOKEN) and classic URLsEach token is bound to:
Prevents:
| Event | Score |
|---|---|
| Invalid signature | +10 |
| Replay attempt | +15 |
| Device mismatch | +3 |
| Token leak | +20 |
Blocked users receive:
HTTP 404 Not Found
No indication of restriction.
Detects:
/?__cp__
Provides monitoring, logs, and route management.
Never trust the request. Always verify.
project-root/
v.php
.htaccess
error.html
cp.jpeg (Demo)
cp.gif (Demo)
.runtime/
m.json
u.json
b.json
r.json
k.json
x.json
a.log
s.log
define('SIGN_SECRET', 'CHANGE_THIS');
define('SIGNED_TTL', 7200);
define('URL_MODE', 'short');
define('CP_PASSWORD', 'admin1234');
| Mode | Example |
|---|---|
| short | /?r=TOKEN |
| classic | /v.php?id=1&sig=... |
User โ direct file
โ router intercepts
โ signed URL generated
โ redirect โ secure access
40 requests / 60 seconds per IP
Tracks usage and behavior
Tracks attacks and blocks
v.php
.htaccess
error.html
mkdir .runtime
chmod 777 .runtime
SIGN_SECRETCP_PASSWORD.runtime accessEmail: psvineet@zohomail.in
MIT License
Give a star โญ if you find this useful.