What to do with shtml?

General discussion about the FlashGot extension for Firefox

What to do with shtml?

Postby Yumi » Tue Mar 27, 2012 11:26 pm

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
Yumi
 
Posts: 1
Joined: Tue Mar 27, 2012 11:23 pm

Re: What to do with shtml?

Postby Thrawn » Mon Jun 25, 2012 11:33 am

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
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/IT/M/S d++(-) s+: C++$ ULS$>++++ P(+) L++ W++
K- w V? PS-(---) PE Y+ PGP->++ t@ X R tv b++>+++ DI+@
!D G>+++ e++>+++ h--- r+++ m?
-----END GEEK CODE BLOCK-----
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
Thrawn
Senior Member
 
Posts: 1012
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia

Re: What to do with shtml?

Postby therube » Mon Jun 25, 2012 3:27 pm

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
therube
Ambassador
 
Posts: 4369
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: What to do with shtml?

Postby GµårÐïåñ » Thu Jun 28, 2012 11:27 pm

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's Blog ] .:. [ Security Pack ] .:. [ Productivity ]
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
 
Posts: 2824
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA

Re: What to do with shtml?

Postby stafyvis » Thu Nov 01, 2012 5:52 am

its just html with server side.
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
stafyvis
 
Posts: 1
Joined: Thu Nov 01, 2012 5:22 am

Re: What to do with shtml?

Postby GµårÐïåñ » Sat Nov 03, 2012 12:22 am

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's Blog ] .:. [ Security Pack ] .:. [ Productivity ]
Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20100101 Firefox/16.0
User avatar
GµårÐïåñ
Lieutenant Colonel
 
Posts: 2824
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA


Return to FlashGot General

Who is online

Users browsing this forum: esixiqopeg and 1 guest