|
Best Porn Sites | Live Sex | Register | FAQ | Search | Today's Posts | Mark Forums Read |
Computer and Tech Help Discuss hardware, software, applications, malware removal, etc. |
|
Thread Tools |
2nd August 2012, 00:30 | #11 |
Addicted Join Date: Jul 2012
Location: UK
Posts: 109
Thanks: 85
Thanked 406 Times in 101 Posts
|
I never actually got sent any links so still dont know the exact problem being faced but it seems to me that what ad.fly is doing is simply loading the page into an iframe window (inline frames).
Its interesting how times change when most websites would not want to be loaded into an iframe and now it seems that ad.fly is doing well out of doing just that. It is probably possible to create a site that runs an iframe where you can tap in a URL to load a site. Do this with an ad.fly based site which would then force ad.fly to load into your iframe and then terminate parent and child iframes or get the info from the bottom child of its true URL. The typical code for an iframe break is usually added in the script area of the html, asp or php and looks a bit like this if (top.location!= self.location) { top.location = self.location.href } That in English basically means the website asks "Am I the top website? (i.e the parent in the browser)" and if the browser returns "no (or false)" it tells the browser to break the iframe holding it and load it top. What could be done when loading an ad.fly page into another iframe is run something like this in your scripts window.location.search You could then potentially extract the URL's of every window currently open and see what ad.fly is actually hiding and then simply go to that site. I don't envisage this being too hard so long as ad.fly is actually using an iframe. As I said though, I have not been sent the URL of the site in question and therefore cannot code up something to counter it. Cheers |
The Following 2 Users Say Thank You to Kytestar For This Useful Post: |
2nd August 2012, 00:43 | #12 |
Addicted Join Date: Jul 2012
Location: UK
Posts: 109
Thanks: 85
Thanked 406 Times in 101 Posts
|
Ignore my above post, hehe. It seems ad.fly has code to counter my idea. Just found it
if (top != self) { try { top.location = self.location; } catch (err) { self.location = '/404.shtml'; } } That would force a 404 error if you try to load it into another iframe. Clever little buggers, lol. It also seems that ad.fly is also utilising swfobject which is known to anyone who codes or embeds flash (I "borrowed" ad.fly's javascript a few mins ago and I am looking through it). That means their iframe is somehow flash embedded. Thats a new one to me. Fortunately, flash is not a secure platform. If I can find the swf document and decrypt I can get to the AS3 and see whats going on. |
The Following 2 Users Say Thank You to Kytestar For This Useful Post: |
3rd August 2012, 01:02 | #13 |
Addicted Join Date: Jul 2012
Location: UK
Posts: 109
Thanks: 85
Thanked 406 Times in 101 Posts
|
Okay, I have the link now to the problem site.
I don't really need to code anything for this one because the actual protection is not that strong. Its creating the ad.fly links automatically rather than preset. Basically, any image added is auto assigned an ad.fly link rather than doing it correctly and generating before adding image. This means that the full URL for the image is embedded in the HTML and pretty easy to extract. They tried to stop this though with the right click disabler which is not really that effective. I used IE9 to navigate this site and did the following. 1. Press F12 and you will get a developer window open at the bottom. 2. Press the arrow that appears under the HTML tab (it says "select element by click") or you can simply press Ctrl + B. 3. Click the image you want to download or visit the site for. 4. The code will appear highlighted in the code area at the bottom for the link. Remove the http://ad.fly nonsense and there is your direct link. 5. Copy and paste code and you have an ad.fly free window open for that image. It will take a bit to get used to and will be generally slow to start but after a while that would be far faster than waiting for the 7 seconds to pass on that useless ad.fly junk. I wonder what the free filehosts would think if they knew that ad.fly was stealing their revenue with advertising. Might be worth popping em all an email asking them to add some javascript to break iframes. Lol, would screw ad.fly big time. Hope that helps. |
The Following 3 Users Say Thank You to Kytestar For This Useful Post: |
3rd August 2012, 20:18 | #14 | |
Fan of Cairy Hunt
Postaholic Join Date: Mar 2007
Location: Alice's Restaurant
Posts: 5,154
Thanks: 19,784
Thanked 22,959 Times in 4,188 Posts
|
Quote:
1. Do you have to got through that process every time you want to view an image? 2. Can you do something similar with Firefox? P.S. Just tried to do it in IE. Pressed F12 but nothing happened. |
|
The Following 2 Users Say Thank You to Pad For This Useful Post: |
3rd August 2012, 20:22 | #15 |
Addicted Join Date: Jul 2012
Location: UK
Posts: 109
Thanks: 85
Thanked 406 Times in 101 Posts
|
You could use firebug add on in firefox to do the same. Not sure what exact route you would need to use.
On the gear icon in the top right hand corner of your IE when you click and get the menu do you have an option for developer tools? You would need to run this process each time but as the developer tools menu stays open it would be pretty quick. I am sure I could navigate maybe 4 or so images a minute with that method. |
The Following 3 Users Say Thank You to Kytestar For This Useful Post: |
5th August 2012, 21:35 | #16 | |
Fan of Cairy Hunt
Postaholic Join Date: Mar 2007
Location: Alice's Restaurant
Posts: 5,154
Thanks: 19,784
Thanked 22,959 Times in 4,188 Posts
|
Quote:
In any event the AdsFight! script for Greasemonkey seems to be working well and despite my fears, it hasn't taken over the World. There's another bonus to AdsFight! - I've just realised that it will also bypass L in k Bucks redirects as well. So I'm going to stick with it. The only thing I have to figure out now is why Windows and tabs close down when I click an A d f.ly link when I have the Killjasmin add-on enabled. |
|
The Following 2 Users Say Thank You to Pad For This Useful Post: |
5th August 2012, 21:50 | #17 |
Guest
Posts: n/a
|
For Firefox:
Tools --> Web Developer --> Inspect Click on image 2nd icon from left on web developer panel --> Mark-up Panel (Alt-M) Firefox with Firebug: F12 to open firebug. Click html tab 2nd icon from left --> click an element to inspec Both results hightlight in blue. So similar to IE route |
The Following 4 Users Say Thank You to For This Useful Post: |
6th August 2012, 01:46 | #18 |
Addicted Join Date: Jul 2012
Location: UK
Posts: 109
Thanks: 85
Thanked 406 Times in 101 Posts
|
Its possible that Killjasmin is creating an invisible iframe which ad.fly will not open in. It should really give a 404 page but maybe your add on is not allowing that and just closing instead.
|
The Following 2 Users Say Thank You to Kytestar For This Useful Post: |
8th October 2012, 06:30 | #19 | |
An Awesome Dude
Forum Lord Join Date: Feb 2009
Posts: 1,027
Thanks: 320
Thanked 1,823 Times in 630 Posts
|
Quote:
|
|
The Following User Says Thank You to 4dude For This Useful Post: |
Thread Tools | |
|
|