Fake share+tag script
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Fake share+tag script

Started by BoJlk, 19 September, 2004, 13:06:08

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BoJlk

Hi to all great scripters out there

I'm looking for a script that checks for fakeshare
and fake tag etc.

and one more request if can be added
!config, !help, !stats, etc. commands!

BottledHate

look into dcdm++. it is the best way to do those things.

(it's a client, that can  be set up kinda like a bot)

and can handle do alot more in the means of fake checking than a hub side script can.

-BH
Homepage: www.bottledhate.webhop.org

Compiling  Lua scripts is LAME!!!!!

BoJlk

Yep...I use the DCDM++ v0.308
And there's an option to check filelist BUT!

if it's possible for a BOT to do it on user connection?

BottledHate

#3
Homepage: www.bottledhate.webhop.org

Compiling  Lua scripts is LAME!!!!!

ARCHANGEL

this helps to explain the massive increase in passive users

BoJlk

When you check FileList thru DCDM++
it downloads the filelist...

If the BOT will check the filelist for every user connected
it will use massive download!!!

Or is it work differently?!

BoJlk

#6
As i understood earlier it's not possible and recourses consuming to HAVE anti Fake Share/TAG BOT...

And anoter way is to use DCDM++ to Manually detect the FAKERS!!!

i use this script...and the other day i got FAKER in my hub! when i checked his Filelist with DCDM it didn't detected nothing neither the Script!!!!

the script:
--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

SO WHAT THE HELL I DO WITH THEM!!!!
Except BANing?

nErBoS

Hi,

The script and DCDM++, only checks the size of share in bytes, normaly shares that have the last 5 or 6 digits with zero is fake (because its almost impossible). The other is that the numbers that you have in the table are size of fake share in bytes, so if the script hasn't detected just add it to it (it is also almost impossible to someone have the same size of share, but possible)

Best regards, nErBoS
--## nErBoS Spot ##--

plop

2day's clients with fake share options can fake any size, so scripts like this became obsolete.
dcdm can detect them.
the best way 2 run dcdm is 2 have 1 of your OP's running them, not you.
this way the hub won't suffer from the downloads.

any good OPbot only allows real tag's, dcdm can pick out the clients who pretend 2 be some other client then the tag states.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

BoJlk

#9
Quoteplop
the best way 2 run dcdm is 2 have 1 of your OP's running them, not you.
this way the hub won't suffer from the downloads.

okey, i see...
But this way How do i administer the HUB?!
As far as i know, there is no way to Administer HUB without Running the ProtaX and a DC Client at the same time...

And i need an OP i can count on...

bastya_elvtars

DCDM++ can do everything in an automated way, so an op just logs in and it checks for problems.

no need to administer anything, its just a dc++ client mod.
Everything could have been anything else and it would have just as much meaning.

BoJlk

Okey...

But i need the RAW commands 4 that in the DCDM Client
Correct me if i'm wrong...

plop

QuoteOriginally posted by BoJlk
Okey...

But i need the RAW commands 4 that in the DCDM Client
Correct me if i'm wrong...
you setup dcdm like you want it 2 work, then you zip it and 1 of your op's runs it.
for more info about how 2 setup dcdm you can check the topic about it on this board, and offcourse the dcdm forum.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk