DMCA - Delete 1000+ images in one shot

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#1
Hello,

I received a DMCA mail with 1000+ links to delete from my servers.
They sent me the .jpg direct link.
I host my images in Amazon S3, OVH OpenStack & Google Cloud.

Do you know how can I delete them in one shot ?

Thank you
 

JakeSully

Network license
Beta tester
Joined
Feb 23, 2014
Messages
249
Likes
34
Points
78
#2
check if most of images are in albums if so then you can just delete whole album and images inside will be deleted too.
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#3
Hello JakeSully,

This is not the case, sadly
 

JakeSully

Network license
Beta tester
Joined
Feb 23, 2014
Messages
249
Likes
34
Points
78
#4
Hello JakeSully,

This is not the case, sadly
well this is only way for it to be done, i think. So you would probably have to put site in maintenance mode and clean it either by deleting the albums with mostly reported DMCA images or do it manually. Unless developer has a another method so i will let some 1 else have a go with a suggestion how todo it.
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#5
I hope because I don't have hours to delete images...
 

Kenzato

Core license
License owner
Joined
May 31, 2018
Messages
25
Likes
1
Points
53
#6
Have you checked if these images are posted by mostly the same users? if so you could just delete all the dmca users images
 

yukirin

Network license
License owner
Joined
Nov 26, 2017
Messages
2
Likes
0
Points
51
#7
what if you delete the file directly, not using chevereto
a bash script or something
 

mkerala2

Network license
Beta tester
Joined
Jun 30, 2014
Messages
453
Likes
112
Points
105
#8
There is a good chance that all or most of the images are uploaded by a single user or users in the same IP range. Open one image and click all images from this IP should list most of them. Select all and then delete. Works for me most times.
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#9
There is a good chance that all or most of the images are uploaded by a single user or users in the same IP range. Open one image and click all images from this IP should list most of them. Select all and then delete. Works for me most times.
Not in my case :( Multiple ip
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#11
I don't know, how can I check that ?
 

Rodolfo

Chevereto Developer
Chevereto Staff
Joined
Oct 7, 2008
Messages
16,396
Likes
4,259
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#12
I don't know, how can I check that ?
It can't be checked, but if you are providing API access (like ShareX) is very easy for people to exploit your service.

There are several todos when you want to skip this kind of usage: Turn off guest uploads, auto-delete uploads, ask to validate email for social login, use recaptcha, flood limits, etc.

What about the IPs. Are truly different or just part of a range?
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#13
Hey
They are truly different, there are members of a forum who use my website to upload protected content
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#14
Hello.
Any news about it ?

I still have my links to delete but no time to find an alternative way ... I still have 1200+ images to delete

Thank you
 

HenrysCat

Core license
License owner
Joined
Apr 18, 2017
Messages
73
Likes
10
Points
58
Location
127.0.0.1
Website
imgrpost.com
#15
Well it's been just over 3 months since your first post, so if your service provider has not taken your site down by now probably may as well forget about it ;)
 

mkerala2

Network license
Beta tester
Joined
Jun 30, 2014
Messages
453
Likes
112
Points
105
#16
If you are so desperate, I can give you an idea. But it will be very complex and you need to find someone who can write good sql scripts.

Step 1: Prepare a CSV with filenames.
Since you got the images links(direct links), the last part is the filename. Use some Excel skills to extract that part from the URL.

Step 2: Write a SQL script to find each image by original_filename and update image_expiration_date_gmt to a day in past.
The idea here is to force expire the image by updating the image_expiration_date_gmt field. You have to use a "For" or "Do while" loop to fetch each original_filename from the CSV and find the image with that to update the image_expiration_date_gmt. (Don't ask me how, as my programming skills are very weak)

Alternative idea: If you find it hard to create a SQL script, you can instead write a script/commands to delete files from your S3 by giving the filename CSV as input. Ref: https://stackoverflow.com/questions/41733318/how-to-delete-multiple-files-in-s3-bucket-with-aws-cli

If you manage to get script right, then the images should be gone in no time. Hope this feature would be added to Chevereto soon.
 

matou19

Founder license
Beta tester
Joined
Sep 3, 2011
Messages
120
Likes
13
Points
68
#17
Someone has a script that can do that?