473,769 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Usual way to hide jpegs. Extraction off application jpgs??

I have an application that I think was developed using some form of
Borland C with a folder for BIG images with the extension .fre. When I
try to view them they cannot be read even by changing the extension
to jpg, bmp, zip, etc.

I also used some utilities for resource extraction with no success.

I know the images are there and there has to be a way to show and
convert them to a known format. I have seen libjpeg.dll and zlib.dll
in the main application folder along with other dlls.

Please suggest some utility or tell me the way developers usually hide
application jpg images (not icons, etc).

Thanks
Nov 14 '05 #1
8 1425
"markus" <m7***@hotpop.c om> wrote in message

Please suggest some utility or tell me the way developers usually > hide application jpg images (not icons, etc).

This isn't really on topic for clc. The best bet is to examine the file in a
hex / ascii combined view editor and see if you can make sense of the data,
then write a program to extract it. However if the developer really doesn't
want you to access the images then he will encrypt them and it is skilled
reverse engineering job to break the protection.
Nov 14 '05 #2
Have you tried the Unix utility called "file"?
Nov 14 '05 #3
markus wrote:

I have an application that I think was developed using some form of
Borland C with a folder for BIG images with the extension .fre. When I
try to view them they cannot be read even by changing the extension
to jpg, bmp, zip, etc.

I also used some utilities for resource extraction with no success.
Changing the filename doesn't change the format of the file. If the
file isn't in jpg, bmp, or zip format, changing the extension isn't
going to do anything except confuse things.

What is a ".fre" file? What format is it in? Do you have any programs
that know how to read such files?
I know the images are there and there has to be a way to show and
convert them to a known format. I have seen libjpeg.dll and zlib.dll
in the main application folder along with other dlls.

Please suggest some utility or tell me the way developers usually hide
application jpg images (not icons, etc).


Who said they were jpg's?

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer .h> |
+-------------------------+--------------------+-----------------------------+

Nov 14 '05 #4
..fre seems to be just a way to disguise the file since this extension
does not appear even in comprehensive Internet lists of file
extensions.

I know that changing the extension to a known format does not convert
the file itself but sometimes file readers can't read a particular
image with different than expected extension just because of the
extension even though the format may be well known and readable.
Nov 14 '05 #5
On Sat, 26 Jun 2004, markus wrote:
I have an application that I think was developed using some form of
Borland C with a folder for BIG images with the extension .fre. When I
try to view them they cannot be read even by changing the extension
to jpg, bmp, zip, etc.

I also used some utilities for resource extraction with no success.

I know the images are there and there has to be a way to show and
convert them to a known format. I have seen libjpeg.dll and zlib.dll
in the main application folder along with other dlls.

Please suggest some utility or tell me the way developers usually hide
application jpg images (not icons, etc).


As a developer I have numerous ways of encrypting data. I can use a simple
Caesar cipher. I can reverse the data. I can flip the bits. I can store it
as char in memory but read/write it as long on a little endian machine
(flips every four bytes). The options are limitless.

Typically, performance and my imagination are the only things limiting how
I can encrypt the data. Obviously, I'm going to pick a method that is easy
to decrypt but that will not be obvious to someone looking at the data.

If might even encrypt the header information differently then the body. Or
I might just encrypt the header and leave the body unaltered.

Are you getting the idea? There is no standard way to do this. Being
non-standard is part of the security. Mystery makes your job harder so I'm
going to pick something that I have not seen before or I'm going to
combine two methods I have seen before to come up with something new.

More importantly, why would the developer use a non-standard format for
their image data? Could it be that they don't want you to decrypt the
images? By helping you wouldn't I be hurting the developer? Why wouldn't I
want to help the developer by not helping you?

I would hope that other developers would respect my choice to encrypt the
data and not help someone steal my images.

--
Send e-mail to: darrell at cs dot toronto dot edu
Don't send e-mail to vi************@ whitehouse.gov
Nov 14 '05 #6

"Darrell Grainger" <da*****@NOMORE SPAMcs.utoronto .ca.com> wrote in message

I would hope that other developers would respect my choice to encrypt > the data and not help someone steal my images.

That's only one reason for not using a standard format. The developer might
simply want the convenience of packing all images in one file. Or if he is
writing a game or an educational program he might want to prevent users from
viewing the images before the intended time in the program.
Nov 14 '05 #7
Technically, by decrypting the images I am not stealing anything since
they are, so to speak, "mine" too. The are a series of maps
distributed on CDROM by the government. That is, I have already paid
the developer for them: as a tax-payer and as a CD-ROM buyer.

I know there can be many ways to encrypt the files but since there is
no BIG reason to go to great lengths with the encryption I tend to
think it is just a casual very simple disguise, whick I am trying to
determine.

I am sure they are images since they are in a folder called maps with
names corresponding to maps seen within the application.

