CloudShark Support

Embedding Packets From CloudShark In HTML

Embedding Packets in HTML

Packets from CloudShark can be embedded in other webpages using HTML. Here is an example of an embedded packet from our public cloudshark.org server:

The CloudShark watermark above only appears when embedding packets from our public cloudshark.org server. This watermark will not appear when embedding packets from your own CloudShark appliance.

The HTML to embed your CloudShark packets is:

<iframe src="url" style='width:100%; border: 1px solid #ccc'></iframe>

The url above should be defined as:

http://[server]/captures/[capture-id]/decode?frame=[frame-number]&window=yes

Make sure that the capture file you are linking to is public or else a login message will appear inside the <iframe>. The ability to load content from your CloudShark Appliance into an <iframe> may also be limited by the server’s X-Frame-Options policy. More info on X-Frame-Options here.

About CloudShark

CloudShark is made by QA Cafe, a technology company based in Portsmouth, NH. Our passion for packet captures has grown out of our other product CDRouter.

Get in touch via our Contact us page or by following us on your favorite service: