phpshell icon indicating copy to clipboard operation
phpshell copied to clipboard

Truncate scripts from https://plg.bet/provably-fair/coinflip

Open SjonHortensius opened this issue 2 years ago • 2 comments

3v4l is used by an apparently pretty popular betting site to verify bet outcomes. These scripts pollute the database without much use. I'm considering removing these scripts (it seems there are ~ 250k submits right now) and notifying the site owner to either use another service, target single versions for their submits or schedule a cron to remove these submissions from the db

SjonHortensius avatar Mar 05 '23 15:03 SjonHortensius

this stinks but works

delete from result where input in (select input from "functionCall" where function=(select id from function where text='hexdec') and input in (select input from "functionCall" where function=(select id from function where text='hash')) and input in (select input from "functionCall" where function=(select id from function where text='substr')) and input in (select input from input_src where raw like '%$roll_colour = %' and raw like '%server_seed%'));

delete from input where id in (select input from "functionCall" where function=(select id from function where text='hexdec') and input in (select input from "functionCall" where function=(select id from function where text='hash')) and input in (select input from "functionCall" where function=(select id from function where text='substr')) and input in (select input from input_src where raw like '%$roll_colour = %' and raw like '%server_seed%'));

SjonHortensius avatar Oct 05 '23 09:10 SjonHortensius

also referenced on https://empiredrop.com/verify-provably-fair

SjonHortensius avatar May 31 '24 09:05 SjonHortensius