Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[New Year 2019] VPS Hosting

To celebrate the new year of 2019, we will do a giveaway at 01/01/2019 20:00 UTC.

Board Rules

Read the board rules in the link bellow.

Lunmea Partnership

20% off on HMedium plan or higher in Shared Web Hosting
20% off on Double Micro VPS or higher in VPS

Use TLTHINGS.NET coupon as discount.

Sign in to follow this  
Tierri Lopes

[Proteção] Web Api

Recommended Posts

Nome: Vulnerabilidade Web API

 

Data de inicio: 30/12/2014

 

Afeta: todos os cores

 

Sintomas: servidor laga, itens desaparecem do item_award

 

Causa: Alguns comandos da web API nunca são filtrados. Tais como:

 

PACKET_INFO -> aumenta o lag

PROFILE -> aumenta o lag

DELETE_AWARDID -> remove itens do item_award

 

Resolução: Ir até ao ficheiro e input.cpp e procurar o seguinte:

 

 

 

Please login or register to see this code.

 

 

Adicionar isto na linha abaixo

 

Please login or register to see this code.

  • Upvote 3

Share this post


Link to post
Share on other sites

if (!(c_pSep = strchr(c_pData, '\n'))) // \nÀ» ã´Â´Ù.

return -1;

na source do fórum tem esse, repare que tem uma pequena diferença, mas é esse mesmo?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.