473,394 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

what does 'b.jpg?xxxx' mean? is it a jpg or a script?

Dear experts,

I came across the following script in a htm file. Could some one
explain why is it passing some parameter to a jpg file? What does it
mean?

Thanks

<script language="JavaScript" type="text/javascript">
<!--
var r=Math.random();
document.write("<img alt=\"\" width=\"1\" height=\"1\"
style=\"display:none\" ");

document.write("src=\"http://tracking.xxxx.com/b.jpg?cD0yJnU9ey9jbHViLmNoaW5hLmFsaWJhYmEuY29tL2h0 bWwvcGFnZS9jaGF0Lmh0bWx9Jm09e0dFVH0mcz17MjAwfSZyPX todHRwOi8vY2hhdDEuaW5mby5jaGluYS5hbGliYWJhLmNvbS8w MS9saXZlX3RvcC5odG1sfSZhPXstfSZiPXtjX2Nfc2lnbmVkPU 59JmM9ey19&rand="+r+"\">");
-->
</script>
Leo

Sep 27 '06 #1
3 3149
I downloaded this b.jpg file (using flashget) and ultraedit shows the
following. (acdsee views it as a blank image). Could some one explain
what's going on? Thanks!
00000000h: FF D8 FF E0 00 10 4A 46 49 46 00 01 01 00 00 01 ;
??.JFIF......
00000010h: 00 01 00 00 FF FE 00 3E 43 52 45 41 54 4F 52 3A ;
.....?>CREATOR:
00000020h: 20 67 64 2D 6A 70 65 67 20 76 32 2E 30 20 28 75 ; gd-jpeg
v2.0 (u
00000030h: 73 69 6E 67 20 49 4A 47 20 4A 50 45 47 20 76 36 ; sing IJG
JPEG v6
00000040h: 32 29 2C 20 64 65 66 61 75 6C 74 20 71 75 61 6C ; 2),
default qual
00000050h: 69 74 79 0A FF DB 00 43 00 08 06 06 07 06 05 08 ;
ity.?C........
00000060h: 07 07 07 09 09 08 0A 0C 14 0D 0C 0B 0B 0C 19 12 ;
.................
00000070h: 13 0F 14 1D 1A 1F 1E 1D 1A 1C 1C 20 24 2E 27 20 ;
............ $.'
00000080h: 22 2C 23 1C 1C 28 37 29 2C 30 31 34 34 34 1F 27 ;
",#..(7),01444.'
00000090h: 39 3D 38 32 3C 2E 33 34 32 FF DB 00 43 01 09 09 ;
9=82<.342?C...
000000a0h: 09 0C 0B 0C 18 0D 0D 18 32 21 1C 21 32 32 32 32 ;
.........2!.!2222
000000b0h: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ;
2222222222222222
000000c0h: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ;
2222222222222222
000000d0h: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 FF C0 ;
22222222222222?
000000e0h: 00 11 08 00 01 00 01 03 01 22 00 02 11 01 03 11 ;
.........."......
000000f0h: 01 FF C4 00 1F 00 00 01 05 01 01 01 01 01 01 00 ;
..?............
00000100h: 00 00 00 00 00 00 00 01 02 03 04 05 06 07 08 09 ;
.................
00000110h: 0A 0B FF C4 00 B5 10 00 02 01 03 03 02 04 03 05 ;
...??.........
00000120h: 05 04 04 00 00 01 7D 01 02 03 00 04 11 05 12 21 ;
.......}........!
00000130h: 31 41 06 13 51 61 07 22 71 14 32 81 91 A1 08 23 ;
1A..Qa."q.2亼?#
00000140h: 42 B1 C1 15 52 D1 F0 24 33 62 72 82 09 0A 16 17 ;
B绷.R佯$3br?...
00000150h: 18 19 1A 25 26 27 28 29 2A 34 35 36 37 38 39 3A ;
....%&'()*456789:
00000160h: 43 44 45 46 47 48 49 4A 53 54 55 56 57 58 59 5A ;
CDEFGHIJSTUVWXYZ
00000170h: 63 64 65 66 67 68 69 6A 73 74 75 76 77 78 79 7A ;
cdefghijstuvwxyz
00000180h: 83 84 85 86 87 88 89 8A 92 93 94 95 96 97 98 99 ;
儎厗噲墛挀敃枟槞
00000190h: 9A A2 A3 A4 A5 A6 A7 A8 A9 AA B2 B3 B4 B5 B6 B7 ;
殺¥ウЖ┆渤吹斗
000001a0h: B8 B9 BA C2 C3 C4 C5 C6 C7 C8 C9 CA D2 D3 D4 D5 ;
腹郝媚牌侨墒矣哉
000001b0h: D6 D7 D8 D9 DA E1 E2 E3 E4 E5 E6 E7 E8 E9 EA F1 ;
肿*卺忏溴骁*犟
000001c0h: F2 F3 F4 F5 F6 F7 F8 F9 FA FF C4 00 1F 01 00 03 ;
蝮趱鲼??....
000001d0h: 01 01 01 01 01 01 01 01 01 00 00 00 00 00 00 01 ;
.................
000001e0h: 02 03 04 05 06 07 08 09 0A 0B FF C4 00 B5 11 00 ;
...........??.
000001f0h: 02 01 02 04 04 03 04 07 05 04 04 00 01 02 77 00 ;
...............w.
00000200h: 01 02 03 11 04 05 21 31 06 12 41 51 07 61 71 13 ;
.......!1..AQ.aq.
00000210h: 22 32 81 08 14 42 91 A1 B1 C1 09 23 33 52 F0 15 ;
"2?.B憽绷.#3R?
00000220h: 62 72 D1 0A 16 24 34 E1 25 F1 17 18 19 1A 26 27 ;
br?.$4??...&'
00000230h: 28 29 2A 35 36 37 38 39 3A 43 44 45 46 47 48 49 ;
()*56789:CDEFGHI
00000240h: 4A 53 54 55 56 57 58 59 5A 63 64 65 66 67 68 69 ;
JSTUVWXYZcdefghi
00000250h: 6A 73 74 75 76 77 78 79 7A 82 83 84 85 86 87 88 ;
jstuvwxyz們*唶?
00000260h: 89 8A 92 93 94 95 96 97 98 99 9A A2 A3 A4 A5 A6 ;
墛挀敃枟槞殺¥ウ
00000270h: A7 A8 A9 AA B2 B3 B4 B5 B6 B7 B8 B9 BA C2 C3 C4 ;
Ж┆渤吹斗腹郝媚
00000280h: C5 C6 C7 C8 C9 CA D2 D3 D4 D5 D6 D7 D8 D9 DA E2 ;
牌侨墒矣哉肿*阝
00000290h: E3 E4 E5 E6 E7 E8 E9 EA F2 F3 F4 F5 F6 F7 F8 F9 ;
沅彐玷殛蝮趱鲼
000002a0h: FA FF DA 00 0C 03 01 00 02 11 03 11 00 3F 00 F9 ;
??.........?.?
000002b0h: FE 8A 28 A0 0F FF D9 ; (?
le*****@gmail.com wrote:
Dear experts,

I came across the following script in a htm file. Could some one
explain why is it passing some parameter to a jpg file? What does it
mean?

Thanks

<script language="JavaScript" type="text/javascript">
<!--
var r=Math.random();
document.write("<img alt=\"\" width=\"1\" height=\"1\"
style=\"display:none\" ");

document.write("src=\"http://tracking.xxxx.com/b.jpg?cD0yJnU9ey9jbHViLmNoaW5hLmFsaWJhYmEuY29tL2h0 bWwvcGFnZS9jaGF0Lmh0bWx9Jm09e0dFVH0mcz17MjAwfSZyPX todHRwOi8vY2hhdDEuaW5mby5jaGluYS5hbGliYWJhLmNvbS8w MS9saXZlX3RvcC5odG1sfSZhPXstfSZiPXtjX2Nfc2lnbmVkPU 59JmM9ey19&rand="+r+"\">");
-->
</script>
Leo
Sep 27 '06 #2

le*****@gmail.com wrote:
Dear experts,

I came across the following script in a htm file. Could some one
explain why is it passing some parameter to a jpg file? What does it
mean?

Thanks

<script language="JavaScript" type="text/javascript">
<!--
var r=Math.random();
document.write("<img alt=\"\" width=\"1\" height=\"1\"
style=\"display:none\" ");

document.write("src=\"http://tracking.xxxx.com/b.jpg?cD0yJnU9ey9jbHViLmNoaW5hLmFsaWJhYmEuY29tL2h0 bWwvcGFnZS9jaGF0Lmh0bWx9Jm09e0dFVH0mcz17MjAwfSZyPX todHRwOi8vY2hhdDEuaW5mby5jaGluYS5hbGliYWJhLmNvbS8w MS9saXZlX3RvcC5odG1sfSZhPXstfSZiPXtjX2Nfc2lnbmVkPU 59JmM9ey19&rand="+r+"\">");
-->
</script>
While I can't comment on this particular instance, when I write these,
it points to server side code (in my case servlets) that are generating
the images on the fly (for a captcha, for example).
There is no rule that a resource with an extension .jpg or the src
attribute of an image has to point to an image file, only it should
point to something that returns image data.

HTH.
>
Leo
Sep 27 '06 #3

le*****@gmail.com wrote:
I came across the following script in a htm file. Could some one
explain why is it passing some parameter to a jpg file?
"tracking.com" is the clue

It's a web bug, a single pixel transparent GIF. There's no need to
involve a script at all, the "query parameter" is just an ID string
that will be extracted from the webserver logs afterwards. The site
hosting the image tracks many 3rd party sites and the identifiers
differ for each.

Of course it could be an image as a static file, or it could be a
server-side script that generates an image as a stream of bytes in the
HTTP response (as many web page counters use). There's simply no way
it's possible to tell - but simplicity suggests a static file.

Sep 27 '06 #4

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

Similar topics

4
by: ndsoumah | last post by:
Hello Guys I'm trying to run this query $uneRequete = "SELECT * FROM Usager WHERE motDePasse = {$loginPassword}"; and I get this error message : Error 1054: Unknown column 'xxxx' in WHERE...
2
by: Henke | last post by:
Hi! Are there any built in classes (or methods) in the framework that can encrypt to some simple string like the one you enter when registring an Microsoft application (xxxx-xxx-xxxx-xxxx)? I...
2
by: Steve Richter | last post by:
What does the "." mean in the following sql script stmts? use GO if exists (select * from dbo.sysobjects where id = object_id(N'.') and OBJECTPROPERTY(id,N'IsUserTable') = 1) drop table ....
5
by: Emmanuel Papillon | last post by:
Hello. I've got a page with sound through a swf file, working with an animation with preloaded JPEG files (animated through use of setTimeout). I'm preloading the JPEG files through Javascript...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
3
by: R2 | last post by:
Hello Can anyone advise / help on this problem. I have a friend (brother in law) who is in the (spam) telephone fax business. He would like to convert numerous phone lists from old data bases to...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
11
by: pamelafluente | last post by:
Hi I am executing some simple sample code: Using OleDbCommand As New OleDbCommand(Me.DBQuery.Text, Me.OleDbConnection) Dim OleDbParameter As OleDbParameter =...
184
by: jim | last post by:
In a thread about wrapping .Net applications using Thinstall and Xenocode, it was pointed out that there may be better programming languages/IDEs to use for the purpose of creating standalone,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.