Register for your free account! | Forgot your password?

Go Back   elitepvpers › Popular Games › Silkroad Online › SRO Private Server
You last visited: Today at 03:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[WARNING]Don't use Vsro Reg page v2

Discussion on [WARNING]Don't use Vsro Reg page v2 within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #16
 
LastThief*'s Avatar
 
elite*gold: 60
Join Date: Feb 2012
Posts: 3,942
Received Thanks: 6,474
Quote:
Originally Posted by Schickl View Post
Nice function, but urls are decoded by the server and shouldn't do any harm at all

And writing a function that just replaces invalid chars isn't really good imo
Easiest thing would be to use a regex(or create 2 loops and one array with the valid chars and check every single character yourself; could be a little faster) to check if it only contains the chars you want and if it doesn't, the query isn't even executed to avoid some random data in the db
Well nice idea too but I prefer this one.It's securing the variables nicely no one will be able to input ( ' ) it will be automatically replaced with ( " ) so no one will be actually able to do evil queries.
LastThief* is offline  
Old   #17
 
elite*gold: 0
Join Date: Feb 2012
Posts: 140
Received Thanks: 3
fixed easy.
(local)/SQL....

use USER DNS Fixed.
JamalXd is offline  
Old   #18
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
Quote:
Originally Posted by LastThief* View Post
ctype_alnum is actually fail use something like this
PHP Code:
    function ms_escape_string($data)
    {
        if (!isset(
$data) or empty($data))
            return 
'';
        if (
is_numeric($data))
            return 
$data;
        
        
$non_displayables = array(
            
'/%0[0-8bcef]/', // url encoded 00-08, 11, 12, 14, 15
            
'/%1[0-9a-f]/', // url encoded 16-31
            
'/[\x00-\x08]/', // 00-08
            
'/\x0b/', // 11
            
'/\x0c/', // 12
            
'/[\x0e-\x1f]/' // 14-31
        
);
        foreach (
$non_displayables as $regex)
            
$data = preg_replace($regex, '', $data);
        
$data = str_replace("'", "''", $data);
        return 
$data;
    } 
to escape the data before sending it
i know this function before years.
as i said i tested my reg page under php 3.5.10 its 100% safe.
ThElitEyeS is offline  
Old   #19
 
LastThief*'s Avatar
 
elite*gold: 60
Join Date: Feb 2012
Posts: 3,942
Received Thanks: 6,474
Quote:
Originally Posted by ThElitEyeS View Post
i know this function before years.
as i said i tested my reg page under php 3.5.10 its 100% safe.
before years ? and php 3.5.10 ? everybody uses atleast php 5+ and as Shickl said \' will escape your security dude don't struggle every one is making mistakes

my function will escape the data for real lol
LastThief* is offline  
Old   #20
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
who want to see come at tv.
ThElitEyeS is offline  
Old   #21
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 855
Join Date: May 2008
Posts: 16,434
Received Thanks: 6,526
Quote:
Originally Posted by ThElitEyeS View Post
i know this function before years.
as i said i tested my reg page under php 3.5.10 its 100% safe.
since php 4 there were removed lots of bug and exploits, and most involve injection and MSSQL
use lastest php
PortalDark is online now  
Old   #22
 
LastThief*'s Avatar
 
elite*gold: 60
Join Date: Feb 2012
Posts: 3,942
Received Thanks: 6,474
TONS of functions were removed in php 4+ php 3 is not really preferred lol
LastThief* is offline  
Thanks
1 User
Old   #23
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
warning is fake until its approved by them on my pc.
ThElitEyeS is offline  
Old   #24
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
first gay appear.
not surprised
ThElitEyeS is offline  
Old   #25
 
Schickl's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
Quote:
Originally Posted by ThElitEyeS View Post
first gay appear.
not surprised
You're small-minded
Accept the fact that your site isn't perfect(in fact it's far away from that) and that it's vulnerable

Instead of acting like an idiot denying that it is you could just spend like 5 minutes and fix your ******* site
Schickl is offline  
Old   #26
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 855
Join Date: May 2008
Posts: 16,434
Received Thanks: 6,526
Quote:
Originally Posted by ThElitEyeS View Post
warning is fake until its approved by them on my pc.
first you say php 2.5 is the best and best bugless php
now the warning is fake just because you don't find a way to understand it?
PortalDark is online now  
Old   #27
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
Quote:
Originally Posted by PortalDark View Post
first you say php 2.5 is the best and best bugless php
now the warning is fake just because you don't find a way to understand it?
from where you getting this ****.
if you don't understand talk about your self not about others
i guess you should use glasses
i never said 2.5 is the best.
i said i use 3.5.10.


Quote:
Accept the fact that your site isn't perfect
I think you should use glasses too i never said its perfect.

Quote:
Instead of acting like an idiot denying that it is you could just spend like 5 minutes and fix your ******* site
You just can STFU, or you can come to tv showing me while you inject it so i can release hotfix.
ThElitEyeS is offline  
Old   #28
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 855
Join Date: May 2008
Posts: 16,434
Received Thanks: 6,526
Quote:
Originally Posted by ThElitEyeS View Post
from where you getting this ****.
if you don't understand talk about your self not about others
i guess you should use glasses
i never said 2.5 is the best.
i said i use 3.5.10.
guess I cant make you realize the mistake you are doing by saying that warning is fake
lastthief and Schickl already prove it to you,so warning is real
but i guess i dont need to stay here watching you argue about "fake" warning
PortalDark is online now  
Old   #29
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
seriously,this topic has turned to be a funny topic xD
vorosmihaly is offline  
Thanks
1 User
Old   #30
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
Quote:
Originally Posted by PortalDark View Post
guess I cant make you realize the mistake you are doing by saying that warning is fake
lastthief and Schickl already prove it to you,so warning is real
but i guess i dont need to stay here watching you argue about "fake" warning
good for you
ThElitEyeS is offline  
Reply


Similar Threads Similar Threads
[Help] Vsro Reg Page
01/23/2012 - SRO Private Server - 1 Replies
Can any one give me a full guide for how to make a simple reg page ?? =)
[VSRO]Reg Page
12/25/2011 - SRO Private Server - 4 Replies
Hey guys, anyone can give me a registration page which really works? i tried some pages and all didnt create a new account. i hope you can help me
Hi, vsro reg page with silk add
11/24/2011 - SRO Private Server - 2 Replies
Hi , I know how to do a reg page but i can t add silks , i've search methods but no1 work. Please help me to do a reg pagw who add silks to every acc. p.s.: I need a better explication. Ty:handsdown:
reg page vsro
09/25/2011 - SRO Private Server - 8 Replies
help me I want to webpage for register vsro :( :handsdown:
[HELP]Reg page for Vsro
09/25/2011 - SRO Private Server - 6 Replies
Help me to make Vsro reg page ..I will pay you 10$ send me a private msg



All times are GMT +1. The time now is 03:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.