Bitcoin Forum
May 06, 2024, 09:11:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: not so private imgur [variety including NSFW]  (Read 18009 times)
mizerydearia (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 507



View Profile
January 11, 2012, 05:37:47 AM
Last edit: January 13, 2012, 01:27:16 AM by mizerydearia
 #1

It started with

Code:
for i in `seq 1 100`;do wget "https://i.imgur.com/$(cat /dev/urandom| tr -dc '0-9a-zA-Z'|head -c 5).jpg";done

and then

Code:
mkdir gif nongif;while true;do file=$(cat /dev/urandom| tr -dc '0-9a-zA-Z'|head -c 5);wget "https://i.imgur.com/$file.jpg";if test "$(stat -c%s $file.jpg)" = "669";then rm $file.jpg;else if test -n "$(file $file.jpg |grep -i gif)";then mv $file.jpg gif/$file.gif;else mv $file.jpg nongif;fi;fi;done

but now

Code:
mkdir gif nongif
for a in a b c d e f g h i j k l m n o p r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9;do
 for b in a b c d e f g h i j k l m n o p r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9;do
  for c in a b c d e f g h i j k l m n o p r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9;do
   if [[ "$a" == "a" && "$b" == "a" && "$c" < "n" ]];then continue;fi;
   for d in a b c d e f g h i j k l m n o p r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9;do
    for e in a b c d e f g h i j k l m n o p r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9;do
     file=$(echo $a$b$c$d$e);
     if test \! -f nongif/$file.jpg -a \! -f gif/$file.gif;then
      echo $file > /var/www/localhost/htdocs/imgur_last;
      wget "https://i.imgur.com/$file.jpg";
      if test "$(stat -c%s $file.jpg)" = "669";then
       rm $file.jpg;
      elif test -n "$(file $file.jpg |grep -i gif)";then
       mv $file.jpg gif/$file.gif;
      else
       mv $file.jpg nongif;
      fi;
     fi;
    done;
   done;
  done;
 done;
done

Here's a list of valid images I've found so far



Here's a bash script provided by cjdelisle
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715029872
Hero Member
*
Offline Offline

Posts: 1715029872

View Profile Personal Message (Offline)

Ignore
1715029872
Reply with quote  #2

1715029872
Report to moderator
1715029872
Hero Member
*
Offline Offline

Posts: 1715029872

View Profile Personal Message (Offline)

Ignore
1715029872
Reply with quote  #2

1715029872
Report to moderator
1715029872
Hero Member
*
Offline Offline

Posts: 1715029872

View Profile Personal Message (Offline)

Ignore
1715029872
Reply with quote  #2

1715029872
Report to moderator
mizerydearia (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 507



View Profile
January 11, 2012, 05:38:50 AM
 #2

A huge sample of images coming soon.
phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
January 11, 2012, 07:36:01 AM
Last edit: January 11, 2012, 08:09:54 AM by phillipsjk
 #3

Genius! imgur appears to be a victim of it's own success.

Subversive too. (from the FAQ):
Quote from: Imgur
Quote from: Are the images anonymous?
Yup. No one will ever know who posted what. If you share your image all over the Internet and it becomes popular, then it might be featured in the gallery. This ensures that the private image you sent to your boyfriend will never be seen by anyone else, while making all the funny images posted to reddit available for viewing.
Quote from: How do I get my image in the gallery?
To get your image into the Gallery, it must be spread all over the Internet and gain a certain level of popularity. This means that you’re still able to upload images and have them remain private (just don’t share them all over the Internet!) while still being able to view the best images out there.
...

Imgur can't easily make the URLs longer (with more entropy) because that would break all existing links out in the wild, which is considered bad form. Is Imgur a plot to get racey pictures of people's girlfriends?

Edit: The Terms Of Service say no:
Quote from: Imgur TOS
Quote from: Stuff not to do
Don't upload copyrighted material, harassment, spam, gore, pornography, or anything that looks like pornography. If you do, we will ban you along with the site you're hotlinking from, delete all your images, report you to the authorities if necessary, and prevent you from viewing any images hosted on Imgur.com. We mean it.
Quote from: Hotlinking
Hotlinking to any image is fine, but just keep in mind that this is a free service, so please be nice to our servers. Also, please link back to the image's page on Imgur, which is the same link as the image but without the file extension. If you abuse this privilege, then bad things will happen (see "Stuff not to do").

They go on to prohibit nudity, among other things.

PS: It appears they can fix this by converting the image URLs to a longer format, then turing the "image's page on Imgur, which is the same link as the image but without the file extension" into a HTTP redirect to the image's new, more secure location. The sever can then detect and block random scans at it's leisure. Smiley
PPS: Once the hotlinks go live (assuming they are used), the people at Imgur will be reading this thread.
PPPS: No 'sleep 1;'? What is the rush? Wget sleeps for one second between fetches by default. However, you circumvent that with your loop.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
Matthew N. Wright
Untrustworthy
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


Hero VIP ultra official trusted super staff puppet


View Profile
January 11, 2012, 08:22:57 AM
 #4

I found this out almost two whole years ago and it occured to me then that the reason its so easy to find images is because they aren't trying to hide them.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!