View Full Version : 35 million RP?
http://www.regnumonline.com.ar/ranking/index.php?l=1&realm=3&world=ra&opt=6
check entry 26...
wonder how that happened
Miraculix
05-03-2008, 02:59 PM
Check the clan name. It's -=.
Tha's an operator in C/C++.
a-=b means a=a-b. So I'm guessing it's probably some exploit.
They still rank as #26 and not #1 though ;)
Yup, i was thinking of SQL injection too. Or maybe its a total of all clans and someone at NGD has accidentally written it to the database.
http://imgs.xkcd.com/comics/exploits_of_a_mom.png
http://xkcd.com/327/
DkySven
05-03-2008, 03:09 PM
a=a-b How is that possible? If a = 1 and b = 2, it would be 1 = 1 - 2.
Static_Fang
05-03-2008, 03:09 PM
I wouldnt mind that much RP xD
Unless i didnt earn it O.O
a=a-b How is that possible? If a = 1 and b = 2, it would be 1 = 1 - 2.
Yes, here "a" will have the value of -1 after execution. It is not maths as you think of it but here the = is an assignment operator.
magnet
05-03-2008, 03:19 PM
a=a-b How is that possible? If a = 1 and b = 2, it would be 1 = 1 - 2.
In a=a-b, the "=" symbol is not the "equality operator" (which is ==), but "=" the affection operator. It means that a will take the value of the current a - b.
Static_Fang
05-03-2008, 03:21 PM
And i thought i was okai at math O.O
DkySven
05-03-2008, 04:13 PM
Thanks, I finally know why programmers use == instead of =.
NightTwix
05-03-2008, 05:39 PM
Check the clan name. It's -=.
Tha's an operator in C/C++.
a-=b means a=a-b. So I'm guessing it's probably some exploit.
They still rank as #26 and not #1 though ;)
thats the first time i hear about C-injection ^^
could be some corrupt entry in the database too. doesnt have to be an injection attack of some kind
Miraculix
05-03-2008, 07:04 PM
thats the first time i hear about C-injection ^^
could be some corrupt entry in the database too. doesnt have to be an injection attack of some kind
I'm not sure that's a C/C++ exclusive operator, it could be in php too. It's more likely that it's a php injection actually, since it only displays 35mil rp. it still ranks them as #26.
ljwolfe
05-03-2008, 08:53 PM
a=a-b How is that possible? If a = 1 and b = 2, it would be 1 = 1 - 2.
uummm b= 0? :)
Redangel
05-03-2008, 08:55 PM
this guild is of surak? :fingers:
LenaRosemberg
05-04-2008, 01:39 AM
Thanks, I finally know why programmers use == instead of =.
REAL programmers (with buterflies) use = (as equal) and := (as affectation) :eguitar:
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.