PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: grizli on 11 October, 2004, 17:43:41

Title: Need good Anti-FakeShare/Slot script
Post by: grizli on 11 October, 2004, 17:43:41
Hi all,
I have so much problems with people fake sharing... is there anyway to prevent that??? They also faking number of slots.
Title:
Post by: BoJlk on 11 October, 2004, 18:00:55
Hi there!

Use DCDM++ for Fakers Problem...
And if you use RoboCop, then Set max Slots check.
Title:
Post by: ARCHANGEL on 11 October, 2004, 18:04:32
Use a client, not a script or scripts. Get yourself DCDM++, you'll find a link in the links section.
Title:
Post by: grizli on 11 October, 2004, 18:28:19
No, I have my own HUB. And the problem is with users.
I use RCv9.0 - Slot checker is on. Solved.
But DCMC++ doesn't do anything against fake shares... people trick it all the time.
Title:
Post by: BoJlk on 11 October, 2004, 18:34:20
FakeShare cannot be solved :(
Because even scripts or DCDM check for particular File Size (the impossible one)

So, the only way is Checking Manually...
Banning the *** F***ers :)

I use Script For FakeShare Checking (it won't Help)

--Made by someone I don't remember who...
--Edited and Optimized by piglja - 11.03.03

badShare = { "10000000000","5368709120","10737418240","13630010000","16106127360",
"21474836480","26843545600","27000000000","32212254720","7970010000",
"37580963840","37970010000","6599201000000","65992010000000","36772010000000",
"3677201000000","42949672960","48318382080","214266156265","53687091200",
"59055800320","1747201000000","16772010000000","147720100000000","10240000000000",
"64424509440","65719010000","69793218560","75161927680","80530636800","85899345920",
"91268055040","96636764160","102005473280","102400000000","107374182400","118648471552",
"128849018880","140301549174","161061273600","174720100000","183287729356","214748364800",
"268435456000","322122547200","375809638400","397760100000","429496729600","536870912000",
"657190100000","1024000000000","183287729357","102392020337","13625783747","174719269601",
"65712999629","26993869455","140295106724","199715979264" }

function checkFake(user)
local s, e, shared = strfind(user.sMyInfoString, "$ALL %S+ .-$ $.+.$.-$(%d+)")
return foreachi(badShare, function(id, value) if value == %shared then return id end end)
end

function NewUserConnected(user)
if checkFake(user) then user:SendData("*** You seem to be using a fakeshare client")
user:Disconnect()
    end
end

function OpConnected(user)
if checkFake(user) then user:SendData("*** You seem to be using a fakeshare client")
user:Disconnect()
    end
end

The impossible FileSize i mean like 128849018880 bytes, is not a valid file size...thou Fakers Can Modify the Files they Fake to get thru...

I've Posted the Same Thread some time ago...
So you should check him too Click Here to go to the Thread >> (http://board.univ-angers.fr//thread.php?threadid=2767&boardid=11&styleid=1&sid=a2c59df9aa90ff7dfbc580708fbd4c39)
Title:
Post by: bastya_elvtars on 11 October, 2004, 21:50:26
its the 1st time i hear that dcdm++ cannot detect any intentionally faked share...
Title:
Post by: BoJlk on 11 October, 2004, 21:56:16
I might be wrong about the DCDM++
Title:
Post by: Herodes on 11 October, 2004, 21:58:34
the fake share problem cannot be not even 95% solved ...

as plop said ..

any share size can be faked ...
Title:
Post by: bastya_elvtars on 11 October, 2004, 22:48:00
please understand it for good:


This is Direct Connect,


so you cannot rely on a serverside thing as the same amount or more things happen in client-client communication, which is hard and incomplete 4 the server 2 retrieve...

so thats why dc++k cdm was born, then dcdm (and ofcourse others) - cause the server partially knows what goes on between clients, its the best way 2 use a CLIENT  for such purposes... We are not lazy to make scripts, but its twice bad if we make a fake finder: it just finds atoms of real fakers, and we waste a lot of time on it :D
Title:
Post by: grizli on 12 October, 2004, 20:01:22
Ok, I guess people just gonna keep on doing it  :(