What to do with shtml?

General discussion about the FlashGot extension for Firefox
Post Reply
Yumi
Posts: 1
Joined: Tue Mar 27, 2012 11:23 pm

What to do with shtml?

Post by Yumi »

I used flashgot in Firefox to "download all". I got a number of .shtml files. Question: What to do with the files to get a working video?

Thanks, Michael
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: What to do with shtml?

Post by Thrawn »

shtml files are not videos; they're just mostly-HTML pages that can include server-side content on the fly. To download a video, you might need to try again.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: What to do with shtml?

Post by therube »

URL?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120625 Firefox/15.0a2 SeaMonkey/2.12a2
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: What to do with shtml?

Post by GµårÐïåñ »

A lot of developers and webmasters will use intentional type mismatch to prevent harvesting. Meaning, they will show you a picture but instead of using .gif .jpg .png they will put .html knowing that the browser engine will render it no matter what its called (its checking the file header and knows it can render it) but to a harvester it will result in a garbage text file. Common among porn sites for example or those trying to protect their content. This applies to videos as well, sometimes you use a server side command, which what an SHTML file is actually, to render the content using server side code but on the user side it is interpreted or seen as something else. If you were to properly track back to the original resource you would get it but no guarantee that it can be done always. Just check out some of the ad links on NoScript.net and Flashgot.net, you see them but they are coming from a link that you can't decode back to original resource, get it? So as suggested by others, provide a link, we can take a look and see what the actual case may be in this case, but in the meantime figured some back information might be helpful.

Oh forgot to also mention that it might not be any of what I mentioned above either, although still valid techniques, it might just simply be that you are viewing say an image or video on a page and it looks like its all by itself right, but its not the actual resource, its wrapped in a simple html. Say something like this:

Code: Select all

<html>
<head>xyz.png</head>
<body>
<img src=/xyz.png>
</body>
</html>
With this all you see is the picture and you think, oh I download this and I get the image, but in actuality you are seeing the image but you are getting the html file. Using SHTML and a server side code, you can automate those header names and src links to automate to imitate the facade of you are on actual image while wrapping it in an html. So the in that case, you need to click on the image and do, view image, so then you have an actual direct link to it, then you download all, you will get the actual image, not the wrapper html. Make sense? Also, I used images as an example but this can apply to ANY resource really, just minor tweaks, like using embed instead of img src.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: What to do with shtml?

Post by GµårÐïåñ »

Same principle, they have the sHTML as part of the URL which is not an image and then call the image using server side code, that will still fool your downloader. Now if it was looking for rendered HTML, meaning the final product, it should be able to see the image resource in the code but that's not what it was designed for as far as I can tell.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20100101 Firefox/16.0
Post Reply