Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Image Protection Script: Invitation to crack it.
Old 09-27-2007, 10:39 PM Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
This morning I've knocked out an image protection script using multiple tactics. PHP is the main weapon, flash, JS, CSS and headers are also used.

The script is going to be used in a premium content site and the purpose is to discourage most web users from copying the images or discovering the directory location for url browsing.

There's some crafty coders in here, so I was wondering if you could have a go at trying to get a copy of the image onto your hard drive. If you manage that, could you please post how you did it, so I can try and cover any holes I missed.

Webpage image protection script

I gotta crash for a few hours; bbl to see who grabbed a copy.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
 
Register now for full access!
Old 09-28-2007, 12:15 AM Re: Image Protection Script: Invitation to crack it.
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
This is not working in FF
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 01:28 AM Re: Image Protection Script: Invitation to crack it.
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
What?? this one
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 02:33 AM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Which version of FF? I tested with 2.0.0.7, IE6.0 and NN7. Seems to work fine. Maxxximux - which one?
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 02:48 AM Re: Image Protection Script: Invitation to crack it.
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
Why... this one


maxxximus is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 02:59 AM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
GG maxxximus, can you explain how you did it though? That's the point of the thread...
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 03:45 AM Re: Image Protection Script: Invitation to crack it.
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
Very little involved - anyone on here could do it. I'll let someone else chime in.
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 04:30 AM Re: Image Protection Script: Invitation to crack it.
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Simple...
With firefox:
right click on the page -> view page infos -> media -> save as
The page infos window can be reached via the menu "tools" too.

The "clipboard disabled" is really annoying though, as it happens with every tabs opened.
I generally have around 10/15 tabs opened at the same time, and the fact that it's not local is something that would be driving me mad if I didn't knew what it came from.

I'll give it a shot this evening at my linux box, because I'm fairly confident that the copy/paste buffer won't be affected there, but I'm curious.

metho, would you care to explain a bit on the method you used to realize this ?
I'm really curious.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-28-2007, 05:32 AM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Trippy, what do you mean realize?

The sites this script is intended for has a target market of 98.5 IE users, so to figure out a way to mask the image in FF's page info media tab... maybe.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 05:39 AM Re: Image Protection Script: Invitation to crack it.
nickharper's Avatar
Extreme Talker

Latest Blog Post:
Testing this bad boy out!!!!!
Posts: 221
Name: Nick
Location: Coventry, UK
Trades: 1
You could just do a print screen for small images?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

nickharper is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 05:46 AM Re: Image Protection Script: Invitation to crack it.
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
Trippy, what do you mean realize?
I meant, what techniques do you have used.

Quote:
The sites this script is intended for has a target market of 98.5 IE users, so to figure out a way to mask the image in FF's page info media tab... maybe.
Sure, and the way I see things, almost any "power user" use something else than IE today.
And I don't see how I could have done it with ie...

And as the info pane in firefox, it's a base feature of the browser that is outside of the page DOM, so I don't think you can alter the way it displays, or prevent user to display it.
It's like opening the bookmark panel, or the preference window, for me.
Out of reach for any javascript/flash element.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-28-2007, 10:21 AM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
The images dont appear in the FF page info media tab when using https. If the script ran on https and forced a redirect to https when connecting via http, you couldn't save the image from the media tab either.

I tried it and the save nearly crashed the browser. The resulting image file was only 19bytes of a 3Kb image file. So, in it's final version, I can run it on https to stop FF users from saving from the media tab.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.

Last edited by metho; 09-28-2007 at 10:22 AM..
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 10:34 AM Re: Image Protection Script: Invitation to crack it.
Galaxian's Avatar
Rich Powell

Posts: 842
Name: Rich Powell
Location: United Kingdom
Trades: 0
What about plain old screenshot it and extract it that way? =)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please help get the new
Please login or register to view this content. Registration is FREE
forum started for Webmasters like you!

Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 09-28-2007, 10:36 AM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
try it...
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 11:01 AM Re: Image Protection Script: Invitation to crack it.
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
The images dont appear in the FF page info media tab when using https
I think it's so because FF don't cache https elements, so image cannot be retrieved from it's cache neither.
You can change it via about:config and searching for "browser.cache.disk_cache_ssl"

True, not many average users will know it or change it...
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-28-2007, 12:26 PM Re: Image Protection Script: Invitation to crack it.
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
neat, but the clip board thing is very annouying, it disabled it when i was trying to copy the source url of the image from the soucre of the script, so i had to close it and open the root page which didnt have the copy paste disabled so i could paste the imge url .

Preety good tho, i havent tested in anythign but ie7

Will this image protection script be publicly avalible?
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-28-2007, 08:02 PM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
"Will this image protection script be publicly avalible?" - nope, clients are paying for it. Prolly will after the sites gone live...
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 08:43 PM Re: Image Protection Script: Invitation to crack it.
goheadtry's Avatar
Webmaster Talker

Posts: 730
Name: John
Location: United States of America, California
Trades: 0
I noticed it screws up other open sites.
__________________
Free $1 gift card when you signup at
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

goheadtry is offline
Reply With Quote
View Public Profile Visit goheadtry's homepage!
 
Old 09-28-2007, 08:46 PM Re: Image Protection Script: Invitation to crack it.
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
How so? Haven't noticed anything like that...
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-28-2007, 09:17 PM Re: Image Protection Script: Invitation to crack it.
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
The anti copy flash file affect every opened tabs/windows.
That's what I was saying previously
Quote:
The "clipboard disabled" is really annoying though, as it happens with every tabs opened.
And for the record, as I thought, the copy/paste in linux works, when you use the middle mouse button as paste.
This is a special Linux behaviour: You highlight a text with your mouse, it gets copied, and you paste it with a middle click.
I could copy/paste the http://v2media.biz/php_utilities/ima...on.php?imgID=5 url with it.

ctr+c/v is affected by the flash though. But as I have the adblock extention, I see a "block this" tab attached where the 1x1 px element is embedded, and if I block it, the copy/paste works again.
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 09-28-2007 at 09:18 PM..
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to Image Protection Script: Invitation to crack it.

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.89932 seconds with 13 queries