When I developed applications in Qbasic there were libraries of images
that could be accessed within the aplication. In this case teh folder
has many images. it is not a library of images but separate files.
Maybe there's no standard way but there has to be at least a couple of
USUAL ways to do that and some form of viewer to bring them up.

I used a multiformat viewer that could not open them.
Nov 14 '05 #8
On 28 Jun 2004 17:34:53 -0700, m7***@hotpop.co m (markus) wrote:
Technically, by decrypting the images I am not stealing anything since
they are, so to speak, "mine" too. The are a series of maps
distributed on CDROM by the government. That is, I have already paid
the developer for them: as a tax-payer and as a CD-ROM buyer.

I know there can be many ways to encrypt the files but since there is
no BIG reason to go to great lengths with the encryption I tend to
think it is just a casual very simple disguise, whick I am trying to
determine.

I am sure they are images since they are in a folder called maps with
names corresponding to maps seen within the application.

When I developed applications in Qbasic there were libraries of images
that could be accessed within the aplication. In this case teh folder
has many images. it is not a library of images but separate files.
Maybe there's no standard way but there has to be at least a couple of
USUAL ways to do that and some form of viewer to bring them up.

I used a multiformat viewer that could not open them.


There are many thousands of image and map formats, most of them
proprietary.

You might want to try the newsgroup sci.image.proce ssing. This is
definitely not a C programming issue.

E-mail me if you would like me to take a quick look at a couple of
samples. I am familiar with hundreds of image formats and some vector
formats.

--
Sev
Nov 14 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3429
by: Aaron Davies | last post by:
I'm trying to write some classes for my collaborative whiteboard to transmit images over the network, using the javax.imageio API, but I'm running into an odd problem: my code words fine with PNGs, but not with JPEGs. As you can see below, I've attached a progress listener to the reader, which reports progress up to just under 95%, then nothing. The warning listener reports no warnings. The images are written by an ImageWriter in another...
0
1141
by: Ryan Cooper | last post by:
Hello .NET Gurus! I have been posting messages all over the .NET forums to no avail, so I thought I'd give this newsgroup a shot as well. I am trying to figure out how to detect if a user-uploaded JPG file is in Progressive or Baseline format. I need to determine this because the display mechanism I am using (namely, flash) is not capable of displaying Progressive JPGS. I have succesfully managed to detect the mime-type of the files,...
3
1420
by: M.L. | last post by:
Hi. I would like to use Javascript to load specific database entries into an HTML template. Is it possible, for example, for Javascript to read entries of an Excel file and use specific cell data values to populate specific areas of an HTML template? If not Excel, would it be possible for js to read the IPTC info of a jpeg file and use those variables to populate an HTML template? Thanks for any advice on this issue.
1
1407
by: Ecohouse | last post by:
I have created a MS Access Project linking to a SQL database. I created a table that I want to hold jpgs in. The actual field I created is a datatype of image. I created a form in Access. When I click on the picture frame I right click to insert an object. I then find the jpg and insert it. But the picture doesn't show on the form. When I look at the table that field just says Package. So I wanted to know what I need to do to get...
7
2790
by: C G | last post by:
Dear All, What's the best way to store jpgs in postgresql to use in a web page? I tried to use large objects, but how would you extract them from a table to be viewed in a web-page without having to write them to a scratch file somewhere first? Thanks
1
1085
by: kmazur | last post by:
Hello, I have a folder on the server g:\users\logos\. I need to create a web app that will display all the images in that folder (there are gifs, tiffs, jpegs and bmps) in thumbnail format and then when the user clicks, he/she can download that image. I found some sample code that will display one type of image (jpgs) but I cannot figure out how to display all different formats. IS there any sample code out there? any help will be...
2
1304
by: VivekR | last post by:
Hi All Please help me out with this thing in javascript. I am dumb in the world of JS/Html/... I have a url, say www.someurl.com. It has a list of jpgs that can accessed as www.something.com/one.jpg or www..../two.jpg etc. Now i need to get the list of the jpgs and then display it on a web page one by one, triggered by a timer. I have to do this using javascript.
0
996
by: cyberdwarf | last post by:
Hi I've been trying to sort this one for a couple of months now, without getting a definitive solution! I have a client spec which requires us to store JPG photos (thumbnails) within the record (ie, we will not store the link to the image stored on disk - yes, I know that would be easier ;-( ). Drag 'n drop onto the table is not acceptable to our client. I need to be able to bring the JPG into the image column with code (T-SQL, VB, C,...
8
1481
by: J. Frank Parnell | last post by:
Hi there, I got this directory tree listing function somewhere, it works great, but I want it to only list directories that do have one or more .jpgs inside. I tried getting a list of each dir's contents and doing if count($dir) 0 But something not working out for me. <?php // $path : path to browse
0
9590
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9424
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10223
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10051
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10000
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8879
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.