[Tutorial] Protection against '%' dialog vulnerability!
#2

I doubt if this is a bug... How do you use the inputtext in your format's and printfs?

Because if i use a %s in any format/printf, then it just works.
My test code:
PHP Code:
public OnGameModeInit() {
    new
        
message[] = "%s",
        
string[128]
    ;
    
format(stringsizeof(string), "%s"message);
    
    
printf("%s"message);
    return 
1;

UPDATE: nvm, i see now that SendClientMessageToAll doesn't like %s and any other format.
Reply


Messages In This Thread
Protection against '%' dialog vulnerability! - by Metharon - 05.06.2016, 23:53
Re: Protection against '%' dialog vulnerability! - by BlackBank - 06.06.2016, 00:07
Re: Protection against '%' dialog vulnerability! - by Aliassassin123456 - 06.06.2016, 00:17
Re: Protection against '%' dialog vulnerability! - by Aliassassin123456 - 06.06.2016, 16:21

Forum Jump:


Users browsing this thread: 2 Guest(s)