mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 22:57:16 +00:00
Fix some sql inject & Add Credits
Fix some sql inject & Add Credits
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
<?php
|
||||
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename : attack-filtered.tpl ##
|
||||
## Type : Alliance Incoming Attacks (filtered) ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Developed by : Shadow ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Contact : cata7007@gmail.com ##
|
||||
## Project : TravianZ ##
|
||||
## URLs: : https://travianz.org ##
|
||||
## GitHub : https://github.com/Shadowss/TravianZ ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## License : TravianZ Project ##
|
||||
## Copyright : TravianZ (c) 2010-2026. All rights reserved. ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Project: TravianZ (Refactor incremental) ##
|
||||
## File: attack-filtered.tpl ##
|
||||
## Description: Attack / report filtering ##
|
||||
## Improvements: ##
|
||||
## - Secure GET handling ##
|
||||
## - Safer SQL parameters (cast only) ##
|
||||
## - Reduced duplicated conditions ##
|
||||
## - Cleaner rendering ##
|
||||
## - XSS protection ##
|
||||
#################################################################################
|
||||
|
||||
// filter type (secure cast)
|
||||
|
||||
Reference in New Issue
Block a user