Submitted URL: http://www.chip.de/downloads/Android-File-Transfer_53192185.html
Effective URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Submission: On September 10 via manual from CA

Summary

This website contacted 69 IPs in 8 countries across 51 domains to perform 210 HTTP transactions. The main IP is 2a02:26f0:6c00:28c::bf0, located in European Union and belongs to AKAMAI-ASN1, US. The main domain is www.chip.de.
TLS certificate: Issued by GeoTrust RSA CA 2018 on June 7th 2018. Valid for: a year.
This is the only time www.chip.de was scanned on urlscan.io!

urlscan.io Verdict: No classification

Domain & IP information

IP Address AS Autonomous System
1 4 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
27 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
5 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
4 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
1 52.222.147.244 16509 (AMAZON-02)
2 2.18.234.190 16625 (AKAMAI-AS)
1 52.94.220.16 16509 (AMAZON-02)
1 91.215.103.64 43407 (INFONLINE-AS)
1 193.46.63.75 43407 (INFONLINE-AS)
2 3 91.215.100.40 43407 (INFONLINE-AS)
1 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
6 2a00:1450:400... 15169 (GOOGLE)
1 52.222.146.214 16509 (AMAZON-02)
2 2a00:1450:400... 15169 (GOOGLE)
2 52.222.150.61 16509 (AMAZON-02)
2 52.18.166.37 16509 (AMAZON-02)
1 52.208.52.41 16509 (AMAZON-02)
24 2.18.232.233 16625 (AKAMAI-AS)
1 178.250.0.93 44788 (ASN-CRITE...)
1 107.178.241.34 15169 (GOOGLE)
1 18.185.168.60 16509 (AMAZON-02)
1 2a03:2880:f01... 32934 (FACEBOOK)
1 52.30.15.212 16509 (AMAZON-02)
2 6 185.33.223.197 29990 (ASN-APPNEXUS)
14 172.217.21.194 15169 (GOOGLE)
8 151.101.134.2 54113 (FASTLY)
8 64.202.112.28 23352 (SERVERCEN...)
1 2600:9000:204... 16509 (AMAZON-02)
1 2600:9000:204... 16509 (AMAZON-02)
6 31.24.80.101 56464 (VIBRANT-EU)
1 46.137.113.194 16509 (AMAZON-02)
3 104.108.48.32 16625 (AKAMAI-AS)
1 3 63.140.40.124 15224 (OMNITURE)
5 52.222.150.73 16509 (AMAZON-02)
9 2a00:1450:400... 15169 (GOOGLE)
2 2a00:1450:400... 15169 (GOOGLE)
1 54.72.140.158 16509 (AMAZON-02)
1 85.114.144.199 24961 (MYLOC-AS)
1 1 2001:16e0:10a... 12611 (RKOM R-KO...)
4 4 85.114.159.118 24961 (MYLOC-AS)
1 2001:16e0:10a... 12611 (RKOM R-KO...)
1 3 85.114.144.106 24961 (MYLOC-AS)
1 2a00:cd0:1005... 48173 (UNBELIEVA...)
2 52.222.150.126 16509 (AMAZON-02)
2 2a00:1450:400... 15169 (GOOGLE)
1 52.208.127.173 16509 (AMAZON-02)
4 52.222.150.113 16509 (AMAZON-02)
1 52.222.150.78 16509 (AMAZON-02)
1 2.18.234.21 16625 (AKAMAI-AS)
1 4 176.34.121.0 16509 (AMAZON-02)
1 46.137.126.71 16509 (AMAZON-02)
1 1 85.114.159.93 24961 (MYLOC-AS)
3 3 77.66.11.200 16245 (NGDC)
2 2 185.33.223.220 29990 (ASN-APPNEXUS)
1 35.157.25.10 16509 (AMAZON-02)
1 1 172.217.22.2 15169 (GOOGLE)
2 2 54.171.22.132 16509 (AMAZON-02)
2 2 37.157.6.245 198622 (ADFORM)
3 3 18.153.11.28 16509 (AMAZON-02)
3 3 185.29.135.233 30419 (MEDIAMATH...)
1 1 185.31.128.129 54312 (ROCKETFUEL)
3 54.154.14.76 16509 (AMAZON-02)
1 148.251.151.243 24940 (HETZNER-AS)
5 2a00:1450:400... 15169 (GOOGLE)
2 2 18.194.100.124 16509 (AMAZON-02)
3 4 172.217.21.198 15169 (GOOGLE)
1 2a00:1450:400... 15169 (GOOGLE)
2 2a00:1450:400... 15169 (GOOGLE)
1 2a01:4f8:202:... 24940 (HETZNER-AS)
1 144.76.220.226 24940 (HETZNER-AS)
1 148.251.139.104 24940 (HETZNER-AS)
5 104.109.71.169 20940 (AKAMAI-ASN1)
1 2a00:1450:400... 15169 (GOOGLE)
4 34.252.16.212 16509 (AMAZON-02)
1 52.222.153.135 16509 (AMAZON-02)
1 54.154.209.235 16509 (AMAZON-02)
1 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
2 52.48.133.165 16509 (AMAZON-02)
1 34.242.119.131 16509 (AMAZON-02)
2 2a00:1450:400... 15169 (GOOGLE)
210 69
Apex Domain
Subdomains
Transfer
38 chip.de
www.chip.de
adtm.chip.de
ad-js.chip.de
filestorage.chip.de
videos.chip.de
rt.chip.de
somniture.chip.de
videoembed.chip.de
ssl.3.damoh.chip.de
ssl.1.damoh.chip.de
742 KB
25 yieldlab.net
ad.yieldlab.net
p.yieldlab.net
counts.yieldlab.net
22 KB
19 doubleclick.net
securepubads.g.doubleclick.net
cm.g.doubleclick.net
ad.doubleclick.net
110 KB
18 outbrain.com
widgets.outbrain.com
amplify.outbrain.com
tr.outbrain.com
amplifypixel.outbrain.com
32 KB
14 unrulymedia.com
video.unrulymedia.com
stats3.unrulymedia.com
cloud-video.unrulymedia.com
targeting.unrulymedia.com
targaryen.unrulymedia.com
72 KB
14 googlesyndication.com
pagead2.googlesyndication.com
tpc.googlesyndication.com
209 KB
8 intellitxt.com
k.intellitxt.com
images.intellitxt.com
61 KB
8 adnxs.com
ib.adnxs.com
6 KB
7 adup-tech.com
s.d.adup-tech.com
d.adup-tech.com
16 KB
6 smartclip.net
des.smartclip.net
dco.smartclip.net
ad.sxp.smartclip.net
114 KB
6 bf-ad.net
a.bf-ad.net
47 KB
5 ampproject.org
cdn.ampproject.org
244 KB
5 adition.com
dsp.adfarm1.adition.com
2 KB
5 svonm.com
hgc-cf-cache-1.svonm.com
55 KB
5 ioam.de
script.ioam.de
irqs.ioam.de
de.ioam.de
10 KB
5 bf-tools.net
a.bf-tools.net
67 KB
3 mathtag.com
sync.mathtag.com
2 KB
3 bidswitch.net
x.bidswitch.net
2 KB
3 semasio.net
uip.semasio.net
2 KB
3 theadex.com
xpl.theadex.com
dmp.theadex.com
2 KB
3 googleapis.com
imasdk.googleapis.com
ajax.googleapis.com
109 KB
2 appspot.com
amp-error-reporting.appspot.com
219 B
2 gstatic.com
csi.gstatic.com
258 B
2 myvisualiq.net
t.myvisualiq.net
2 KB
2 adform.net
c1.adform.net
307 B
2 adsrvr.org
match.adsrvr.org
835 B
2 2mdn.net
s0.2mdn.net
12 KB
2 df-srv.de
d.df-srv.de
1 KB
2 adrtx.net
cdn.adrtx.net
adstax-match.adrtx.net
848 B
2 go-mpulse.net
s.go-mpulse.net
c.go-mpulse.net
56 KB
2 google.com
adservice.google.com
www.google.com
242 B
2 xplosion.de
ups.xplosion.de
5 KB
2 conative.de
cdn.conative.de
72 KB
2 amazon-adsystem.com
c.amazon-adsystem.com
aax.amazon-adsystem.com
7 KB
1 akstat.io
364bf6be.akstat.io
199 B
1 plista.com
farm.plista.com
771 B
1 rfihub.com
p.rfihub.com
683 B
1 eyeota.net
ps.eyeota.net
140 B
1 krxd.net
beacon.krxd.net
453 B
1 casalemedia.com
ssum-sec.casalemedia.com
288 B
1 consensu.org
vibrant.mgr.consensu.org
1 nuggad.net
smartclip.nuggad.net
1 KB
1 emetriq.de
cdn.emetriq.de
2 KB
1 google.de
adservice.google.de
171 B
1 facebook.com
an.facebook.com
1 KB
1 3lift.com
tlx.3lift.com
769 B
1 nativendo.de
d.nativendo.de
785 B
1 criteo.com
bidder.criteo.com
185 B
1 wfxtriggers.com
partners.wfxtriggers.com
385 B
1 googletagservices.com
www.googletagservices.com
8 KB
1 cloudfront.net
d3alqb8vzo7fun.cloudfront.net
39 KB
210 51
Domain Requested by
22 ad.yieldlab.net a.bf-ad.net
ad.yieldlab.net
www.chip.de
14 securepubads.g.doubleclick.net www.googletagservices.com
securepubads.g.doubleclick.net
www.chip.de
10 adtm.chip.de www.chip.de
adtm.chip.de
10 www.chip.de 1 redirects www.chip.de
a.bf-ad.net
9 tpc.googlesyndication.com securepubads.g.doubleclick.net
www.chip.de
8 amplifypixel.outbrain.com www.chip.de
8 tr.outbrain.com www.chip.de
8 ib.adnxs.com 4 redirects a.bf-ad.net
6 k.intellitxt.com ad-js.chip.de
k.intellitxt.com
images.intellitxt.com
www.chip.de
6 a.bf-ad.net www.chip.de
ad-js.chip.de
a.bf-ad.net
5 stats3.unrulymedia.com www.chip.de
5 video.unrulymedia.com a.bf-ad.net
video.unrulymedia.com
ajax.googleapis.com
5 cdn.ampproject.org securepubads.g.doubleclick.net
5 dsp.adfarm1.adition.com 5 redirects
5 hgc-cf-cache-1.svonm.com filestorage.chip.de
text
5 pagead2.googlesyndication.com ad-js.chip.de
securepubads.g.doubleclick.net
www.chip.de
5 filestorage.chip.de www.chip.de
filestorage.chip.de
text
5 a.bf-tools.net www.chip.de
a.bf-tools.net
4 ad.doubleclick.net 3 redirects www.chip.de
4 ad.sxp.smartclip.net 1 redirects www.chip.de
dco.smartclip.net
4 s.d.adup-tech.com ad.yieldlab.net
s.d.adup-tech.com
4 videos.chip.de ad-js.chip.de
www.chip.de
3 d.adup-tech.com s.d.adup-tech.com
3 sync.mathtag.com 3 redirects
3 x.bidswitch.net 3 redirects
3 uip.semasio.net 3 redirects
3 somniture.chip.de 1 redirects www.chip.de
3 de.ioam.de 2 redirects www.chip.de
2 amp-error-reporting.appspot.com cdn.ampproject.org
2 targaryen.unrulymedia.com ajax.googleapis.com
www.chip.de
2 csi.gstatic.com imasdk.googleapis.com
tpc.googlesyndication.com
2 t.myvisualiq.net 2 redirects
2 ssl.3.damoh.chip.de text
2 c1.adform.net 2 redirects
2 match.adsrvr.org 2 redirects
2 counts.yieldlab.net www.chip.de
2 s0.2mdn.net imasdk.googleapis.com
www.chip.de
2 images.intellitxt.com k.intellitxt.com
images.intellitxt.com
2 xpl.theadex.com 1 redirects www.chip.de
2 d.df-srv.de 1 redirects www.chip.de
2 imasdk.googleapis.com filestorage.chip.de
imasdk.googleapis.com
2 ups.xplosion.de a.bf-ad.net
cdn.emetriq.de
2 cdn.conative.de a.bf-ad.net
cdn.conative.de
1 364bf6be.akstat.io s.go-mpulse.net
1 targeting.unrulymedia.com ajax.googleapis.com
1 cloud-video.unrulymedia.com ajax.googleapis.com
1 ajax.googleapis.com video.unrulymedia.com
1 c.go-mpulse.net s.go-mpulse.net
1 ssl.1.damoh.chip.de text
1 farm.plista.com dco.smartclip.net
1 www.google.com www.chip.de
1 p.rfihub.com 1 redirects
1 cm.g.doubleclick.net 1 redirects
1 ps.eyeota.net www.chip.de
1 dmp.theadex.com www.chip.de
1 beacon.krxd.net www.chip.de
1 ssum-sec.casalemedia.com www.chip.de
1 vibrant.mgr.consensu.org images.intellitxt.com
1 adstax-match.adrtx.net cdn.adrtx.net
1 smartclip.nuggad.net des.smartclip.net
1 p.yieldlab.net www.chip.de
1 cdn.adrtx.net www.chip.de
1 videoembed.chip.de filestorage.chip.de
1 s.go-mpulse.net adtm.chip.de
1 rt.chip.de www.chip.de
1 cdn.emetriq.de ups.xplosion.de
1 dco.smartclip.net des.smartclip.net
1 amplify.outbrain.com www.chip.de
1 adservice.google.com pagead2.googlesyndication.com
1 adservice.google.de pagead2.googlesyndication.com
1 des.smartclip.net a.bf-ad.net
1 an.facebook.com a.bf-ad.net
1 tlx.3lift.com a.bf-ad.net
1 d.nativendo.de a.bf-ad.net
1 bidder.criteo.com a.bf-ad.net
1 partners.wfxtriggers.com a.bf-ad.net
1 www.googletagservices.com a.bf-ad.net
1 d3alqb8vzo7fun.cloudfront.net a.bf-tools.net
1 irqs.ioam.de script.ioam.de
1 script.ioam.de adtm.chip.de
1 aax.amazon-adsystem.com c.amazon-adsystem.com
1 widgets.outbrain.com www.chip.de
1 ad-js.chip.de www.chip.de
1 c.amazon-adsystem.com www.chip.de
210 84
Subject Issuer Validity Valid
*.chip.de
GeoTrust RSA CA 2018
2018-06-07 -
2019-12-06
a year crt.sh
*.bf-ad.net
DigiCert SHA2 Secure Server CA
2018-07-13 -
2020-01-11
a year crt.sh
bf-tools.net
DigiCert ECC Secure Server CA
2018-07-26 -
2019-04-25
9 months crt.sh
c.amazon-adsystem.com
Amazon
2018-03-12 -
2019-03-12
a year crt.sh
*.outbrain.com
DigiCert SHA2 Secure Server CA
2018-02-12 -
2019-02-12
a year crt.sh
aax-eu.amazon-adsystem.com
Amazon
2018-03-08 -
2019-03-08
a year crt.sh
*.ioam.de
COMODO RSA Organization Validation Secure Server CA
2017-12-22 -
2020-12-21
3 years crt.sh
*.g.doubleclick.net
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
*.cloudfront.net
DigiCert Global CA G2
2017-11-22 -
2018-11-21
a year crt.sh
cdn.conative.de
Amazon
2017-12-28 -
2019-01-28
a year crt.sh
*.xplosion.de
Thawte RSA CA 2018
2018-03-06 -
2019-01-12
10 months crt.sh
*.wfxtriggers.com
DigiCert SHA2 Secure Server CA
2018-02-23 -
2020-02-28
2 years crt.sh
*.yieldlab.net
DigiCert SHA2 Secure Server CA
2018-02-08 -
2019-02-08
a year crt.sh
*.criteo.com
DigiCert SHA2 Secure Server CA
2017-11-21 -
2018-11-26
a year crt.sh
*.nativendo.de
Thawte TLS RSA CA G1
2018-02-09 -
2019-05-11
a year crt.sh
*.3lift.com
Amazon
2018-07-31 -
2019-08-31
a year crt.sh
*.facebook.com
DigiCert SHA2 High Assurance Server CA
2017-12-15 -
2019-03-22
a year crt.sh
*.smartclip.net
Amazon
2018-04-26 -
2019-05-26
a year crt.sh
*.google.com
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
*.adnxs.com
DigiCert ECC Secure Server CA
2018-01-25 -
2019-01-25
a year crt.sh
f2.shared.global.fastly.net
GlobalSign CloudSSL CA - SHA256 - G3
2018-09-06 -
2019-09-07
a year crt.sh
*.emetriq.de
RapidSSL TLS RSA CA G1
2018-01-08 -
2020-03-08
2 years crt.sh
*.intellitxt.com
SSL.com DV CA
2017-08-07 -
2018-11-05
a year crt.sh
rt.chip.de
Amazon
2018-01-09 -
2019-02-09
a year crt.sh
akstat.io
DigiCert ECC Secure Server CA
2018-03-12 -
2019-05-11
a year crt.sh
somniture.chip.de
DigiCert SHA2 High Assurance Server CA
2018-08-26 -
2019-11-29
a year crt.sh
hgc-cf-cache-1.svonm.com
Amazon
2018-08-09 -
2019-09-09
a year crt.sh
tpc.googlesyndication.com
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
*.googleapis.com
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
*.adrtx.net
Amazon
2017-10-25 -
2018-11-25
a year crt.sh
*.df-srv.de
thawte SHA256 SSL CA
2016-12-12 -
2019-12-12
3 years crt.sh
*.theadex.com
GeoTrust RSA CA 2018
2018-02-16 -
2019-10-19
2 years crt.sh
*.nuggad.net
Gandi Standard SSL CA 2
2018-01-12 -
2020-01-16
2 years crt.sh
images.intellitxt.com
Amazon
2017-12-23 -
2019-01-23
a year crt.sh
*.doubleclick.net
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
*.adup-tech.com
Amazon
2018-08-30 -
2019-09-30
a year crt.sh
vibrant.mgr.consensu.org
Amazon
2018-05-19 -
2019-06-19
a year crt.sh
san.casalemedia.com
GeoTrust RSA CA 2018
2018-04-16 -
2019-02-06
10 months crt.sh
*.krxd.net
Go Daddy Secure Certificate Authority - G2
2017-06-12 -
2019-07-11
2 years crt.sh
www.eyeota.com
COMODO RSA Domain Validation Secure Server CA
2018-02-12 -
2021-02-11
3 years crt.sh
ssl.1.damoh.chip.de
Let's Encrypt Authority X3
2018-07-24 -
2018-10-22
3 months crt.sh
misc-sni.google.com
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
www.google.com
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh
*.plista.com
COMODO RSA Domain Validation Secure Server CA
2017-04-11 -
2020-07-10
3 years crt.sh
*.unrulymedia.com
DigiCert SHA2 Secure Server CA
2018-04-18 -
2019-04-18
a year crt.sh
*.appspot.com
Google Internet Authority G3
2018-08-21 -
2018-11-13
3 months crt.sh

This page contains 18 frames:

Primary Page: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Frame ID: 73AD0953DAFE817D5FD0C2D060D378FC
Requests: 150 HTTP requests in this frame

Frame: https://a.bf-tools.net/cmp/hub.html
Frame ID: D109762F2479E839562A4BBB24C334EA
Requests: 1 HTTP requests in this frame

Frame: https://s.go-mpulse.net/boomerang/DG6LL-C2K3J-45PG2-VMF2Q-KM6V9
Frame ID: 45EF8A36D14E88D8F5389DA87ECA6E35
Requests: 2 HTTP requests in this frame

Frame: https://imasdk.googleapis.com/js/core/bridge3.234.1_en.html
Frame ID: A260C1700F1112A0B70DBD02CD78FF57
Requests: 1 HTTP requests in this frame

Frame: https://ad.yieldlab.net/d/2355058/21691/970x250?ts=1536589718030&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Frame ID: 740A29C8C6C1F4E80E049FC6ECF61E69
Requests: 24 HTTP requests in this frame

Frame: https://adstax-match.adrtx.net/activation?receiverId=adaud
Frame ID: 656864BE636EE444FF9132BF7CF02CFF
Requests: 1 HTTP requests in this frame

Frame: data://truncated
Frame ID: 7A6F23BC6937E79F547FEB23C2202ED8
Requests: 2 HTTP requests in this frame

Frame: https://vibrant.mgr.consensu.org/readconsent.html
Frame ID: 201F033BF5C33F2D028055B19004AA17
Requests: 1 HTTP requests in this frame

Frame: https://ad.yieldlab.net/d/27572/21691/160x600?ts=1536589718190&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Frame ID: 976FC2B0777DC09206441662E1F13B97
Requests: 8 HTTP requests in this frame

Frame: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js
Frame ID: E65BBC07ECFA8AAC7010081A6C962FC5
Requests: 8 HTTP requests in this frame

Frame: https://d.adup-tech.com/iframe?p=b0a301db334008753f83ff78ea6764f9&s=1&f=01&id=76tduf7t&uid=ssJ06O6P0-ln-WDt1W8P&surl=www.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
Frame ID: E66A0F7CE4E75087CC11A48E1164AC89
Requests: 1 HTTP requests in this frame

Frame: https://d.adup-tech.com/iframe?p=69139504101a193487ed1eb4af979f65&s=1&f=01&id=4dwduf64&uid=ssJ06O6P0-ln-WDt1W8P&surl=www.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
Frame ID: AC99AA8A8833460A6F49E44F5E8F9100
Requests: 1 HTTP requests in this frame

Frame: https://tpc.googlesyndication.com/safeframe/1-0-29/html/container.html
Frame ID: 8C911489BE6C1735059D4E96342803A4
Requests: 1 HTTP requests in this frame

Frame: https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
Frame ID: C8260D1BA68B6F166D10A473403C778C
Requests: 12 HTTP requests in this frame

Frame: https://tpc.googlesyndication.com/safeframe/1-0-29/html/container.html
Frame ID: 3EDE57655E857DCA26217433AF9FEA7C
Requests: 1 HTTP requests in this frame

Frame: https://tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/osd_listener.js
Frame ID: 0F3BBDA820D65724A797EE4E4C70D9BD
Requests: 3 HTTP requests in this frame

Frame: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js
Frame ID: 5168D5A932D33800972758E62C86DB2B
Requests: 6 HTTP requests in this frame

Frame: https://video.unrulymedia.com/iframes/third-party-iframes.html?h=v1.0.1155-4-g960324b&siteId=1026066&gdpr=1&gdpr_consent=BOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Frame ID: 668F5C2A93C78223731C6FEDBFA510F8
Requests: 1 HTTP requests in this frame

Screenshot


Page URL History Show full URLs

  1. http://www.chip.de/downloads/Android-File-Transfer_53192185.html HTTP 301
    https://www.chip.de/downloads/Android-File-Transfer_53192185.html Page URL

Detected technologies

Overall confidence: 100%
Detected patterns
  • headers server /nginx(?:\/([\d.]+))?/i

Overall confidence: 100%
Detected patterns
  • env /^VideoJS$/i

Overall confidence: 100%
Detected patterns
  • script /2mdn\.net/i

Overall confidence: 100%
Detected patterns
  • script /googlesyndication\.com\//i
  • script /2mdn\.net/i
  • env /^google_ad_/i
  • env /^__google_ad_/i
  • env /^Goog_AdSense_/i

Overall confidence: 100%
Detected patterns
  • env /^gaGlobal$/i

Overall confidence: 100%
Detected patterns
  • env /^googletag$/i

Overall confidence: 100%
Detected patterns
  • env /^Hammer$/i

Overall confidence: 100%
Detected patterns
  • env /^szmvars$/i

Overall confidence: 100%
Detected patterns
  • env /^optimizely$/i

Overall confidence: 100%
Detected patterns
  • env /^(?:OutbrainPermaLink|OB_releaseVer)$/i

Overall confidence: 100%
Detected patterns
  • env /^s_(?:account|objectID|code|INST)$/i

Overall confidence: 100%
Detected patterns
  • env /^jQuery$/i

Overall confidence: 100%
Detected patterns
  • env /^webpackJsonp$/i

Page Statistics

210
Requests

100 %
HTTPS

29 %
IPv6

51
Domains

84
Subdomains

69
IPs

8
Countries

2117 kB
Transfer

6786 kB
Size

4
Cookies

Page URL History

This captures the URL locations of the websites, including HTTP redirects and client-side redirects via JavaScript or Meta fields.

  1. http://www.chip.de/downloads/Android-File-Transfer_53192185.html HTTP 301
    https://www.chip.de/downloads/Android-File-Transfer_53192185.html Page URL

Redirected requests

There were HTTP redirect chains for the following requests:

Request Chain 19
  • https://de.ioam.de/tx.io?cp=downloads&st=chip&sv=i2&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.chip.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=0017&i2=0017659504c9743ec5b967f95&ep=1561556011&vr=409&id=s9k4qs&lt=1536589717432&ev=&cs=d883jr&mo=0 HTTP 302
  • https://de.ioam.de/tx.io?cp=downloads&st=chip&sv=i2&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.chip.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=0017&i2=0017659504c9743ec5b967f95&ep=1561556011&vr=409&id=s9k4qs&lt=1536589717432&ev=&cs=d883jr&mo=0&sr=71 HTTP 302
  • https://de.ioam.de/blank.gif
Request Chain 87
  • https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s68700513460966?AQB=1&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C84469BB7195702-079F35F47EAAC35F&ce=UTF-8&pageName=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&g=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&ch=downloads&server=www.chip.de&events=event154%3D7&c1=D%3Dv7&v2=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&c3=D%3Dv15&v3=First%20Visit&v4=Weekday%7CMonday%7C4%3A00PM&c5=D%3Dv4&v5=1&v6=downloads&c7=D%3Dv16&v7=macos&c8=c1_downloads&v8=n%2Fa&c10=D%3Dv8&v15=Downloads_Updates&c18=n%2Fa&v19=stationaer&v23=1&v25=www.android.com&c28=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&v30=c1_downloads&c31=D%3Dv26&c32=n%2Fa&c37=michael%20humpa&c38=visible&c40=n%2Fa&v42=mac%20und%20android%3A%20android%20file%20transfer&v43=7&c44=dtm%20CHIP%20Master&c46=chip_digital%7Cdownloads%7Cmacos%7Cartikel%7Cartikel&c50=index%2C%20follow&c51=D%3Dv19&c52=downloads&c54=no&c59=n%2Fa&c60=13725907&v60=1_fm6che7o&v66=D%3Dc28&v67=D%3Dc60&v68=n%2Fa&c70=D%3Dv70&v70=downloads&v72=PV-WD%20no&v89=n%2Fa&v92=n%2Fa&s=1600x1200&c=24&j=1.6&v=N&k=Y&bw=1600&bh=1200&AQE=1 HTTP 302
  • https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s68700513460966?AQB=1&pccr=true&vidn=2DCB3FCB053131F8-6000010DE0000391&&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C84469BB7195702-079F35F47EAAC35F&ce=UTF-8&pageName=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&g=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&ch=downloads&server=www.chip.de&events=event154%3D7&c1=D%3Dv7&v2=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&c3=D%3Dv15&v3=First%20Visit&v4=Weekday%7CMonday%7C4%3A00PM&c5=D%3Dv4&v5=1&v6=downloads&c7=D%3Dv16&v7=macos&c8=c1_downloads&v8=n%2Fa&c10=D%3Dv8&v15=Downloads_Updates&c18=n%2Fa&v19=stationaer&v23=1&v25=www.android.com&c28=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&v30=c1_downloads&c31=D%3Dv26&c32=n%2Fa&c37=michael%20humpa&c38=visible&c40=n%2Fa&v42=mac%20und%20android%3A%20android%20file%20transfer&v43=7&c44=dtm%20CHIP%20Master&c46=chip_digital%7Cdownloads%7Cmacos%7Cartikel%7Cartikel&c50=index%2C%20follow&c51=D%3Dv19&c52=downloads&c54=no&c59=n%2Fa&c60=13725907&v60=1_fm6che7o&v66=D%3Dc28&v67=D%3Dc60&v68=n%2Fa&c70=D%3Dv70&v70=downloads&v72=PV-WD%20no&v89=n%2Fa&v92=n%2Fa&s=1600x1200&c=24&j=1.6&v=N&k=Y&bw=1600&bh=1200&AQE=1
Request Chain 110
  • https://d.df-srv.de/match/a.js?pid=42 HTTP 302
  • https://dsp.adfarm1.adition.com/cookie/?redirect=https%3A%2F%2Fd.df-srv.de%2Fmatch%2Fa.js%3Fpid%3D42%26l%3D1%26adition_vid%3D%25%25COOKIE%25%25 HTTP 302
  • https://d.df-srv.de/match/a.js?pid=42&l=1&adition_vid=6599602586195195927
Request Chain 111
  • https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr HTTP 302
  • https://xpl.theadex.com/d/327/i/2.gif?_sc=1000118281628380079&axd_pid=22&axd_fuid=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr
Request Chain 137
  • https://ib.adnxs.com/getuid?https%3A%2F%2Fk.intellitxt.com%2Fcsync%2F0%2Fappnexus%2F%24UID HTTP 302
  • https://ib.adnxs.com/bounce?%2Fgetuid%3Fhttps%253A%252F%252Fk.intellitxt.com%252Fcsync%252F0%252Fappnexus%252F%2524UID HTTP 302
  • https://k.intellitxt.com/csync/0/appnexus/2729869184897373167
Request Chain 140
  • https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&cu_burda_pmp_redirect=1&optout=&consent=&rnd=38116368 HTTP 302
  • https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&cu_burda_pmp_redirect=1&optout=&consent=&rnd=38116368&ang_testid=1
Request Chain 146
  • https://dsp.adfarm1.adition.com/cookie/?ssp=1 HTTP 302
  • https://ad.yieldlab.net/m?dt_id=15233&ext_id=6599602586195195927
Request Chain 147
  • https://dsp.adfarm1.adition.com/cookie/?redirect=https%3A%2F%2Fbeacon.krxd.net%2Fusermatch.gif%3Fpartner%3Dactiveagent%26partner_uid%3D%25%25COOKIE%25%25 HTTP 302
  • https://beacon.krxd.net/usermatch.gif?partner=activeagent&partner_uid=6599602586195195927
Request Chain 148
  • https://dsp.adfarm1.adition.com/cookie/?dmp=1&xxx=817 HTTP 302
  • https://dmp.theadex.com/d/817/i/2.gif?c=&axd_pid=14&axd_fuid=6599602586195195927
Request Chain 149
  • https://dsp.adfarm1.adition.com/cookie/?redirect=https%3A%2F%2Fuip.semasio.net%2Fadition%2F1%2Finfo%3FsType%3Dsync%26sExtCookieId%3D%25%25COOKIE%25%25%26sInitiator%3Dyl HTTP 302
  • https://uip.semasio.net/adition/1/info?sType=sync&sExtCookieId=6599602586195195927&sInitiator=yl HTTP 302
  • https://uip.semasio.net/adition/1/info2?sType=sync&sExtCookieId=6599602586195195927&sInitiator=yl HTTP 302
  • https://ib.adnxs.com/getuid?https://uip.semasio.net/appnexusdata/1/info?stype=sync&sExtCookieId=$UID&sInitiator=internal HTTP 302
  • https://uip.semasio.net/appnexusdata/1/info?stype=sync&sExtCookieId=2729869184897373167&sInitiator=internal HTTP 302
  • https://ps.eyeota.net/match?uid=78F7E456BB6AB7E&pid=n4om0kv&r=https://uip.semasio.net/eyeota/1/info?sType=sync&sExtCookieId={UUID}&sInitiator=internal
Request Chain 150
  • https://cm.g.doubleclick.net/pixel?google_nid=yieldlab&google_cm&google_sc HTTP 302
  • https://ad.yieldlab.net/m?dt_id=52&ext_id=CAESEE_k6kz5QtigzuBFyzJrrDM&google_cver=1
Request Chain 151
  • https://match.adsrvr.org/track/cmf/generic?ttd_pid=yieldlab&ttd_tpi=1 HTTP 302
  • https://match.adsrvr.org/track/cmb/generic?ttd_pid=yieldlab&ttd_tpi=1 HTTP 302
  • https://ad.yieldlab.net/m?dt_id=99739&ext_id=e53b0dd6-bfa8-4cdc-b343-a84181ab2a41
Request Chain 152
  • https://ib.adnxs.com/getuid?https://ad.yieldlab.net/m?dt_id=140420&ext_id=$UID HTTP 302
  • https://ad.yieldlab.net/m?dt_id=140420&ext_id=2729869184897373167
Request Chain 153
  • https://c1.adform.net/serving/cookie/match?party=6 HTTP 302
  • https://c1.adform.net/serving/cookie/match?CC=1&party=6 HTTP 302
  • https://ad.yieldlab.net/m?dt_id=4879&ext_id=682417499596931646
Request Chain 154
  • https://x.bidswitch.net/sync?ssp=yieldlab HTTP 302
  • https://x.bidswitch.net/ul_cb/sync?ssp=yieldlab HTTP 302
  • https://sync.mathtag.com/sync/img?mt_exid=46&redir=%2F%2Fx.bidswitch.net%2Fsync%3Fdsp_id%3D80%26user_id%3D%5BUUID%5D%26expires%3D30%26ssp%3Dyieldlab%26bsw_param%3D89c4f792-b13a-4afc-82ea-12dbadc8991c HTTP 302
  • https://x.bidswitch.net/sync?dsp_id=80&user_id=c7b85b96-7ae7-4500-8e79-709e7bf9e0f1&expires=30&ssp=yieldlab&bsw_param=89c4f792-b13a-4afc-82ea-12dbadc8991c HTTP 302
  • https://ad.yieldlab.net/m?dt_id=6850&ext_id=89c4f792-b13a-4afc-82ea-12dbadc8991c
Request Chain 155
  • https://p.rfihub.com/cm?pub=19593&in=1 HTTP 302
  • https://ad.yieldlab.net/m?dt_id=6035831&ext_id=1040683376445288901
Request Chain 156
  • https://sync.mathtag.com/sync/img?mt_exid=118&redir=https%3A%2F%2Fad.yieldlab.net%2Fm%3Fdt_id%3D6061522%26ext_id%3D%5BMM_UUID%5D HTTP 302
  • https://sync.mathtag.com/sync/img?mt_exid=118&redir=https%3A%2F%2Fad.yieldlab.net%2Fm%3Fdt_id%3D6061522%26ext_id%3D%5BMM_UUID%5D&mm_bnc&mm_bct HTTP 302
  • https://ad.yieldlab.net/m?dt_id=6061522&ext_id=c7b85b96-7ae7-4500-8e79-709e7bf9e0f1
Request Chain 176
  • https://t.myvisualiq.net/impression_pixel?r=438922656&et=i&ago=212&ao=537&aca=10860715&si=3230043&ci=78556514&pi=145163035&ad=-18&advt=5862390&chnl=-18&vndr=115&sz=9112&u=-18&pt=i&red=https%3A%2F%2Fad.doubleclick.net%2Fddm%2Ftrackimp%2FN408002.112081CHIP.DE%2FB10860715.145163035%3Bdc_trk_aid%3D316834343%3Bdc_trk_cid%3D78556514%3Bord%3D%5Btimestamp%5D%3Bdc_lat%3D%3Bdc_rdid%3D%3Btag_for_child_directed_treatment%3D%3Btfua%3D%3F HTTP 302
  • https://t.myvisualiq.net/ul_cb/impression_pixel?r=438922656&et=i&ago=212&ao=537&aca=10860715&si=3230043&ci=78556514&pi=145163035&ad=-18&advt=5862390&chnl=-18&vndr=115&sz=9112&u=-18&pt=i&red=https%3A%2F%2Fad.doubleclick.net%2Fddm%2Ftrackimp%2FN408002.112081CHIP.DE%2FB10860715.145163035%3Bdc_trk_aid%3D316834343%3Bdc_trk_cid%3D78556514%3Bord%3D%5Btimestamp%5D%3Bdc_lat%3D%3Bdc_rdid%3D%3Btag_for_child_directed_treatment%3D%3Btfua%3D%3F HTTP 302
  • https://ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/B10860715.145163035;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua= HTTP 302
  • https://ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/B10860715.145163035;dc_pre=CNzT-eLSsN0CFY4m4Aod7k8K2A;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=
Request Chain 208
  • https://ad.doubleclick.net/ddm/ad/N9551.2010700FORWARDADGROUP/B10146152.136200257;sz=1x1;ord=756788759;dc_lat=;dc_rdid=;tag_for_child_directed_treatment= HTTP 302
  • https://ad.doubleclick.net/ddm/ad/N9551.2010700FORWARDADGROUP/B10146152.136200257;dc_pre=COa1oePSsN0CFQuR3godwkoD8A;sz=1x1;ord=756788759;dc_lat=;dc_rdid=;tag_for_child_directed_treatment= HTTP 302
  • https://s0.2mdn.net/viewad/5195550/1x1_default.gif

210 HTTP transactions

Resource
Path
Size
x-fer
Type
MIME-Type
Primary Request Android-File-Transfer_53192185.html
www.chip.de/downloads/
Redirect Chain
  • http://www.chip.de/downloads/Android-File-Transfer_53192185.html
  • https://www.chip.de/downloads/Android-File-Transfer_53192185.html
198 KB
80 KB
Document
General
Full URL
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
a6e4b3001b9006e3c0c658a2205b83c2088388fbbd90d9a2e7a9a3657d25ab49

Request headers

Host
www.chip.de
Connection
keep-alive
Pragma
no-cache
Cache-Control
no-cache
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC

Response headers

Server
nginx
Content-Type
text/html
Vary
Accept-Encoding
Content-Encoding
gzip
SSL
YES
Cache-Control
public, max-age=799
Expires
Mon, 10 Sep 2018 14:41:56 GMT
Date
Mon, 10 Sep 2018 14:28:37 GMT
Transfer-Encoding
chunked
Connection
keep-alive Transfer-Encoding

Redirect headers

Server
AkamaiGHost
Content-Length
0
Location
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Date
Mon, 10 Sep 2018 14:28:37 GMT
Connection
keep-alive
ads_fol_init.js
a.bf-ad.net/makabo/
33 B
445 B
Script
General
Full URL
https://a.bf-ad.net/makabo/ads_fol_init.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:292::30fb , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
9ed3a2ae1ef227fdc6f09c78bcc9a1e590da910c1c276f96b2aaf86d6c4a952e

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Wed, 12 Oct 2016 15:59:48 GMT
Server
Apache
ETag
"e409fb3ff6dc33e64c3e5eefe750ace8:1476288013"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
53
Expires
Mon, 10 Sep 2018 14:43:37 GMT
cmp.js
a.bf-tools.net/cmp/
180 KB
53 KB
Script
General
Full URL
https://a.bf-tools.net/cmp/cmp.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
2a02:26f0:6c00:28f::1142 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
62f86efbbf362718d8b5cdd6c4a3fd7261f9512e383359286c0da5355c0c503f

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Tue, 03 Jul 2018 09:47:22 GMT
Server
Apache
ETag
"9622a4d644ee095821760ae6a6bc0084:1530611250"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Transfer-Encoding
chunked
Connection
keep-alive, Transfer-Encoding
Accept-Ranges
bytes
Expires
Mon, 10 Sep 2018 14:43:37 GMT
download-v1.5.9.css
www.chip.de/download/assets/
300 KB
42 KB
Stylesheet
General
Full URL
https://www.chip.de/download/assets/download-v1.5.9.css
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
e4da1d289ab89639768b2685742ead0e6c31997e6b29d241cdcc4427998d1a64

Request headers

Pragma
no-cache
Accept-Encoding
gzip, deflate
Host
www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
text/css,*/*;q=0.1
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Connection
keep-alive
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Fri, 29 Jun 2018 14:49:16 GMT
Server
nginx
Vary
Accept-Encoding
Content-Type
text/css
Connection
keep-alive
Accept-Ranges
bytes
SSL
YES
Content-Length
42808
Expires
Sat, 20 Jul 2019 07:27:57 GMT
speedtestwidget-v1.5.9.css
www.chip.de/download/assets/
79 KB
11 KB
Stylesheet
General
Full URL
https://www.chip.de/download/assets/speedtestwidget-v1.5.9.css
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:2bc::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
dfd9bd92ae5147930219f47fd1db6dc3de97b1287f5f453a549fc6e838abba0f

Request headers

Pragma
no-cache
Accept-Encoding
gzip, deflate
Host
www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
text/css,*/*;q=0.1
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Connection
keep-alive
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Fri, 29 Jun 2018 14:49:17 GMT
Server
nginx
Vary
Accept-Encoding
Content-Type
text/css
Connection
keep-alive
Accept-Ranges
bytes
SSL
YES
Content-Length
11047
Expires
Sat, 20 Jul 2019 07:26:31 GMT
satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/
118 KB
32 KB
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
24c0ad02293c4d430bf9328484ea759625e1fffb5d820aa4530d592032746152

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 06:52:16 GMT
server
AkamaiNetStorage
etag
"e58ad9e1982ea590f82d743c859ff2a5:1536562335.893358"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=281
accept-ranges
bytes
timing-allow-origin
*
content-length
31978
expires
Mon, 10 Sep 2018 14:33:18 GMT
amzn_ads.js
c.amazon-adsystem.com/aax2/
20 KB
7 KB
Script
General
Full URL
https://c.amazon-adsystem.com/aax2/amzn_ads.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.147.244 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-147-244.fra53.r.cloudfront.net
Software
Server /
Resource Hash
202db84a742a669d5cea67ac16a2c432547cdeb0922422897de274e72298e17c

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Thu, 30 Aug 2018 03:07:58 GMT
Content-Encoding
gzip
Server
Server
Age
40836
ETag
dc0cb68b1775b94b80ccf821f20521ff
X-Cache
Hit from cloudfront
Content-Type
application/javascript
Via
1.1 b8b7a48d4425abc8f20c14956fccf2e5.cloudfront.net (CloudFront)
Cache-Control
public, max-age=86400
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
6580
X-Amz-Cf-Id
p_2R-9W_zY7CDZbAiQdRfwmXRJDdfIbhr5ocJX3_cdhT1yjLBJ_KUA==
9232.min.js
ad-js.chip.de/js/chip/
142 KB
39 KB
Script
General
Full URL
https://ad-js.chip.de/js/chip/9232.min.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
4007ca91f49ad2614a59d9347cfc72fba4a35abee3e8e2ab07813b64db22bc1f

Request headers

:path
/js/chip/9232.min.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
ad-js.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 05 Sep 2018 07:03:19 GMT
server
Apache
etag
"d6e7156706ec5c7f0b9c8451226f72c0:1536130999"
vary
Accept-Encoding
content-type
text/javascript; charset=utf-8
status
200
accept-ranges
bytes
content-length
40065
b97a02c547c62159.jpg
www.chip.de/ii/1/3/7/2/5/9/0/7/
2 KB
2 KB
Image
General
Full URL
https://www.chip.de/ii/1/3/7/2/5/9/0/7/b97a02c547c62159.jpg
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
cf00d01204e6980f758858462f84aa567e85710b1f138546535fc3788f8f1b57

Request headers

:path
/ii/1/3/7/2/5/9/0/7/b97a02c547c62159.jpg
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
image/webp,image/apng,image/*,*/*;q=0.8
cache-control
no-cache
:authority
www.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Mon, 05 Dec 2011 11:39:44 GMT
server
nginx
vary
Accept-Encoding
content-type
image/jpeg
status
200
cache-control
public, max-age=12908657
accept-ranges
bytes
ssl
YES
content-length
2365
expires
Thu, 07 Feb 2019 00:12:54 GMT
bootstrap.3c21256c0e9dc3aaa93f.bundle.js
filestorage.chip.de/videoplayer/
31 KB
11 KB
Script
General
Full URL
https://filestorage.chip.de/videoplayer/bootstrap.3c21256c0e9dc3aaa93f.bundle.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
0bd57dbc29c26c8db1dd5a00d5e39d294abb1ab823805458feadec8bb6fcc8b4

Request headers

:path
/videoplayer/bootstrap.3c21256c0e9dc3aaa93f.bundle.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
filestorage.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Thu, 06 Sep 2018 12:02:13 GMT
server
Apache
status
200
etag
"113ca9024b6f7f89ec94d207e707538f:1536235333"
vary
Accept-Encoding
access-control-allow-methods
GET,POST
content-type
application/x-javascript
access-control-allow-origin
*
access-control-max-age
86400
access-control-allow-credentials
false
accept-ranges
bytes
access-control-allow-headers
*
content-length
11437
outbrain.js
widgets.outbrain.com/
71 KB
26 KB
Script
General
Full URL
https://widgets.outbrain.com/outbrain.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.234.190 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-234-190.deploy.static.akamaitechnologies.com
Software
Apache /
Resource Hash
226c47b7d3427d9a1724333e73052536305778dce47c0f435d504f79744afd82

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 12:10:48 GMT
Server
Apache
ETag
"64a91133c15cd8aad5e5f0b205d801d0:1536235848"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET,POST
Content-Type
application/x-javascript
Access-Control-Allow-Origin
*, *
Cache-Control
max-age=604800
Access-Control-Allow-Credentials
false
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
26121
installer_init-v1.5.9.js
www.chip.de/download/assets/
2 KB
1 KB
Script
General
Full URL
https://www.chip.de/download/assets/installer_init-v1.5.9.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
afd78436d7aa99bb2eaa5072f1f455a7e00fdf53c5cd9c19921b14e1c6c39b5f

Request headers

:path
/download/assets/installer_init-v1.5.9.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
www.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Fri, 29 Jun 2018 14:49:17 GMT
server
nginx
vary
Accept-Encoding
content-type
application/javascript
status
200
cache-control
public, max-age=27285427
accept-ranges
bytes
ssl
YES
content-length
989
expires
Tue, 23 Jul 2019 09:45:44 GMT
hook-v1.5.9.js
www.chip.de/download/assets/
296 KB
100 KB
Script
General
Full URL
https://www.chip.de/download/assets/hook-v1.5.9.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
7db88358fc27c1bd55e13e06a6439e4f564a5c5bd75843413eff22a77f391c0e

Request headers

:path
/download/assets/hook-v1.5.9.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
www.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Fri, 29 Jun 2018 14:49:16 GMT
server
nginx
vary
Accept-Encoding
content-type
application/javascript
status
200
cache-control
public, max-age=27285432
accept-ranges
bytes
ssl
YES
content-length
101614
expires
Tue, 23 Jul 2019 09:45:49 GMT
satellite-5b192bd364746d5acf000a29.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
816 B
1 KB
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5b192bd364746d5acf000a29.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
8eecf0a2944ad09c2017e2351de3edd35017eb94e1f3f412e4c942701f9f0687

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5b192bd364746d5acf000a29.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
last-modified
Wed, 05 Sep 2018 12:29:34 GMT
server
AkamaiNetStorage
etag
"305c5b6044d799c22ddef1af3f8e191f:1536150574.267144"
content-type
application/x-javascript
status
200
cache-control
max-age=226
accept-ranges
bytes
timing-allow-origin
*
content-length
816
expires
Mon, 10 Sep 2018 14:32:23 GMT
satellite-57c58fcc64746d7a93007e3e.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
1 KB
761 B
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-57c58fcc64746d7a93007e3e.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
63014e0db08db9a1ba9a35d531d3ccefa158e33f53f436142550ef0d0acd5b5f

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-57c58fcc64746d7a93007e3e.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 05 Sep 2018 12:29:31 GMT
server
AkamaiNetStorage
etag
"96e982946b194bcaffc7b790b9076db7:1536150571.167"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=160
accept-ranges
bytes
timing-allow-origin
*
content-length
518
expires
Mon, 10 Sep 2018 14:31:17 GMT
satellite-5a0ef85764746d0bbd0091aa.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
97 B
368 B
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5a0ef85764746d0bbd0091aa.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
e832be11265d7211c4d6a39727d1f1dc0deb7225138ac6bb9627df33446b8477

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5a0ef85764746d0bbd0091aa.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 06:52:28 GMT
server
AkamaiNetStorage
etag
"18529802fc6a5d1e92de7afe937f15f1:1536562348.214747"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=226
accept-ranges
bytes
timing-allow-origin
* *
content-length
107
expires
Mon, 10 Sep 2018 14:32:23 GMT
bid
aax.amazon-adsystem.com/e/dtb/
33 B
212 B
Script
General
Full URL
https://aax.amazon-adsystem.com/e/dtb/bid?src=3128&u=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&cb=1047296&gdprl=%7B%22status%22%3A%22cmp-in-flight%22%7D
Requested by
Host: c.amazon-adsystem.com
URL: https://c.amazon-adsystem.com/aax2/amzn_ads.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.94.220.16 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
Software
Server /
Resource Hash
09def6ea73f714a8b6f63b7ad4f7ecb708df079c893598e06966df827efb7dc4

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Intervention
<https://www.chromestatus.com/feature/5718547946799104>; level="warning"

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Server
Server
Connection
keep-alive
Content-Length
33
Vary
User-Agent
Content-Type
text/javascript;charset=UTF-8
satellite-5a0ef80d64746d0bc600a756.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
153 B
398 B
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5a0ef80d64746d0bc600a756.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
949a8bb15f2ab2ba00ee6c0d6689f7bfb555c873b833b626ac666602fd88d227

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5a0ef80d64746d0bc600a756.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 06:52:29 GMT
server
AkamaiNetStorage
etag
"a498f4bc48298de88a8463c8fe9f1b0f:1536562349.249111"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=227
accept-ranges
bytes
timing-allow-origin
* *
content-length
135
expires
Mon, 10 Sep 2018 14:32:24 GMT
iam.js
script.ioam.de/
19 KB
7 KB
Script
General
Full URL
https://script.ioam.de/iam.js?m=1
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-57c58fcc64746d7a93007e3e.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
91.215.103.64 , Germany, ASN43407 (INFONLINE-AS, NL),
Reverse DNS
script3.ioam.de
Software
nginx / BLACKBIRD-SRC v0.9 0017
Resource Hash
1e2133170e649cfea51ed4afd733568930f2d4cc53961ed1fba84de58c2abd5b

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Mon, 10 Sep 2018 14:28:37 GMT
Server
nginx
X-Powered-By
BLACKBIRD-SRC v0.9 0017
Vary
Accept-Encoding
P3P
policyref=https://script.ioam.de/p3p.xml, CP=NOI DSP NID PSAa OUR NOR UNI COM NAV
Cache-Control
privat, max-age=7200, pre-check=7200
Transfer-Encoding
chunked
Connection
keep-alive
Content-Type
application/javascript
Expires
Mon, 10 Sep 2018 16:28:37 GMT
identitystatus
irqs.ioam.de/
25 B
203 B
XHR
General
Full URL
https://irqs.ioam.de/identitystatus?offerIdentifier=chip&siteIdentifier=downloads&sampleType=in&pixelType=CP&isFadeoutFlash=true&isFadeoutFrame=true&isFadeoutForm=true&positionTop=10&positionLeft=100&zIndex=1100000&c=0.8248663597230197
Requested by
Host: script.ioam.de
URL: https://script.ioam.de/iam.js?m=1
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
193.46.63.75 Bonn, Germany, ASN43407 (INFONLINE-AS, NL),
Reverse DNS
irqs.ioam.de
Software
nginx /
Resource Hash
9efa53ec1a261a8576a66a71befaf9d03c1a108aac36271f4599b87597b8a71e
Security Headers
Name Value
Strict-Transport-Security max-age=15768000

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
server
nginx
status
200
vary
Origin
content-type
application/vnd.api+json
access-control-allow-origin
https://www.chip.de
access-control-allow-credentials
true
strict-transport-security
max-age=15768000
blank.gif
de.ioam.de/
Redirect Chain
  • https://de.ioam.de/tx.io?cp=downloads&st=chip&sv=i2&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.chip.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=0017&i2=0017659504c9743ec5b967f95&ep=1561556011&vr=409&id=s9k4qs&lt=15...
  • https://de.ioam.de/tx.io?cp=downloads&st=chip&sv=i2&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.chip.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=0017&i2=0017659504c9743ec5b967f95&ep=1561556011&vr=409&id=s9k4qs&lt=15...
  • https://de.ioam.de/blank.gif
43 B
651 B
Image
General
Full URL
https://de.ioam.de/blank.gif
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
91.215.100.40 , Germany, ASN43407 (INFONLINE-AS, NL),
Reverse DNS
de4.ioam.de
Software
nginx /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
nginx
Access-Control-Allow-Methods
GET, POST, OPTIONS
P3P
policyref=https://script.ioam.de/p3p.xml, CP=NOI DSP NID PSAa OUR NOR UNI COM NAV
Access-Control-Allow-Origin
*
Cache-Control
max-age=86400
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
image/gif
Access-Control-Allow-Headers
DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Cookies
Content-Length
43
Expires
Tue, 11 Sep 2018 14:28:37 GMT

Redirect headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Access-Control-Allow-Origin
*
X-Powered-By
BLACKBIRD-RCV v1.04.6 0023
Transfer-Encoding
chunked
P3P
policyref=https://script.ioam.de/p3p.xml, CP=NOI DSP NID PSAa OUR NOR UNI COM NAV
Connection
keep-alive
Pragma
no-cache
Last-Modified
Mon, 10 Sep 2018 14:28:37 GMT
Server
nginx
Access-Control-Allow-Methods
GET, POST, OPTIONS
Content-Type
text/html
Location
/blank.gif
Cache-Control
no-store, no-cache, must-revalidate
Access-Control-Allow-Credentials
true
Access-Control-Allow-Headers
DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Cookies
Expires
Sun, 10 Sep 2017 14:28:37 GMT
hub.html
a.bf-tools.net/cmp/ Frame D109
0
0
Document
General
Full URL
https://a.bf-tools.net/cmp/hub.html
Requested by
Host: a.bf-tools.net
URL: https://a.bf-tools.net/cmp/cmp.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
2a02:26f0:6c00:28f::1142 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash

Request headers

Host
a.bf-tools.net
Connection
keep-alive
Pragma
no-cache
Cache-Control
no-cache
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Accept-Encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

Server
Apache
ETag
"2ee839a3b060ee26afa4a0b56891050a:1530611251"
Last-Modified
Tue, 03 Jul 2018 09:47:22 GMT
Accept-Ranges
bytes
Content-Type
text/html
Vary
Accept-Encoding
Content-Encoding
gzip
Cache-Control
max-age=900
Expires
Mon, 10 Sep 2018 14:43:37 GMT
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Length
5299
Connection
keep-alive
1.1.1.33-BF-RELEASE.chunk.js
a.bf-tools.net/cmp/
6 KB
3 KB
Script
General
Full URL
https://a.bf-tools.net/cmp/1.1.1.33-BF-RELEASE.chunk.js
Requested by
Host: a.bf-tools.net
URL: https://a.bf-tools.net/cmp/cmp.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
2a02:26f0:6c00:28f::1142 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
872a89b71125b119ae4d455f15ca37c270a0702070ea4a9b10af70022210d2a7

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Tue, 03 Jul 2018 09:47:22 GMT
Server
Apache
ETag
"c33e5fbfedd866c220a8c4fe54cdd90c:1530611250"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
2388
Expires
Mon, 10 Sep 2018 14:43:37 GMT
0.1.1.33-BF-RELEASE.chunk.js
a.bf-tools.net/cmp/
35 KB
10 KB
Script
General
Full URL
https://a.bf-tools.net/cmp/0.1.1.33-BF-RELEASE.chunk.js
Requested by
Host: a.bf-tools.net
URL: https://a.bf-tools.net/cmp/cmp.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
2a02:26f0:6c00:28f::1142 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
1bfb94c4c4ed58fa8d0c81006a568c3f4d7efc4c453c58b11115ad6cf57d8e87

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Tue, 03 Jul 2018 09:47:22 GMT
Server
Apache
ETag
"b8a9e3acad393aa4ed16e622afc946fb:1530611250"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
9442
Expires
Mon, 10 Sep 2018 14:43:37 GMT
de.js
a.bf-tools.net/de/
3 KB
2 KB
Script
General
Full URL
https://a.bf-tools.net/de/de.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
2a02:26f0:6c00:284::1142 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
027b0dddbb2d6e00584e3159aef14a2859f06a0c47621b166523e57752307a4d

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Mon, 27 Aug 2018 15:12:51 GMT
Server
Apache
ETag
"db2fb2658b1ab90036ba7b191bf95566:1535382772"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
1561
Expires
Mon, 10 Sep 2018 14:43:37 GMT
18
videos.chip.de/p/1741931/thumbnail/entry_id/1_fm6che7o/width/640/height/360/
61 KB
62 KB
Image
General
Full URL
https://videos.chip.de/p/1741931/thumbnail/entry_id/1_fm6che7o/width/640/height/360/18
Requested by
Host: ad-js.chip.de
URL: https://ad-js.chip.de/js/chip/9232.min.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
0518773189fca34853eacbdd0915182e0a8942372199a109e7fb2a46e51374c9

Request headers

:path
/p/1741931/thumbnail/entry_id/1_fm6che7o/width/640/height/360/18
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
image/webp,image/apng,image/*,*/*;q=0.8
cache-control
no-cache
:authority
videos.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

x-kaltura
cached-dispatcher-thumb
x-me
ny-front-thumb1
date
Mon, 10 Sep 2018 14:28:37 GMT
x-vod-session
450913213
status
200
content-length
62800
pragma
last-modified
Wed, 07 Mar 2018 16:18:34 GMT
server
nginx
vary
Accept-Encoding
x-vod-me
ny-front-vod10
content-type
image/jpeg
access-control-allow-origin
*
cache-control
public, max-age=3503
accept-ranges
bytes
expires
Mon, 10 Sep 2018 15:27:00 GMT
adengine.js
a.bf-ad.net/pubjs/chip/
158 KB
41 KB
Script
General
Full URL
https://a.bf-ad.net/pubjs/chip/adengine.js
Requested by
Host: ad-js.chip.de
URL: https://ad-js.chip.de/js/chip/9232.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:292::30fb , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
0d5dfd3690fb26eac90d5cfd9c75552a5f66766ed516fc5feb051bf1440bfdc4

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 14:29:34 GMT
Server
Apache
ETag
"fbb9a13b44c0f26711947a93ab6d5802:1536244177"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Transfer-Encoding
chunked
Connection
keep-alive, Transfer-Encoding
Accept-Ranges
bytes
Expires
Mon, 10 Sep 2018 14:43:37 GMT
adsbygoogle.js
pagead2.googlesyndication.com/pagead/js/
73 KB
27 KB
Script
General
Full URL
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Requested by
Host: ad-js.chip.de
URL: https://ad-js.chip.de/js/chip/9232.min.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:824::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
95f1c67bdd3a0fcd6a4aaea0916b983b178990c126296fd82f894f05bd040dca
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
x-content-type-options
nosniff
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
27327
x-xss-protection
1; mode=block
server
cafe
etag
17011873601431810916
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
private, max-age=3600
timing-allow-origin
*
expires
Mon, 10 Sep 2018 14:28:37 GMT
c8c3489e-f329-40e8-bcfc-1f852e512b01-1.0.js
d3alqb8vzo7fun.cloudfront.net/
145 KB
39 KB
Script
General
Full URL
https://d3alqb8vzo7fun.cloudfront.net/c8c3489e-f329-40e8-bcfc-1f852e512b01-1.0.js
Requested by
Host: a.bf-tools.net
URL: https://a.bf-tools.net/de/de.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.146.214 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-146-214.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
db8556e4c9fd6ef2cbf3f6802335c822229cb816980c6b0f3b16a92214f88aa2

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 13:43:49 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 13:43:31 GMT
server
AmazonS3
age
289
vary
Accept-Encoding
x-cache
Hit from cloudfront
content-type
application/x-javascript
status
200
cache-control
max-age=300
x-amz-cf-id
45CFCB1lbNP6w3eSXpYa3ap8WDN8Q5roJB10s4oyV-gqSdW8taLlCQ==
via
1.1 22e8ec6be29eb9755e0a8dfac5944c51.cloudfront.net (CloudFront)
main.3c21256c0e9dc3aaa93f.css
filestorage.chip.de/videoplayer/stylesheets/
71 KB
19 KB
Stylesheet
General
Full URL
https://filestorage.chip.de/videoplayer/stylesheets/main.3c21256c0e9dc3aaa93f.css
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/bootstrap.3c21256c0e9dc3aaa93f.bundle.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
38ea6fa80f05fd43cbeeef4410f1cfc6cd309cff879a782519735a7585654e6c

Request headers

:path
/videoplayer/stylesheets/main.3c21256c0e9dc3aaa93f.css
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/css,*/*;q=0.1
cache-control
no-cache
:authority
filestorage.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Thu, 06 Sep 2018 12:02:17 GMT
server
Apache
status
200
etag
"4ec5205e2bd0a5d87db7f7d9e0a0677b:1536235337"
vary
Accept-Encoding
access-control-allow-methods
GET,POST
content-type
text/css
access-control-allow-origin
*
access-control-max-age
86400
access-control-allow-credentials
false
accept-ranges
bytes
access-control-allow-headers
*
content-length
19448
truncated
/
59 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
0ddda9839c0f03c7cc800154368af8a65eeef1ad60c70559fa784d30f21b1165

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/svg+xml;charset=utf-8
videoplayer.3c21256c0e9dc3aaa93f.bundle.js
filestorage.chip.de/videoplayer/
388 KB
103 KB
Script
General
Full URL
https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/bootstrap.3c21256c0e9dc3aaa93f.bundle.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
acb5bb4213314a2c2f339557c140ffd7febc186871522dc82b0f0580f979e6c4

Request headers

:path
/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
filestorage.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Thu, 06 Sep 2018 12:02:16 GMT
server
Apache
status
200
etag
"e391be6f544205a3e8113dacf38f68fc:1536235336"
vary
Accept-Encoding
access-control-allow-methods
GET,POST
content-type
application/x-javascript
access-control-allow-origin
*
access-control-max-age
86400
access-control-allow-credentials
false
accept-ranges
bytes
access-control-allow-headers
*
gpt.js
www.googletagservices.com/tag/js/
20 KB
8 KB
Script
General
Full URL
https://www.googletagservices.com/tag/js/gpt.js
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:81e::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
dc87a2442d1fb08192d768befada253e79bb82af3d77c2827f260cba9ea0bf7f
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"8 / 201 of 1000 / last-modified: 1536353385"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=900, stale-while-revalidate=3600
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
7849
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:37 GMT
bfa_infolayer_styles.css
a.bf-ad.net/packages/info-layer/chip/
1 KB
888 B
Stylesheet
General
Full URL
https://a.bf-ad.net/packages/info-layer/chip/bfa_infolayer_styles.css
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:292::30fb , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
a6a1913cb604f6626586e00b44f3d5a9efd6929752a59b87366d5f0ca70d39e4

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Fri, 13 Jul 2018 08:51:06 GMT
Server
Apache
ETag
"13446150d29adab64935a3c98d18ac19:1531471867"
Vary
Accept-Encoding
Content-Type
text/css
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
511
Expires
Mon, 10 Sep 2018 14:43:37 GMT
bfa_infolayer.js
a.bf-ad.net/packages/info-layer/chip/
6 KB
2 KB
Script
General
Full URL
https://a.bf-ad.net/packages/info-layer/chip/bfa_infolayer.js
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:292::30fb , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
98cab46844c5321e2681b64894ea3545cf9b80d86f41400ec60d015d57b02f06

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Fri, 13 Jul 2018 08:51:06 GMT
Server
Apache
ETag
"4691f031530ac829a2d7ca74911f8211:1531471867"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
1986
Expires
Mon, 10 Sep 2018 14:43:37 GMT
config.js
cdn.conative.de/serve/domain/chip_de/
61 KB
8 KB
Script
General
Full URL
https://cdn.conative.de/serve/domain/chip_de/config.js
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.61 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-61.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
943e0dc9bd434fc272621a73673894ab9a32a4acc68a96809ed2da7585eee780

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 04:20:29 GMT
Content-Encoding
gzip
Last-Modified
Mon, 10 Sep 2018 02:35:19 GMT
Server
AmazonS3
Age
224
Vary
Accept-Encoding
X-Cache
Hit from cloudfront
Content-Type
application/javascript
Via
1.1 59c171b9abb6b3c58e72495c539dfa68.cloudfront.net (CloudFront)
Cache-Control
max-age=1800
Transfer-Encoding
chunked
x-amz-tagging-count
1
Connection
keep-alive
X-Amz-Cf-Id
cRwVtDcyzNYGZVAsAf8nfHEkXOn8SdcP9qIfCmzsKAX6idckbVYmYg==
default.js
ups.xplosion.de/loader/91628/
2 KB
2 KB
Script
General
Full URL
https://ups.xplosion.de/loader/91628/default.js?xplrdir=1
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.18.166.37 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-18-166-37.eu-west-1.compute.amazonaws.com
Software
Apache-Coyote/1.1 /
Resource Hash
c927695a6166edbfb66984db84b2913dcc6da4c9af0c0072dfd3807e660cd5b6

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Server
Apache-Coyote/1.1
P3P
CP="NOI DSP COR NID PSAo OUR SAMo BUS"
Access-Control-Allow-Origin
*
Cache-Control
must-revalidate,no-cache,no-store
Connection
keep-alive
Content-Type
text/javascript
Content-Length
1544
/
partners.wfxtriggers.com/json/
231 B
385 B
Script
General
Full URL
https://partners.wfxtriggers.com/json/?resp_type=json&acctid=U87CFV&current=true&df=1,2,3&callback=jsonpCallback
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.208.52.41 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-208-52-41.eu-west-1.compute.amazonaws.com
Software
openresty/1.7.7.1 /
Resource Hash
8de1e71fbe6b18721745691e4bc988068868564fcc74de2e9cdb05402d9f20eb

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Server
openresty/1.7.7.1
Connection
keep-alive
Content-Length
231
Content-Type
text/plain
129347
ad.yieldlab.net/yp/
2 B
1 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/129347?json=true&ts=7221752080697&t=permutive%3Dnull&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
22
Expires
Sun, 09 Sep 2018 14:28:37 GMT
cdb
bidder.criteo.com/
0
185 B
XHR
General
Full URL
https://bidder.criteo.com/cdb?profileId=208&cb=8481717704815
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_256_CBC
Server
178.250.0.93 , France, ASN44788 (ASN-CRITEO-EUROPE, FR),
Reverse DNS
Software
Finatra /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

Access-Control-Allow-Origin
https://www.chip.de
Date
Mon, 10 Sep 2018 14:28:37 GMT
Access-Control-Allow-Credentials
true
Server
Finatra
Vary
Origin
678257
ad.yieldlab.net/yp/
2 B
892 B
XHR
General
Full URL
https://ad.yieldlab.net/yp/678257?json=true&ts=2506151356363
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
22
Expires
Sun, 09 Sep 2018 14:28:37 GMT
910234
ad.yieldlab.net/yp/
2 B
892 B
XHR
General
Full URL
https://ad.yieldlab.net/yp/910234?json=true&ts=4554194130620
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
22
Expires
Sun, 09 Sep 2018 14:28:37 GMT
bid
d.nativendo.de/cds/rtb/
167 B
785 B
XHR
General
Full URL
https://d.nativendo.de/cds/rtb/bid?url=https://www.chip.de/downloads/Android-File-Transfer_53192185.html&format=burdaforward
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
107.178.241.34 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
34.241.178.107.bc.googleusercontent.com
Software
Apache /
Resource Hash
be923a4db5597031f5e3189d0ceee2a71b4faddb7c20ed8ec90b6cbd80140a7b

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
access-control-allow-origin
https://www.chip.de
status
200
alt-svc
clear
content-length
143
pragma
no-cache
last-modified
Mon, 10 Sep 2018 14:28:37 GMT
server
Apache
vary
Accept-Encoding
access-control-allow-methods
POST, GET, OPTIONS
content-type
text/javascript; charset=utf8
via
1.1 google
cache-control
no-transform, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
access-control-allow-credentials
true
access-control-allow-headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
expires
Sat, 26 Jul 1997 05:00:00 GMT
auction
tlx.3lift.com/header/
19 B
769 B
XHR
General
Full URL
https://tlx.3lift.com/header/auction?inv_code=chip_right_rail&wrap=1&referrer=www.chip.de%2F%3F&size=300x250
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
18.185.168.60 Cambridge, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-18-185-168-60.eu-central-1.compute.amazonaws.com
Software
/
Resource Hash
0535c3bb3a17e4ac0fb7d29214d2181275662129dc2bdd2a89c35934e9fc5ba5
Security Headers
Name Value
X-Xss-Protection 0

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:37 GMT
x-auction-status
9
P3P
policyref="http://cdn.3lift.com/w3c/p3p.xml", CP="NON DSP COR NID OUR DEL SAM OTR UNR COM NAV INT DEM CNT STA PRE LOC OTC"
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
Connection
keep-alive
content-type
application/json; charset=utf-8
Content-Length
19
X-XSS-Protection
0
expires
Thu, 15 Oct 1992 20:10:00 GMT
placementbid.json
an.facebook.com/v2/
153 B
1 KB
XHR
General
Full URL
https://an.facebook.com/v2/placementbid.json?sdk=5.5.web&placementids[]=1934796273427415_1954754558098253&adformats[]=300x250
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a03:2880:f01c:800e:face:b00c:0:2 , Ireland, ASN32934 (FACEBOOK - Facebook, Inc., US),
Reverse DNS
Software
/
Resource Hash
0b83e579e58877029429493de2f98c28025164977fd48f763789f6bbab6b4e2c
Security Headers
Name Value
Content-Security-Policy default-src * data: blob:;script-src *.facebook.com *.fbcdn.net *.facebook.net *.google-analytics.com *.virtualearth.net *.google.com 127.0.0.1:* *.spotilocal.com:* 'unsafe-inline' 'unsafe-eval' *.atlassolutions.com blob: data: 'self';style-src data: blob: 'unsafe-inline' *;connect-src *.facebook.com facebook.com *.fbcdn.net *.facebook.net *.spotilocal.com:* wss://*.facebook.com:* https://fb.scanandcleanlocal.com:* *.atlassolutions.com attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self' chrome-extension://boadgeojelhgndaghljhdicfkmllpafd chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm;
Strict-Transport-Security max-age=15552000; preload
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 0

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

strict-transport-security
max-age=15552000; preload
content-encoding
gzip
x-fb-an-request-id
4672989906985465545
x-fb-an-errors
No user match (are cookies passed, and user logged in?)
status
200
x-xss-protection
0
pragma
no-cache
x-fb-debug
B0QfkH2aA749/rYpd947TneCSHNJC3BXbcYvxx8Y4btNovHmN4iHqsXJgV9WupYlGE7R4jDw/xOKELRf1wvaAg==
x-frame-options
DENY
date
Mon, 10 Sep 2018 14:28:37 GMT
expect-ct
max-age=86400, report-uri="http://reports.fb.com/expectct/"
vary
Accept-Encoding
content-type
text/javascript; charset=utf-8
access-control-allow-origin
https://www.chip.de
access-control-expose-headers
X-FB-AN-Request-ID, X-FB-AN-Errors, X-FB-AN-Bid-Count
cache-control
private, no-cache, no-store, must-revalidate
access-control-allow-credentials
true
content-security-policy
default-src * data: blob:;script-src *.facebook.com *.fbcdn.net *.facebook.net *.google-analytics.com *.virtualearth.net *.google.com 127.0.0.1:* *.spotilocal.com:* 'unsafe-inline' 'unsafe-eval' *.atlassolutions.com blob: data: 'self';style-src data: blob: 'unsafe-inline' *;connect-src *.facebook.com facebook.com *.fbcdn.net *.facebook.net *.spotilocal.com:* wss://*.facebook.com:* https://fb.scanandcleanlocal.com:* *.atlassolutions.com attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self' chrome-extension://boadgeojelhgndaghljhdicfkmllpafd chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm;
x-content-type-options
nosniff
expires
Sat, 01 Jan 2000 00:00:00 GMT
ads
des.smartclip.net/
2 KB
1 KB
Script
General
Full URL
https://des.smartclip.net/ads?type=dyn&plc=92747&sz=400x320&ress=downloads&elementId=sc_dummy&ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&rnd=38116368
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.30.15.212 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-30-15-212.eu-west-1.compute.amazonaws.com
Software
nginx/1.13.12 /
Resource Hash
5048a2504c4315733dedf71143207a64faef50f62eea07f4d6fd1d9cdd1d99d7

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Sc-Uuid
49dd650f-f543-4c51-862c-18eb86ce1396
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Server
nginx/1.13.12
Vary
Accept-Encoding
P3P
CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
Sc-Devicetype
PC
Transfer-Encoding
chunked
Connection
keep-alive
Access-Control-Allow-Credentials
true
Content-Type
application/x-javascript; charset=utf-8
CHIP_Software_Deals_300x150.jpg
www.chip.de/download/assets/img/deals/
30 KB
30 KB
Image
General
Full URL
https://www.chip.de/download/assets/img/deals/CHIP_Software_Deals_300x150.jpg
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
1c86b047f9e6428cfbe4abc895303df8d2aad721d57136ec053476582d319226

Request headers

:path
/download/assets/img/deals/CHIP_Software_Deals_300x150.jpg
pragma
no-cache
cookie
AB_SegmentNew=sourcepoint; AB_countNew=first; POPUPCHECK=1536676117431; oil_data={%22opt_in%22:true%2C%22timestamp%22:1536589717525%2C%22version%22:%221.1.33-BF-RELEASE%22%2C%22localeVariantName%22:%22bf%22%2C%22localeVariantVersion%22:0%2C%22privacy%22:{%221%22:true%2C%222%22:true%2C%223%22:true%2C%224%22:true%2C%225%22:true}}; chip_digital_session=1
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
image/webp,image/apng,image/*,*/*;q=0.8
cache-control
no-cache
:authority
www.chip.de
referer
https://www.chip.de/download/assets/download-v1.5.9.css
:scheme
https
:method
GET
Referer
https://www.chip.de/download/assets/download-v1.5.9.css
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Fri, 09 Mar 2018 09:05:27 GMT
server
nginx
vary
Accept-Encoding
content-type
image/jpeg
status
200
cache-control
public, max-age=26144088
accept-ranges
bytes
ssl
YES
content-length
30928
expires
Wed, 10 Jul 2019 04:43:25 GMT
truncated
/
305 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
323b3e828035a91dc4ebbdb9a38a2220d08404131f815649f83f2be870f40b60

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/svg+xml
truncated
/
726 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
adb39c104018084189bf781785cfcb0ec458b3716a465201c4e53b3361e5d119

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/svg+xml
integrator.js
adservice.google.de/adsid/
109 B
171 B
Script
General
Full URL
https://adservice.google.de/adsid/integrator.js?domain=www.chip.de
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:824::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

timing-allow-origin
*
date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
cafe
p3p
CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657 for more info."
status
200
cache-control
private, no-cache, no-store
content-disposition
attachment; filename="f.txt"
content-type
application/javascript; charset=UTF-8
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
104
x-xss-protection
1; mode=block
integrator.js
adservice.google.com/adsid/
109 B
171 B
Script
General
Full URL
https://adservice.google.com/adsid/integrator.js?domain=www.chip.de
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:81e::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

timing-allow-origin
*
date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
cafe
p3p
CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657 for more info."
status
200
cache-control
private, no-cache, no-store
content-disposition
attachment; filename="f.txt"
content-type
application/javascript; charset=UTF-8
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
104
x-xss-protection
1; mode=block
truncated
/
600 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
59eef289b63cafa1d3889e072a1cfefa5f7bf785b525eabcf3aef0002cb5533a

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/svg+xml
obtp.js
amplify.outbrain.com/cp/
4 KB
2 KB
Script
General
Full URL
https://amplify.outbrain.com/cp/obtp.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.234.190 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-234-190.deploy.static.akamaitechnologies.com
Software
Apache /
Resource Hash
26c9c2ffd3d4ea43b62a3ac326dc386049bf49048f038e051f684dee2e4d88ca

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Last-Modified
Mon, 11 Jun 2018 12:03:56 GMT
Server
Apache
ETag
"41f04bc9320bf2f0fe4cc3cbd05a460c:1528718636"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Cache-Control
max-age=1200
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
1928
Expires
Mon, 10 Sep 2018 14:48:37 GMT
27574,90624,487835,487815,2355058,2456119
ad.yieldlab.net/yp/
490 B
2 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/27574,90624,487835,487815,2355058,2456119?json=true&ts=4526119894180&t=permutive%3Dnull&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
409b714f0c6bd1cc832bf33ac83011cafe1e12b03e8412172275d29cf515ec65

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
219
Expires
Sun, 09 Sep 2018 14:28:37 GMT
898200,910039,910040
ad.yieldlab.net/yp/
2 B
1 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/898200,910039,910040?json=true&ts=6196209748288
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
22
Expires
Sun, 09 Sep 2018 14:28:37 GMT
prebid
ib.adnxs.com/ut/v3/
21 B
710 B
XHR
General
Full URL
https://ib.adnxs.com/ut/v3/prebid
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
185.33.223.197 , European Union, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
Software
nginx/1.13.4 /
Resource Hash
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:39 GMT
X-Proxy-Origin
148.251.45.254; 148.251.45.254; 302.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.220.69:80
AN-X-Request-Uuid
1d440a34-67bf-4176-86d2-47b6101fad93
Server
nginx/1.13.4
P3P
policyref="http://cdn.adnxs.com/w3c/policy/p3p.xml", CP="NOI DSP COR ADM PSAo PSDo OURo SAMo UNRo OTRo BUS COM NAV DEM STA PRE"
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json; charset=utf-8
Content-Length
21
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
pubads_impl_246.js
securepubads.g.doubleclick.net/gpt/
183 KB
63 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
sffe /
Resource Hash
694834f00526512ca65046c4b7519d2a100560cd871455f2246f0393ba567fcd
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Tue, 04 Sep 2018 15:46:36 GMT
server
sffe
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, immutable, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
64687
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:37 GMT
truncated
/
4 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
870e27cad33d8dc47d855e12048aad477184ca7d45b5b6812f70ffc2b34b1649

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/png
truncated
/
28 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
355ec6061c7818c5ac4e7d1d9cb56965255a632ba0d5fb49976d8c86024cc049

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/jpeg
adscript.min.js
cdn.conative.de/artifacts-v2/43c6f871a3c1f0d8b2e0b0441d77d17a47c6dc7a/
227 KB
64 KB
Script
General
Full URL
https://cdn.conative.de/artifacts-v2/43c6f871a3c1f0d8b2e0b0441d77d17a47c6dc7a/adscript.min.js
Requested by
Host: cdn.conative.de
URL: https://cdn.conative.de/serve/domain/chip_de/config.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.61 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-61.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
aa7b7560ae2a84c1b82ea3606755598e7e171d827634472fa54f75743327b3ae

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Fri, 31 Aug 2018 17:08:29 GMT
Content-Encoding
gzip
Last-Modified
Fri, 31 Aug 2018 17:06:40 GMT
Server
AmazonS3
Age
854409
Vary
Accept-Encoding
X-Cache
Hit from cloudfront
Content-Type
application/javascript
Via
1.1 59c171b9abb6b3c58e72495c539dfa68.cloudfront.net (CloudFront)
Cache-Control
public,max-age=31536000
Transfer-Encoding
chunked
Connection
keep-alive
X-Amz-Cf-Id
1OIJ-_vpHwb9rATSCZZnARRYPfy8S0wxNOPYQjWm2Jc4jfv-yB8POQ==
pixel
tr.outbrain.com/
43 B
167 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=002940522530083456
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.912438,VS0,VE96
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8138-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.38
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=002940522530083456
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
167 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=05477324005021862
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.912841,VS0,VE104
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8122-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.22
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=05477324005021862
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
158 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=001108795499103632
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.912411,VS0,VE93
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8142-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.42
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=001108795499103632
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
158 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=09757537250812369
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.912446,VS0,VE99
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8147-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.47
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=09757537250812369
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
321 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=0030514471363813467
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.912849,VS0,VE91
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8133-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.33
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=0030514471363813467
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
158 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=020326163457171842
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.003108,VS0,VE101
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8127-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.27
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=020326163457171842
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
135 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=041442683307506134
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.064184,VS0,VE104
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8122-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.22
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=041442683307506134
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
pixel
tr.outbrain.com/
43 B
116 B
Image
General
Full URL
https://tr.outbrain.com/pixel?marketerId=00057ca5dbe399df9cce707e0cb533aa0b&obApiVersion=1.0.10&name=PAGE_VIEW&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=0979531739685074
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.134.2 San Francisco, United States, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

strict-transport-security
max-age=0; includeSubDomains;
content-encoding
gzip
traffic-path
NYDC1, JFK, MAD, Europe1
x-timer
S1536589718.064689,VS0,VE91
date
Mon, 10 Sep 2018 14:28:38 GMT
x-served-by
cache-jfk8133-JFK, cache-mad9431-MAD
x-cache
MISS, MISS
content-type
image/gif;
status
200
cache-control
no-cache
backend-ip
104.156.90.33
accept-ranges
bytes, bytes
via
1.1 varnish, 1.1 varnish
x-cache-hits
0, 0
pixel
amplifypixel.outbrain.com/
43 B
288 B
Image
General
Full URL
https://amplifypixel.outbrain.com/pixel?mid=00057ca5dbe399df9cce707e0cb533aa0b&dl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&bust=0979531739685074
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
64.202.112.28 , United States, ASN23352 (SERVERCENTRAL - Server Central Network, US),
Reverse DNS
chi-only.outbrain.org
Software
/
Resource Hash
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
Security Headers
Name Value
Strict-Transport-Security max-age=0; includeSubDomains;

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
no-cache
Transfer-Encoding
chunked
Content-Encoding
gzip
Strict-Transport-Security
max-age=0; includeSubDomains;
Content-Type
image/gif;
/
dco.smartclip.net/
353 KB
108 KB
Script
General
Full URL
https://dco.smartclip.net/?plc=92747
Requested by
Host: des.smartclip.net
URL: https://des.smartclip.net/ads?type=dyn&plc=92747&sz=400x320&ress=downloads&elementId=sc_dummy&ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&rnd=38116368
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2600:9000:2047:fe00:9:e42d:cc80:93a1 , United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
Software
nginx/1.12.2 / PHP/7.1.11
Resource Hash
62763330432501cee46b4603a4321372108b05fbc083850bed4585f99739cf90

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 11:32:20 GMT
content-encoding
gzip
server
nginx/1.12.2
age
10578
status
200
x-powered-by
PHP/7.1.11
vary
Accept-Encoding
x-cache
Hit from cloudfront
content-type
application/x-javascript
access-control-allow-origin
*
x-amz-cf-id
12RMQfwn2A6TLPK7w3cYFnWtyXsQBo85ZTrwQftkNGQa7YpRddyQow==
via
1.1 ec6662ba477736a13086dd664a1145be.cloudfront.net (CloudFront)
p.min.js
cdn.emetriq.de/adp/profiling/0.1.13/
4 KB
2 KB
Script
General
Full URL
https://cdn.emetriq.de/adp/profiling/0.1.13/p.min.js
Requested by
Host: ups.xplosion.de
URL: https://ups.xplosion.de/loader/91628/default.js?xplrdir=1
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2600:9000:2047:ca00:1c:8c89:a300:93a1 , United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
03f56c523e42f36e912b7109c0a97e43703d78c0884f59c07ff115e590e9fd7f

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Wed, 31 May 2017 11:06:08 GMT
content-encoding
gzip
last-modified
Tue, 11 Apr 2017 11:21:30 GMT
server
AmazonS3
age
25454662
vary
Accept-Encoding
x-cache
Hit from cloudfront
x-amz-version-id
FiFeAFfpoMZPPyU16IPZd0oUAvReA_Mm
status
200
cache-control
max-age=31536000, no-transform, public
content-type
application/javascript; charset=utf-8
x-amz-cf-id
0lehvQyyJEjlzQtUa1VNOj3R9B8z_Ycz7hSGvS1JXjawE3YMCdfsyQ==
via
1.1 67284fcf464f6f1529cc1e521669622c.cloudfront.net (CloudFront)
MarselisSlabWeb.woff2
www.chip.de/fec/assets/font/
27 KB
27 KB
Font
General
Full URL
https://www.chip.de/fec/assets/font/MarselisSlabWeb.woff2
Requested by
Host: www.chip.de
URL: https://www.chip.de/download/assets/hook-v1.5.9.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
92a1b0df334580a9784edb23c8b77fb0d9d617122cd953c4dc3c8c32b29d9f75

Request headers

:path
/fec/assets/font/MarselisSlabWeb.woff2
pragma
no-cache
cookie
AB_SegmentNew=sourcepoint; AB_countNew=first; POPUPCHECK=1536676117431; oil_data={%22opt_in%22:true%2C%22timestamp%22:1536589717525%2C%22version%22:%221.1.33-BF-RELEASE%22%2C%22localeVariantName%22:%22bf%22%2C%22localeVariantVersion%22:0%2C%22privacy%22:{%221%22:true%2C%222%22:true%2C%223%22:true%2C%224%22:true%2C%225%22:true}}; chip_digital_session=1; tfm_uid=Opo9UIvNFs1XGERHQOc5BgwMAhy3rKp7
origin
https://www.chip.de
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
www.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 13 Jun 2018 11:41:12 GMT
server
nginx
status
200
vary
Accept-Encoding
content-type
application/font-woff2
access-control-allow-origin
*
cache-control
public, max-age=408
accept-ranges
bytes
ssl
YES
content-length
27813
expires
Mon, 10 Sep 2018 14:35:25 GMT
3837cbf51f30a08c.jpg
www.chip.de/ii/1/3/7/2/5/9/0/7/
37 KB
32 KB
Image
General
Full URL
https://www.chip.de/ii/1/3/7/2/5/9/0/7/3837cbf51f30a08c.jpg
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
b015b0cf826bfaa0ead29ba2dcaa3d7b32f802257b192d9518ab86ca836b5a38

Request headers

:path
/ii/1/3/7/2/5/9/0/7/3837cbf51f30a08c.jpg
pragma
no-cache
cookie
AB_SegmentNew=sourcepoint; AB_countNew=first; POPUPCHECK=1536676117431; oil_data={%22opt_in%22:true%2C%22timestamp%22:1536589717525%2C%22version%22:%221.1.33-BF-RELEASE%22%2C%22localeVariantName%22:%22bf%22%2C%22localeVariantVersion%22:0%2C%22privacy%22:{%221%22:true%2C%222%22:true%2C%223%22:true%2C%224%22:true%2C%225%22:true}}; chip_digital_session=1; tfm_uid=Opo9UIvNFs1XGERHQOc5BgwMAhy3rKp7; CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
image/webp,image/apng,image/*,*/*;q=0.8
cache-control
no-cache
:authority
www.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
last-modified
Wed, 07 Mar 2018 15:37:58 GMT
server
nginx
vary
Accept-Encoding
content-type
image/jpeg
status
200
cache-control
public, max-age=15383838
accept-ranges
bytes
ssl
YES
content-length
32446
expires
Thu, 07 Mar 2019 15:45:56 GMT
satellite-5a1fc54664746d108e0025fa.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
1 KB
823 B
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5a1fc54664746d108e0025fa.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
9ce0815e04e67d2dde584322db795c23301b0794797fbcd84210d49bc89ad28a

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5a1fc54664746d108e0025fa.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 05 Sep 2018 12:29:27 GMT
server
AkamaiNetStorage
etag
"1bbd204641533bb6cd622e5d702269da:1536150567.867984"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=152
accept-ranges
bytes
timing-allow-origin
*
content-length
578
expires
Mon, 10 Sep 2018 14:31:09 GMT
satellite-57ad808c64746d3e8d000ef0.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
12 KB
4 KB
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-57ad808c64746d3e8d000ef0.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
2ac0bda221cfdc311f691f5b9fa2729efdfdb485f16e54f8089c3fc3ef50d354

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-57ad808c64746d3e8d000ef0.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 05 Sep 2018 12:29:25 GMT
server
AkamaiNetStorage
etag
"5e1418055bacf3067ad47441e9bbbf43:1536150565.490841"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=240
accept-ranges
bytes
timing-allow-origin
*
content-length
3573
expires
Mon, 10 Sep 2018 14:32:37 GMT
satellite-5b6c0da664746d2bdc0043ab.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
1 KB
947 B
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5b6c0da664746d2bdc0043ab.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
a92618a39ca0b874fe2c10608c9ccb1da20fe96cdd6ba1bee086179e3743dc22

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5b6c0da664746d2bdc0043ab.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 05 Sep 2018 12:29:24 GMT
server
AkamaiNetStorage
etag
"0808ee9a4fae157c2a5006ba2acd7dde:1536150564.293798"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=129
accept-ranges
bytes
timing-allow-origin
*
content-length
703
expires
Mon, 10 Sep 2018 14:30:46 GMT
s-code-contents-3fc54c0d5404f54efff3418f68e36a29132e0b15.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/
35 KB
13 KB
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/s-code-contents-3fc54c0d5404f54efff3418f68e36a29132e0b15.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
13d01a91a2551b2330cd623855b2adcda9f371d720eb02ef3adcf3a5dbffcf6a

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/s-code-contents-3fc54c0d5404f54efff3418f68e36a29132e0b15.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Wed, 05 Sep 2018 12:29:22 GMT
server
AkamaiNetStorage
etag
"02ca1a570d3d888e83ac86b30c9aeb8d:1536150562.004663"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=110
accept-ranges
bytes
timing-allow-origin
*
content-length
13386
expires
Mon, 10 Sep 2018 14:30:27 GMT
satellite-58b3dec264746d7415009f7b.js
adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/
97 B
376 B
Script
General
Full URL
https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-58b3dec264746d7415009f7b.js
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
AkamaiNetStorage /
Resource Hash
96462e773b00c01a79cd885a78e923ea67fe8765c6d1ba38410133b222b34c71

Request headers

:path
/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-58b3dec264746d7415009f7b.js
pragma
no-cache
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
adtm.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:37 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 06:52:24 GMT
server
AkamaiNetStorage
etag
"f9e6fb38072864f7c23cb0a6b27cc98f:1536562344.81255"
vary
Accept-Encoding
content-type
application/x-javascript
status
200
cache-control
max-age=35
accept-ranges
bytes
timing-allow-origin
* *
content-length
115
expires
Mon, 10 Sep 2018 14:29:12 GMT
front.asp
k.intellitxt.com/intellitxt/
2 KB
1 KB
Script
General
Full URL
https://k.intellitxt.com/intellitxt/front.asp?ipid=5154
Requested by
Host: ad-js.chip.de
URL: https://ad-js.chip.de/js/chip/9232.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
31.24.80.101 , United Kingdom, ASN56464 (VIBRANT-EU, GB),
Reverse DNS
Software
nginx / Kormorant
Resource Hash
3c46f11abb9fedf9ac6759180dfd4f443efa54aad2ca0b73efbb7e1b59aa750a

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
Server
nginx
X-Powered-By
Kormorant
Vary
Accept-Encoding, *
Content-Type
application/javascript; charset=utf-8
Cache-Control
private, no-cache, no-store, must-revalidate, proxy-revalidate, max-age=0
Transfer-Encoding
chunked
Connection
keep-alive
Expires
Fri, 08 Jan 2016 00:00:00 GMT
collect
rt.chip.de/
35 B
391 B
Image
General
Full URL
https://rt.chip.de/collect?t=live.track&cachebust=jlwduefq&rnd=2acc3312-7820-487c-8965-56cd4436c5ab&ran=2acc3312-7820-487c-8965-56cd4436c5ab&14=7350&uid=0.28632896932745&ref=&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&tit=android%20file%20transfer&id=13725907&bart=Downloads_Updates&layout=c1_downloads&ch=downloads&sch=macos&ssch=n%2Fa&ivw=downloads&mob=stationaer&aut=michael%20humpa&can=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
46.137.113.194 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-46-137-113-194.eu-west-1.compute.amazonaws.com
Software
nginx/1.7.9 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Pragma
no-cache
Accept-Encoding
gzip, deflate
Host
rt.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
image/webp,image/apng,image/*,*/*;q=0.8
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964
Connection
keep-alive
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
Last-Modified
Sun, 17 May 1998 03:00:00 GMT
Server
nginx/1.7.9
Content-Type
image/gif
Cache-Control
private, no-cache, no-cache=Set-Cookie, proxy-revalidate
Connection
keep-alive
Content-Length
35
Expires
Mon, 07 Aug 1995 23:30:00 GMT
DG6LL-C2K3J-45PG2-VMF2Q-KM6V9
s.go-mpulse.net/boomerang/ Frame 45EF
187 KB
55 KB
Script
General
Full URL
https://s.go-mpulse.net/boomerang/DG6LL-C2K3J-45PG2-VMF2Q-KM6V9
Requested by
Host: adtm.chip.de
URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/scripts/satellite-5b6c0da664746d2bdc0043ab.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
104.108.48.32 Amsterdam, Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-108-48-32.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e0b8436d50fb200de76d7a25cf450ea238cd100197f8e9d462e9228153da873f

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

status
200
date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
cache-control
max-age=604800
timing-allow-origin
*
vary
Accept-Encoding
content-type
application/javascript; charset=utf-8
Cookie set s68700513460966
somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/
Redirect Chain
  • https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s68700513460966?AQB=1&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C84469BB7195702-079F35F47EAAC35F&ce=UTF-8&pageName=...
  • https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s68700513460966?AQB=1&pccr=true&vidn=2DCB3FCB053131F8-6000010DE0000391&&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C...
43 B
742 B
Image
General
Full URL
https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s68700513460966?AQB=1&pccr=true&vidn=2DCB3FCB053131F8-6000010DE0000391&&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C84469BB7195702-079F35F47EAAC35F&ce=UTF-8&pageName=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&g=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&ch=downloads&server=www.chip.de&events=event154%3D7&c1=D%3Dv7&v2=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&c3=D%3Dv15&v3=First%20Visit&v4=Weekday%7CMonday%7C4%3A00PM&c5=D%3Dv4&v5=1&v6=downloads&c7=D%3Dv16&v7=macos&c8=c1_downloads&v8=n%2Fa&c10=D%3Dv8&v15=Downloads_Updates&c18=n%2Fa&v19=stationaer&v23=1&v25=www.android.com&c28=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&v30=c1_downloads&c31=D%3Dv26&c32=n%2Fa&c37=michael%20humpa&c38=visible&c40=n%2Fa&v42=mac%20und%20android%3A%20android%20file%20transfer&v43=7&c44=dtm%20CHIP%20Master&c46=chip_digital%7Cdownloads%7Cmacos%7Cartikel%7Cartikel&c50=index%2C%20follow&c51=D%3Dv19&c52=downloads&c54=no&c59=n%2Fa&c60=13725907&v60=1_fm6che7o&v66=D%3Dc28&v67=D%3Dc60&v68=n%2Fa&c70=D%3Dv70&v70=downloads&v72=PV-WD%20no&v89=n%2Fa&v92=n%2Fa&s=1600x1200&c=24&j=1.6&v=N&k=Y&bw=1600&bh=1200&AQE=1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
63.140.40.124 Lehi, United States, ASN15224 (OMNITURE - Adobe Systems Inc., US),
Reverse DNS
chip.de.ssl.sc.omtrdc.net
Software
Omniture DC/2.0.0 /
Resource Hash
a1ecbaed793a1f564c49c671f2dd0ce36f858534ef6d26b55783a06b884cc506
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Pragma
no-cache
Accept-Encoding
gzip, deflate
Host
somniture.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
image/webp,image/apng,image/*,*/*;q=0.8
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]
Connection
keep-alive
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-C
ms-6.4.0
P3P
CP="This is not a P3P policy"
Connection
Keep-Alive
Content-Length
43
X-XSS-Protection
1; mode=block
Pragma
no-cache
Last-Modified
Tue, 11 Sep 2018 14:28:38 GMT
Server
Omniture DC/2.0.0
xserver
www248
ETag
"3299801293177028608-5127877204063031622"
Vary
*
Content-Type
image/gif
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, max-age=0, no-transform, private
Set-Cookie
s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; Expires=Wed, 9 Sep 2020 14:28:38 GMT; Domain=chip.de; Path=/
Keep-Alive
timeout=15
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-C
ms-6.4.0
P3P
CP="This is not a P3P policy"
Connection
Keep-Alive
Content-Length
0
X-XSS-Protection
1; mode=block
Pragma
no-cache
Last-Modified
Tue, 11 Sep 2018 14:28:38 GMT
Server
Omniture DC/2.0.0
xserver
www111
Location
https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s68700513460966?AQB=1&pccr=true&vidn=2DCB3FCB053131F8-6000010DE0000391&&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C84469BB7195702-079F35F47EAAC35F&ce=UTF-8&pageName=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&g=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&ch=downloads&server=www.chip.de&events=event154%3D7&c1=D%3Dv7&v2=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&c3=D%3Dv15&v3=First%20Visit&v4=Weekday%7CMonday%7C4%3A00PM&c5=D%3Dv4&v5=1&v6=downloads&c7=D%3Dv16&v7=macos&c8=c1_downloads&v8=n%2Fa&c10=D%3Dv8&v15=Downloads_Updates&c18=n%2Fa&v19=stationaer&v23=1&v25=www.android.com&c28=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&v30=c1_downloads&c31=D%3Dv26&c32=n%2Fa&c37=michael%20humpa&c38=visible&c40=n%2Fa&v42=mac%20und%20android%3A%20android%20file%20transfer&v43=7&c44=dtm%20CHIP%20Master&c46=chip_digital%7Cdownloads%7Cmacos%7Cartikel%7Cartikel&c50=index%2C%20follow&c51=D%3Dv19&c52=downloads&c54=no&c59=n%2Fa&c60=13725907&v60=1_fm6che7o&v66=D%3Dc28&v67=D%3Dc60&v68=n%2Fa&c70=D%3Dv70&v70=downloads&v72=PV-WD%20no&v89=n%2Fa&v92=n%2Fa&s=1600x1200&c=24&j=1.6&v=N&k=Y&bw=1600&bh=1200&AQE=1
Content-Type
text/plain
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, max-age=0, no-transform, private
Set-Cookie
s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; Expires=Wed, 9 Sep 2020 14:28:38 GMT; Domain=chip.de; Path=/
Keep-Alive
timeout=15
Expires
Sun, 09 Sep 2018 14:28:38 GMT
global_config.json
hgc-cf-cache-1.svonm.com/
53 B
718 B
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/global_config.json
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.73 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-73.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
f1379a9c047773af19ec6c4f9a465e0147cbabc785342c01110b43304179196a

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 04:42:28 GMT
Via
1.1 ed0c487879f809919537bf00a2f2dc8f.cloudfront.net (CloudFront)
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Age
5
X-Cache
Hit from cloudfront
Connection
keep-alive
Content-Length
53
Last-Modified
Mon, 10 Sep 2018 04:42:03 GMT
Server
AmazonS3
ETag
"3f42d83ce95b1a6eea170c73c8842d09"
Access-Control-Max-Age
3000
Access-Control-Allow-Methods
GET, POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store
Accept-Ranges
bytes
X-Amz-Cf-Id
a1QO50Fp1hjN8m4-wFG8H5eSHXKRS4Dxdo9bx1CJP3Hu0i62aBShXg==
Expires
0
homadConfig.json
filestorage.chip.de/videoplayer//config/
323 B
677 B
XHR
General
Full URL
https://filestorage.chip.de/videoplayer//config/homadConfig.json
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:2bc::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
96a277140a07c8bfdbf6926bd41c2b1b9915e266760ad9f34f26069ec9cb8c2a

Request headers

Pragma
no-cache
Origin
https://www.chip.de
Accept-Encoding
gzip, deflate
Host
filestorage.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
*/*
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Connection
keep-alive
Cache-Control
no-cache
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 12:02:18 GMT
Server
Apache
ETag
"bdd1fe062d58c3e9d9216922f317755d:1536235338"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET,POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Access-Control-Max-Age
86400
Access-Control-Allow-Credentials
false
Connection
keep-alive
Accept-Ranges
bytes
Access-Control-Allow-Headers
*
Content-Length
183
27572
ad.yieldlab.net/yp/
171 B
2 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/27572?json=true&ts=7473556348344&t=permutive%3Dnull&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
c5db83fccd1ba5f75cb3c453eb4c09e0f73f79e0337edd7107441f5e9798dc0d

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
148
Expires
Sun, 09 Sep 2018 14:28:38 GMT
898206
ad.yieldlab.net/yp/
2 B
1 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/898206?json=true&ts=4095229249437
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
22
Expires
Sun, 09 Sep 2018 14:28:38 GMT
prebid
ib.adnxs.com/ut/v3/
21 B
711 B
XHR
General
Full URL
https://ib.adnxs.com/ut/v3/prebid
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
185.33.223.197 , European Union, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
Software
nginx/1.13.4 /
Resource Hash
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:40 GMT
X-Proxy-Origin
148.251.45.254; 148.251.45.254; 302.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.222.238:80
AN-X-Request-Uuid
fafc7e9a-100b-4825-b74d-106b8ac547fc
Server
nginx/1.13.4
P3P
policyref="http://cdn.adnxs.com/w3c/policy/p3p.xml", CP="NOI DSP COR ADM PSAo PSDo OURo SAMo UNRo OTRo BUS COM NAV DEM STA PRE"
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json; charset=utf-8
Content-Length
21
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
ads
securepubads.g.doubleclick.net/gampad/
7 KB
4 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy1&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=728x90%7C800x250%7C970x250%7C970x90&prev_scp=tfs_usr%3D1%26tile%3D1%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26hb_f%3Dwbb%26hb_p%3D82%26hb_c%3D2355058%26hb_v%3Dyieldlab%26hb_id%3DFR18M3yQfmRDkXUi%26pos%3Ddban1%26rl_seq%3D1%26sm%3Dd%2Ct1%2Cr0%2Cdis%2Cdis1%2Ch%2Csticky%2Cd_h%2Ch1%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt&eri=5&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718120&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=429&adys=62&adks=1162233392&gut=v2&ifi=1&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=80&icsg=140917876981775&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1585x90&msz=1000x90&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
389d9ac2a9b303896c087649ef7758e2ec40acfedd1078a2216a8fd73df83bab
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
3270
x-xss-protection
1; mode=block
google-lineitem-id
4397695872
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138209116492
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
pubads_impl_rendering_246.js
securepubads.g.doubleclick.net/gpt/
45 KB
17 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_246.js?cb=243
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
sffe /
Resource Hash
66a7f220521242ab44a0f1cb8cbb4ec4422abeb057a0d1510a0a3f3ff60fb91b
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Tue, 04 Sep 2018 15:46:36 GMT
server
sffe
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, immutable, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
17260
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:38 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-29/html/
0
0
Other
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-29/html/container.html
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash

Request headers

Purpose
prefetch
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

expires
Thu, 05 Sep 2019 20:44:38 GMT
cache-control
public, immutable, max-age=31536000
last-modified
Mon, 11 Jun 2018 14:38:59 GMT
content-type
text/html
config.json
hgc-cf-cache-1.svonm.com/www.chip.de/
422 B
1 KB
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/www.chip.de/config.json
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.73 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-73.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
b001be44e53a0b5c52327701170e75b18b032edb0062402e1d43cc9772633b3e

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Tue, 07 Aug 2018 07:40:57 GMT
Via
1.1 ed0c487879f809919537bf00a2f2dc8f.cloudfront.net (CloudFront)
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Age
52
X-Cache
Hit from cloudfront
Connection
keep-alive
Content-Length
422
Last-Modified
Tue, 07 Aug 2018 07:40:10 GMT
Server
AmazonS3
ETag
"2f988edff393a29c96e2df9109950ab1"
Access-Control-Max-Age
3000
Access-Control-Allow-Methods
GET, POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store
Accept-Ranges
bytes
X-Amz-Cf-Id
jnuQLqDyQf07CiHmvZe6Bd2mGdZcy-NVpBOK1uOje6y8UTxE8ZNMCA==
Expires
0
1_fm6che7o
videoembed.chip.de/v3/videos/
1 KB
1 KB
Fetch
General
Full URL
https://videoembed.chip.de/v3/videos/1_fm6che7o
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
02fc09402ed0eacc82a0775185d88a5c55926568767dcec0038a63da5b175cf3

Request headers

Pragma
no-cache
Origin
https://www.chip.de
Accept-Encoding
gzip, deflate
Host
videoembed.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
*/*
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Connection
keep-alive
Cache-Control
no-cache
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
X-Server-Version
6.15.8
Server
nginx
Access-Control-Allow-Origin
*
SSL
YES
Vary
Accept-Encoding
Content-Type
application/json; charset=utf-8
X-FE-Version
1.22.0
Cache-Control
public, max-age=0
Connection
keep-alive
Accept-Ranges
bytes
Access-Control-Allow-Headers
X-fancyBox
Content-Length
612
Expires
Mon, 10 Sep 2018 14:28:38 GMT
hd-main.js
hgc-cf-cache-1.svonm.com/
188 KB
52 KB
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/hd-main.js?cache=kJjzsAyJgG
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.73 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-73.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
d40b5f84c921f3c3075d01ec5cebcaeea07068ed43f0ff9204381eb1e575f085

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 13:09:49 GMT
Content-Encoding
gzip
Vary
Accept-Encoding,Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Age
11
Transfer-Encoding
chunked
X-Cache
Hit from cloudfront
Connection
keep-alive
Access-Control-Allow-Origin
*
Last-Modified
Mon, 10 Sep 2018 13:09:34 GMT
Server
AmazonS3
Access-Control-Max-Age
3000
Access-Control-Allow-Methods
GET, POST
Content-Type
application/javascript
Via
1.1 ed0c487879f809919537bf00a2f2dc8f.cloudfront.net (CloudFront)
Cache-Control
no-cache
X-Amz-Cf-Id
T0IW5xEJGluzCdgGeZcJxDQjdryZivv5Om1BTRIfSGCn3W0w9wMtrg==
data
ups.xplosion.de/
4 KB
3 KB
Script
General
Full URL
https://ups.xplosion.de/data?title=Android%20File%20Transfer%20-%20Download%20-%20CHIP&hostSiteUrl=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&userAgent=5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_13_5)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F67.0.3396.87%20Safari%2F537.36&userLang=en-US&color=24&os=Linux%20x86_64&timezone=0&screen=1200x1600&event_id=page_view&_sid=91628&_ver=0.1.13&_seg=jsonp&_=555493803804
Requested by
Host: cdn.emetriq.de
URL: https://cdn.emetriq.de/adp/profiling/0.1.13/p.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.18.166.37 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-18-166-37.eu-west-1.compute.amazonaws.com
Software
Apache-Coyote/1.1 /
Resource Hash
525fd4bda968296354c5e6655e25a275c18146bbaf360ee1b5c1db729c94c8b6

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:37 GMT
Content-Encoding
gzip
Server
Apache-Coyote/1.1
Vary
Accept-Encoding
P3P
CP="NOI DSP COR NID PSAo OUR SAMo BUS"
Access-Control-Allow-Origin
*
Cache-Control
must-revalidate,no-cache,no-store
Connection
keep-alive
Content-Type
text/javascript
Content-Length
1507
/
k.intellitxt.com/go/1/
4 KB
2 KB
Script
General
Full URL
https://k.intellitxt.com/go/1/?ipid=5154&consentstr={%22opt_in%22:true%2C%22timestamp%22:1536589717525%2C%22version%22:%221.1.33-BF-RELEASE%22%2C%22localeVariantName%22:%22bf%22%2C%22localeVariantVersion%22:0%2C%22privacy%22:{%221%22:true%2C%222%22:true%2C%223%22:true%2C%224%22:true%2C%225%22:true}}&consenttype=oil_data
Requested by
Host: k.intellitxt.com
URL: https://k.intellitxt.com/intellitxt/front.asp?ipid=5154
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
31.24.80.101 , United Kingdom, ASN56464 (VIBRANT-EU, GB),
Reverse DNS
Software
nginx / Kormorant
Resource Hash
967fc73388397671e36cab8d0d1083058881d67d7a63be24041e492628309974

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
Server
nginx
X-Powered-By
Kormorant
Vary
Accept-Encoding, *
Content-Type
text/javascript; charset=utf-8
Cache-Control
private, no-cache, no-store, must-revalidate, proxy-revalidate, max-age=0
Transfer-Encoding
chunked
Connection
keep-alive
Expires
Fri, 08 Jan 2016 00:00:00 GMT
ima3.js
imasdk.googleapis.com/js/sdkloader/
231 KB
80 KB
Script
General
Full URL
https://imasdk.googleapis.com/js/sdkloader/ima3.js
Requested by
Host: filestorage.chip.de
URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:818::200a , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
aee550e3ea4a294b63c1da465eb0f814a806dc5b8e2ec76c0129ef72884b356f
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=900
accept-ranges
bytes
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
81220
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:38 GMT
ads
securepubads.g.doubleclick.net/gampad/
5 KB
3 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy2&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=160x600%7C350x600&prev_scp=tfs_usr%3D1%26tile%3D2%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26hb_f%3Dsky%26hb_p%3D18%26hb_c%3D27572%26hb_v%3Dyieldlab%26hb_id%3DAzvkPnQW59elcDIz%26pos%3Ddsky1%26rl_seq%3D1%26sm%3Dd%2Ct2%2Cr0%2Cdis%2Cnat%2Cdis2%2Cnat1%2Coop%2Cd_oop%2Coop1%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt&eri=5&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718200&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=1305&adys=162&adks=542669646&gut=v2&ifi=3&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=83&icsg=2254686031708175&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=640x0&msz=160x600&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
f7505e6aa0b337a6b561ea835262b6a45bb36848e971a6122b00bf9172f9b51c
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
2460
x-xss-protection
1; mode=block
google-lineitem-id
4382706687
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138208081151
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
27573,90623,5197809
ad.yieldlab.net/yp/
159 B
2 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/27573,90623,5197809?json=true&ts=5380759239021&t=none%26permutive%3Dnull&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
bbbfc98b4c2571bf9507e45e3e237b9e24b880748900027aed5e421f8a6fa4bc

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
144
Expires
Sun, 09 Sep 2018 14:28:38 GMT
898203,910037
ad.yieldlab.net/yp/
2 B
1 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/898203,910037?json=true&ts=1990235206536
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
22
Expires
Sun, 09 Sep 2018 14:28:38 GMT
prebid
ib.adnxs.com/ut/v3/
21 B
711 B
XHR
General
Full URL
https://ib.adnxs.com/ut/v3/prebid
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
185.33.223.197 , European Union, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
Software
nginx/1.13.4 /
Resource Hash
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:40 GMT
X-Proxy-Origin
148.251.45.254; 148.251.45.254; 302.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.220.118:80
AN-X-Request-Uuid
894a9410-0b8f-46e6-946a-433e38dcec34
Server
nginx/1.13.4
P3P
policyref="http://cdn.adnxs.com/w3c/policy/p3p.xml", CP="NOI DSP COR ADM PSAo PSDo OURo SAMo UNRo OTRo BUS COM NAV DEM STA PRE"
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json; charset=utf-8
Content-Length
21
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
prebid
ib.adnxs.com/ut/v3/
21 B
711 B
XHR
General
Full URL
https://ib.adnxs.com/ut/v3/prebid
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
185.33.223.197 , European Union, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
Software
nginx/1.13.4 /
Resource Hash
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:40 GMT
X-Proxy-Origin
148.251.45.254; 148.251.45.254; 302.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.223.229:80
AN-X-Request-Uuid
b431615b-bf5f-4f66-8d3d-b902dd8a18b9
Server
nginx/1.13.4
P3P
policyref="http://cdn.adnxs.com/w3c/policy/p3p.xml", CP="NOI DSP COR ADM PSAo PSDo OURo SAMo UNRo OTRo BUS COM NAV DEM STA PRE"
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json; charset=utf-8
Content-Length
21
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
truncated
/
188 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
d40b5f84c921f3c3075d01ec5cebcaeea07068ed43f0ff9204381eb1e575f085

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
text/javascript
adrtxtag.min.js
cdn.adrtx.net/
840 B
848 B
Script
General
Full URL
https://cdn.adrtx.net/adrtxtag.min.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.72.140.158 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-72-140-158.eu-west-1.compute.amazonaws.com
Software
akka-http/10.1.3 /
Resource Hash
760e4b5d62fd40555e5378e6216c0d4bec64c26bd39d3418b59e14c46ad0aa08

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 06:07:51 GMT
Content-Encoding
gzip
Last-Modified
Mon, 10 Sep 2018 06:07:37 GMT
Server
akka-http/10.1.3
ETag
"8fda08a34733677008755479a59fa669"
Content-Type
application/javascript; charset=UTF-8
Cache-Control
max-age=86400, must-revalidate
Connection
keep-alive
Content-Length
509
m
p.yieldlab.net/
0
471 B
Image
General
Full URL
https://p.yieldlab.net/m?dm_id=23666&ext_id=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr&ddata_seg=e0
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
85.114.144.199 , Germany, ASN24961 (MYLOC-AS, DE),
Reverse DNS
lb.yieldlab.net
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT
a.js
d.df-srv.de/match/
Redirect Chain
  • https://d.df-srv.de/match/a.js?pid=42
  • https://dsp.adfarm1.adition.com/cookie/?redirect=https%3A%2F%2Fd.df-srv.de%2Fmatch%2Fa.js%3Fpid%3D42%26l%3D1%26adition_vid%3D%25%25COOKIE%25%25
  • https://d.df-srv.de/match/a.js?pid=42&l=1&adition_vid=6599602586195195927
3 B
466 B
Image
General
Full URL
https://d.df-srv.de/match/a.js?pid=42&l=1&adition_vid=6599602586195195927
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2001:16e0:10a:1::c1:1 , Germany, ASN12611 (RKOM R-KOM Regensburger Telekommunikations GmbH & Co. KG, DE),
Reverse DNS
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:27:11 GMT
Server
nginx
P3P
CP="Contact Impact does not have a P3P policy.
Cache-Control
no-cache, no-store, must-revalidate
Connection
close
Content-Type
application/javascript; charset=utf-8
Content-Length
3
Expires
0

Redirect headers

Location
https://d.df-srv.de/match/a.js?pid=42&l=1&adition_vid=6599602586195195927
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
Connection
keep-alive
p3p
policyref="http://imagesrv.adition.com/w3c/p3p.xml",CP="NON DSP ADM DEV PSD IVDo OTPi OUR IND STP PHY PRE NAV UNI"
Transfer-Encoding
chunked
Expires
Thu, 01 Jan 1970 00:00:00 GMT
2.gif
xpl.theadex.com/d/327/i/
Redirect Chain
  • https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr
  • https://xpl.theadex.com/d/327/i/2.gif?_sc=1000118281628380079&axd_pid=22&axd_fuid=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr
43 B
717 B
Image
General
Full URL
https://xpl.theadex.com/d/327/i/2.gif?_sc=1000118281628380079&axd_pid=22&axd_fuid=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
85.114.144.106 , Germany, ASN24961 (MYLOC-AS, DE),
Reverse DNS
Software
nginx /
Resource Hash
afe0dcfca292a0fae8bce08a48c14d3e59c9d82c6052ab6d48a22ecc6c48f277

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Last-Modified
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
P3P
CP="CAO PSA OUR"
Cache-Control
no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Transfer-Encoding
binary
Connection
keep-alive
Access-Control-Allow-Credentials
true
Content-Type
image/gif
Content-Length
43
Expires
Mon, 26 Jul 1997 05:00:00 GMT

Redirect headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
Transfer-Encoding
chunked
P3P
CP="CAO PSA OUR"
Location
https://xpl.theadex.com:443/d/327/i/2.gif?_sc=1000118281628380079&axd_pid=22&axd_fuid=BSasWDa3ESR-EiUZWsf-BiUABifkBS7-WDfABifABifABfrr
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
text/html; charset=UTF-8
rc
smartclip.nuggad.net/
349 B
1 KB
XHR
General
Full URL
https://smartclip.nuggad.net/rc?nuggn=35854137&nuggsid=474493238&notrack=false
Requested by
Host: des.smartclip.net
URL: https://des.smartclip.net/ads?type=dyn&plc=92747&sz=400x320&ress=downloads&elementId=sc_dummy&ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&rnd=38116368
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
2a00:cd0:1005:2:80:82:201:80 , Germany, ASN48173 (UNBELIEVABLE-AS, DE),
Reverse DNS
Software
Apache /
Resource Hash
fea76a36651a6a153f98259cd2f9b1d1da70b2c4bbccf38c3bd0606d6d35f768

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
CP="NOI DSP COR NID ADMa OTPa OUR NOR"
Status
200 OK
Connection
Keep-Alive
Content-Length
225
Access-Control-Allow-Headers
Accept
Server
Apache
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET, POST, OPTIONS
Content-Type
text/javascript
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache
Access-Control-Allow-Credentials
true
Keep-Alive
timeout=5, max=76
Expires
Wed, 18 Feb 2009 11:53:30 GMT
kormorant-1.28.06.min.js
images.intellitxt.com/k/
170 KB
48 KB
Script
General
Full URL
https://images.intellitxt.com/k/kormorant-1.28.06.min.js
Requested by
Host: k.intellitxt.com
URL: https://k.intellitxt.com/go/1/?ipid=5154&consentstr={%22opt_in%22:true%2C%22timestamp%22:1536589717525%2C%22version%22:%221.1.33-BF-RELEASE%22%2C%22localeVariantName%22:%22bf%22%2C%22localeVariantVersion%22:0%2C%22privacy%22:{%221%22:true%2C%222%22:true%2C%223%22:true%2C%224%22:true%2C%225%22:true}}&consenttype=oil_data
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.126 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-126.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
97f4a90cf712c7ba9c33bfa1684ca989731e94549bce7cd07d00d8bf5ead4e93

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Wed, 05 Sep 2018 08:07:57 GMT
content-encoding
gzip
last-modified
Tue, 04 Sep 2018 15:50:24 GMT
server
AmazonS3
age
454842
vary
Accept-Encoding
x-cache
Hit from cloudfront
content-type
application/javascript
status
200
x-amz-cf-id
nErYGs-QR1Hu69_5tgenl6VBl4ZzVlUeMlzULYiPWqh7GAyjrW-DRg==
via
1.1 23082ff4de65f70078e091bc7cd0cf24.cloudfront.net (CloudFront)
Cookie set s63722814821519
somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/
43 B
741 B
Image
General
Full URL
https://somniture.chip.de/b/ss/cxochipde-prod/1/JS-2.7.0-D7QN/s63722814821519?AQB=1&ndh=1&pf=1&t=10%2F8%2F2018%2014%3A28%3A37%201%200&D=D%3D&fid=4C84469BB7195702-079F35F47EAAC35F&ce=UTF-8&pageName=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&g=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&ch=downloads&server=www.chip.de&events=event168&v2=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D&v6=downloads&v15=Downloads_Updates&v30=c1_downloads&c44=dtm%20CHIP%20Master&v66=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&v67=13725907&v70=downloads&pe=lnk_o&pev2=oil_shown&s=1600x1200&c=24&j=1.6&v=N&k=Y&bw=1600&bh=1200&AQE=1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
63.140.40.124 Lehi, United States, ASN15224 (OMNITURE - Adobe Systems Inc., US),
Reverse DNS
chip.de.ssl.sc.omtrdc.net
Software
Omniture DC/2.0.0 /
Resource Hash
a1ecbaed793a1f564c49c671f2dd0ce36f858534ef6d26b55783a06b884cc506
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Pragma
no-cache
Accept-Encoding
gzip, deflate
Host
somniture.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
image/webp,image/apng,image/*,*/*;q=0.8
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]
Connection
keep-alive
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-C
ms-6.4.0
P3P
CP="This is not a P3P policy"
Connection
Keep-Alive
Content-Length
43
X-XSS-Protection
1; mode=block
Pragma
no-cache
Last-Modified
Tue, 11 Sep 2018 14:28:38 GMT
Server
Omniture DC/2.0.0
xserver
www31
ETag
"3299801293177028608-5395946788442080297"
Vary
*
Content-Type
image/gif
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, max-age=0, no-transform, private
Set-Cookie
s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; Expires=Wed, 9 Sep 2020 14:28:38 GMT; Domain=chip.de; Path=/
Keep-Alive
timeout=15
Expires
Sun, 09 Sep 2018 14:28:38 GMT
100
videos.chip.de/p/1741931/sp/174193100/thumbnail/entry_id/1_fm6che7o/version/100011/acv/111/width/100/vid_slices/
118 KB
118 KB
Image
General
Full URL
https://videos.chip.de/p/1741931/sp/174193100/thumbnail/entry_id/1_fm6che7o/version/100011/acv/111/width/100/vid_slices/100
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash
0ce06e90ff45dee22ede838c2cb6e3d185fc5aaa45206f15dfe1acaf9775e7e8

Request headers

:path
/p/1741931/sp/174193100/thumbnail/entry_id/1_fm6che7o/version/100011/acv/111/width/100/vid_slices/100
pragma
no-cache
cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]
accept-encoding
gzip, deflate
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
image/webp,image/apng,image/*,*/*;q=0.8
cache-control
no-cache
:authority
videos.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

x-kaltura
cached-thumb-exists,2a68aad86ac627a005f16666050467e3
x-me
ny-front-thumb7
date
Mon, 10 Sep 2018 14:28:38 GMT
x-vod-session
1579093
status
200
x-kaltura-session
2128650647
content-length
120606
pragma
last-modified
Wed, 07 Mar 2018 16:18:34 GMT
server
nginx
vary
Accept-Encoding
x-vod-me
ny-front-vod15
content-type
image/jpeg
access-control-allow-origin
*
cache-control
public, max-age=3600
accept-ranges
bytes
expires
Mon, 10 Sep 2018 15:28:38 GMT
ads
securepubads.g.doubleclick.net/gampad/
17 KB
5 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy3&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=320x50%7C300x600%7C300x180%7C300x250%7C99x99%7C1x6&fluid=height&prev_scp=tfs_usr%3D1%26tile%3D3%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26hb_f%3Dmr%26hb_p%3D16%26hb_c%3D27573%26hb_v%3Dyieldlab%26hb_id%3DlOYIPWlafxK1WiMq%26emqrtt%3Dnone%26sasdb%3Db7ff4ba6-c2d1-4de2-864b-496c8b1cf1cc%26sasdbr%3Dg%26pos%3Ddmr1%26rl_seq%3D1%26sm%3Dd%2Ct3%2Cr0%2Cdis%2Cnat%2Cdis3%2Cnat2%2Cv%2Cq%2Cd_v%2Cv1%2Cq1%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt%252Cc_mhpa&eri=5&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718437&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=963&adys=194&adks=685963231&gut=v2&ifi=5&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=92&icsg=11544872091663&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=319x33&msz=299x-1&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
86f0604b3e2f0617e88f739b6cfc368ace4a520e3f4044e1b22394f49abb28eb
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
4945
x-xss-protection
1; mode=block
google-lineitem-id
4550829480
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138243646987
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
access-control-expose-headers
x-google-amp-ad-validated-version
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
90795
ad.yieldlab.net/yp/
159 B
2 KB
XHR
General
Full URL
https://ad.yieldlab.net/yp/90795?json=true&ts=219273898597&t=e0%2Ceuu%26permutive%3Dnull&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
af331e1a65a2d58fa6a41a12789e98d9a8236e972ff2d2719e5f64466fd3feb5

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET
Content-Language
de-DE
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json;charset=UTF-8
Access-Control-Allow-Headers
Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With
Content-Length
144
Expires
Sun, 09 Sep 2018 14:28:38 GMT
truncated
/
715 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
5a3f1dd74233f605e511f1b5b244bedf85ac88ba264caf4d6401bc7ec2017dcd

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/png
truncated
/
2 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
9d02d662da8a47fb5fb610b545007507b6017028043dbb63cd09ec897d3b9627

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/png
bridge3.234.1_en.html
imasdk.googleapis.com/js/core/ Frame A260
0
0
Document
General
Full URL
https://imasdk.googleapis.com/js/core/bridge3.234.1_en.html
Requested by
Host: imasdk.googleapis.com
URL: https://imasdk.googleapis.com/js/sdkloader/ima3.js
Protocol
H2
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:818::200a , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

:method
GET
:authority
imasdk.googleapis.com
:scheme
https
:path
/js/core/bridge3.234.1_en.html
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
accept-encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
content-length
165768
date
Sat, 01 Sep 2018 16:10:19 GMT
expires
Sun, 01 Sep 2019 16:10:19 GMT
last-modified
Sat, 01 Sep 2018 16:07:59 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
1; mode=block
cache-control
public, max-age=31536000
age
771499
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
client.js
s0.2mdn.net/instream/video/
26 KB
11 KB
Script
General
Full URL
https://s0.2mdn.net/instream/video/client.js
Requested by
Host: imasdk.googleapis.com
URL: https://imasdk.googleapis.com/js/sdkloader/ima3.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2006 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
62f2eeec7851ae0d5e322062cf40092478236d4a4fc5a2cfd87b257739104147
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=900
accept-ranges
bytes
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
10523
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:38 GMT
970x250
ad.yieldlab.net/d/2355058/21691/ Frame 740A
774 B
1 KB
Script
General
Full URL
https://ad.yieldlab.net/d/2355058/21691/970x250?ts=1536589718030&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e37a88100825cf11e2592364c1fe83dfd2e28c04eb0766d2c04ce77027a771e9

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Content-Language
de-DE
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
Content-Type
text/javascript;charset=UTF-8
Content-Length
416
Expires
Sun, 09 Sep 2018 14:28:38 GMT
osd_listener.js
tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/ Frame 740A
73 KB
27 KB
Script
General
Full URL
https://tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/osd_listener.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
d9262cbf7f04dd3b4ba9b73a11cbd614a1e707f22317611aac9d294b20a85103
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Tue, 04 Sep 2018 18:54:06 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
502472
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
27233
x-xss-protection
1; mode=block
server
cafe
etag
12076525581148098716
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
public, max-age=1209600
timing-allow-origin
*
expires
Tue, 18 Sep 2018 18:54:06 GMT
osd.js
pagead2.googlesyndication.com/pagead/
73 KB
27 KB
Script
General
Full URL
https://pagead2.googlesyndication.com/pagead/osd.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:824::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
2c58d4161a717be7779fc054c22883c300eb12b7556628c849c33aa104ee8ed6
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 13:39:01 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
2977
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
27104
x-xss-protection
1; mode=block
server
cafe
etag
16306743829198919951
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
public, max-age=3600
timing-allow-origin
*
expires
Mon, 10 Sep 2018 14:39:01 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame 740A
0
269 B
Image
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjst98s39dtvjUlszpytOVw-JZaMWZgWOOjATUTZlckeWHuoao3CdYzO0EnMw8o5CMAk_FiQDFkihlM5anbaGCcy-wS3wW0FHRoGhRqKBhefIamHaDdRTCDiuFbW53Xm_Rz2R-Hx9iCE9GhvZR9MSmxCM7Y89Qn2Zv2QcDToR99bXHNtDogxdEoEyo_jtrEeF-sNwLMC34VUlBsXXL5OfouaIf4rr8btoZ3meKlP_OyDGgUas3xE9hoHNaew46wTM7CquFfTuthe1xCsQm6duiy50&sai=AMfl-YSF8e8UEAxdRyMZI-wYrOw8jAaNSSyqPbRHyb7kOuqHZkcRhuVwWj3XjsbEnmuWGs2CSlqFda-mdwIgQ1KAsvNctR1Km3mpcnakckAM9g&sig=Cg0ArKJSzEwEyr645ufsEAE&urlfix=1&adurl=
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

timing-allow-origin
*
date
Mon, 10 Sep 2018 14:28:38 GMT
x-content-type-options
nosniff
server
cafe
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:38 GMT
activation
adstax-match.adrtx.net/ Frame 6568
0
0
Document
General
Full URL
https://adstax-match.adrtx.net/activation?receiverId=adaud
Requested by
Host: cdn.adrtx.net
URL: https://cdn.adrtx.net/adrtxtag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.208.127.173 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-208-127-173.eu-west-1.compute.amazonaws.com
Software
akka-http/10.1.3 /
Resource Hash

Request headers

Host
adstax-match.adrtx.net
Connection
keep-alive
Pragma
no-cache
Cache-Control
no-cache
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Accept-Encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

Cache-Control
no-cache, no-store, must-revalidate
Content-Type
text/html; charset=UTF-8
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
akka-http/10.1.3
X-Error-Reason
Missing UserId in activation request for config adaud.
Content-Length
39
Connection
keep-alive
truncated
/ Frame 7A6F
10 KB
0
Stylesheet
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
08b3d2cb0ce50558fa5981857bf280e3e590f7853d3ae33e5f6b76597f2a58bb

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
text/css
truncated
/ Frame 7A6F
2 KB
0
Font
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
aa7cda73ad0fdc3ee543442599840b5182eb66f5d5fbe6cf6e9a6d44c3e5551f

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Origin
https://www.chip.de

Response headers

Access-Control-Allow-Origin
*
Content-Type
application/x-font-woff;charset=utf-8
a.mp4
videos.chip.de/p/1741931/sp/174193100/serveFlavor/entryId/1_fm6che7o/v/1/flavorId/1_ullm0yuj/name/
128 KB
0
Media
General
Full URL
https://videos.chip.de/p/1741931/sp/174193100/serveFlavor/entryId/1_fm6che7o/v/1/flavorId/1_ullm0yuj/name/a.mp4
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash

Request headers

:path
/p/1741931/sp/174193100/serveFlavor/entryId/1_fm6che7o/v/1/flavorId/1_ullm0yuj/name/a.mp4
pragma
no-cache
cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; __gads=ID=804ba6a0a8d0be16:T=1536589718:S=ALNI_MZTD0Pkf-nVDT5pXzzwtYUnyU2d1w
accept-encoding
identity;q=1, *;q=0
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
chrome-proxy
frfr
accept
*/*
cache-control
no-cache
:authority
videos.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
range
bytes=0-
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Accept-Encoding
identity;q=1, *;q=0
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Range
bytes=0-
chrome-proxy
frfr

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
access-control-allow-methods
GET, HEAD, OPTIONS
x-vod-session
860765434
status
206
Content-Length
7070246
Content-Range
bytes 0-7070245/7070246
last-modified
Sun, 19 Nov 2000 08:52:00 GMT
server
nginx
etag
"3a1794b0-6be226"
x-vod-me
ny-front-vod17
content-type
video/mp4
access-control-allow-origin
*
access-control-expose-headers
Server,Content-Length,Content-Range,Date
cache-control
max-age=8640000
accept-ranges
bytes
access-control-allow-headers
Origin,Range,Accept-Encoding,Referer,Cache-Control
expires
Wed, 19 Dec 2018 14:28:38 GMT
display.js
s.d.adup-tech.com/ads/ Frame 740A
4 KB
2 KB
Script
General
Full URL
https://s.d.adup-tech.com/ads/display.js?p=69139504101a193487ed1eb4af979f65
Requested by
Host: ad.yieldlab.net
URL: https://ad.yieldlab.net/d/2355058/21691/970x250?ts=1536589718030&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.113 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-113.fra53.r.cloudfront.net
Software
nginx /
Resource Hash
76a77c2946e361ce2578a6ad8cb494c43cf10222212948aab1c36f0ffc467450

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 03:42:47 GMT
content-encoding
gzip
server
nginx
age
2732
etag
W/"901fdfb70ac30a6a59ef558ce35bbdbb"
x-cache
Hit from cloudfront
content-type
application/javascript; charset=utf-8
status
200
cache-control
public, max-age=3600
x-amz-cf-id
-zhiS9c682q2CyuGUcuJy1qVTxl0QCMn04zeon-NDF7tXA_nx7vG-Q==
via
1.1 1015c68f2d8c45924ae7198c984dcdde.cloudfront.net (CloudFront)
2x2
ad.yieldlab.net/d/724079/6629/ Frame 740A
2 KB
1 KB
Script
General
Full URL
https://ad.yieldlab.net/d/724079/6629/2x2?ts=489236910
Requested by
Host: ad.yieldlab.net
URL: https://ad.yieldlab.net/d/2355058/21691/970x250?ts=1536589718030&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
21cd5a7b8c2cb9345c6bfe0b17f0c8d94e997314d1400644d837d67abc723587

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Content-Language
de-DE
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
Content-Type
text/javascript;charset=UTF-8
Content-Length
577
Expires
Sun, 09 Sep 2018 14:28:38 GMT
m
ad.yieldlab.net/ Frame 740A
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=739302&ext_id=1
Requested by
Host: ad.yieldlab.net
URL: https://ad.yieldlab.net/d/2355058/21691/970x250?ts=1536589718030&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT
imp
counts.yieldlab.net/ Frame 740A
0
360 B
Image
General
Full URL
https://counts.yieldlab.net/imp?s=21691&d=3855&a=2355058&ts=1536589718511&tid=aa8c0080-074a-45b4-886a-89983ed0108f&l=0
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT
readconsent.html
vibrant.mgr.consensu.org/ Frame 201F
0
0
Document
General
Full URL
https://vibrant.mgr.consensu.org/readconsent.html
Requested by
Host: images.intellitxt.com
URL: https://images.intellitxt.com/k/kormorant-1.28.06.min.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.78 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-78.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash

Request headers

:method
GET
:authority
vibrant.mgr.consensu.org
:scheme
https
:path
/readconsent.html
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
accept-encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

status
200
content-type
text/html
content-length
87
date
Thu, 24 May 2018 20:56:54 GMT
last-modified
Thu, 24 May 2018 20:20:03 GMT
etag
"d8bb22c98f002e29edc15d65b2a5c68c"
accept-ranges
bytes
server
AmazonS3
age
63064
x-cache
Hit from cloudfront
via
1.1 300b920cc4a53d2daec2ba8180596d82.cloudfront.net (CloudFront)
x-amz-cf-id
NLfam6nrQ_pJMHlSPKs4Fbt22PqUq9CmIkibX2twppAfYy9R2Pd3uw==
kormorant-1.28.06.min.css
images.intellitxt.com/k/
26 KB
7 KB
Stylesheet
General
Full URL
https://images.intellitxt.com/k/kormorant-1.28.06.min.css
Requested by
Host: images.intellitxt.com
URL: https://images.intellitxt.com/k/kormorant-1.28.06.min.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.126 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-126.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
b0149cebf2aabd5f085727f8d89a2e95b844f0a646c69027c32d3027694e2a69

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Wed, 05 Sep 2018 08:07:57 GMT
content-encoding
gzip
last-modified
Tue, 04 Sep 2018 15:50:24 GMT
server
AmazonS3
age
454842
vary
Accept-Encoding
x-cache
Hit from cloudfront
content-type
text/css
status
200
x-amz-cf-id
XmsWigHRVOA7hH33OLLFAtdVvlQcGfsWGILCccyk4KWL_x03Ad8Hlw==
via
1.1 23082ff4de65f70078e091bc7cd0cf24.cloudfront.net (CloudFront)
1
k.intellitxt.com/context/
13 B
506 B
XHR
General
Full URL
https://k.intellitxt.com/context/1
Requested by
Host: images.intellitxt.com
URL: https://images.intellitxt.com/k/kormorant-1.28.06.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
31.24.80.101 , United Kingdom, ASN56464 (VIBRANT-EU, GB),
Reverse DNS
Software
nginx / Kormorant
Resource Hash
a821ef2e57f7a813859e0757693071df87135628c3d8f017bc499d0322afeba6

Request headers

Access-Control-Request-Method
POST
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Access-Control-Request-Headers
content-type

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Allow
GET,HEAD,POST
Server
nginx
X-Powered-By
Kormorant
Vary
*
Content-Type
text/html; charset=utf-8
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
private, no-cache, no-store, must-revalidate, proxy-revalidate, max-age=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Access-Control-Allow-Headers
Content-Type
Content-Length
13
Expires
Fri, 08 Jan 2016 00:00:00 GMT
2729869184897373167
k.intellitxt.com/csync/0/appnexus/
Redirect Chain
  • https://ib.adnxs.com/getuid?https%3A%2F%2Fk.intellitxt.com%2Fcsync%2F0%2Fappnexus%2F%24UID
  • https://ib.adnxs.com/bounce?%2Fgetuid%3Fhttps%253A%252F%252Fk.intellitxt.com%252Fcsync%252F0%252Fappnexus%252F%2524UID
  • https://k.intellitxt.com/csync/0/appnexus/2729869184897373167
0
296 B
Image
General
Full URL
https://k.intellitxt.com/csync/0/appnexus/2729869184897373167
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
31.24.80.101 , United Kingdom, ASN56464 (VIBRANT-EU, GB),
Reverse DNS
Software
nginx / Express
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
Connection
keep-alive
X-Powered-By
Express
ETag
W/"a-oQDOV50e1MN2H/N8GYi+8w"

Redirect headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:40 GMT
X-Proxy-Origin
148.251.45.254; 148.251.45.254; 302.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.220.53:80
AN-X-Request-Uuid
bf9a9749-f776-4f59-aae8-4c6fb674faaa
Server
nginx/1.13.4
Access-Control-Allow-Origin
*
P3P
policyref="http://cdn.adnxs.com/w3c/policy/p3p.xml", CP="NOI DSP COR ADM PSAo PSDo OURo SAMo UNRo OTRo BUS COM NAV DEM STA PRE"
Location
https://k.intellitxt.com/csync/0/appnexus/2729869184897373167
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
text/html; charset=utf-8
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
usermatchredir
ssum-sec.casalemedia.com/
43 B
288 B
Image
General
Full URL
https://ssum-sec.casalemedia.com/usermatchredir?s=184543&cb=:redirect
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.234.21 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-234-21.deploy.static.akamaitechnologies.com
Software
Apache /
Resource Hash
b1442e85b03bdcaf66dc58c7abb98745dd2687d86350be9a298a1d9382ac849b

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
Apache
Content-Type
image/gif
Cache-Control
max-age=0, no-cache, no-store
Connection
keep-alive
Content-Length
43
Expires
Mon, 10 Sep 2018 14:28:38 GMT
/
k.intellitxt.com/log/0/ptr/99a3c02c1abb1b7b7bc646d05c2cd2e20484e228/5154/32fa29ef-e3ae-45e0-bdf9-5c90d2264eac/
0
230 B
Image
General
Full URL
https://k.intellitxt.com/log/0/ptr/99a3c02c1abb1b7b7bc646d05c2cd2e20484e228/5154/32fa29ef-e3ae-45e0-bdf9-5c90d2264eac/
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
31.24.80.101 , United Kingdom, ASN56464 (VIBRANT-EU, GB),
Reverse DNS
Software
nginx / Express
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
ETag
W/"a-b541a50d"
Server
nginx
X-Powered-By
Express
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Expires
0
select
ad.sxp.smartclip.net/
Redirect Chain
  • https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-Fi...
  • https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-Fi...
0
-1 B
XHR
General
Full URL
https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&cu_burda_pmp_redirect=1&optout=&consent=&rnd=38116368&ang_testid=1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
176.34.121.0 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-176-34-121-0.eu-west-1.compute.amazonaws.com
Software
nginx/1.11.3 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx/1.11.3
Access-Control-Allow-Origin
https://www.chip.de
P3P
CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
Location
https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&cu_burda_pmp_redirect=1&optout=&consent=&rnd=38116368&ang_testid=1
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
text/html
Content-Length
161

Redirect headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx/1.11.3
Access-Control-Allow-Origin
https://www.chip.de
P3P
CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
Location
https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&cu_burda_pmp_redirect=1&optout=&consent=&rnd=38116368&ang_testid=1
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
text/html
Content-Length
161
global_config.json
hgc-cf-cache-1.svonm.com/
53 B
718 B
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/global_config.json?cache=7915260632
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIG5hZUdoYWlURWlrZWlzaWU9bmFlR2hhaVRFaWtlaXNpZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3kuWGR8fCh5LlhkPTApO3kuWGQrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXkudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eS52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eS5YZCYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiBBKCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleW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zPGE/dGhpcy5sdTp0aGlzLm90KGEpfSxvdDpmdW5jdGlvbihhKXtyZXR1cm4gNDxhP3RoaXMucHQ6dGhpcy5TaChhKX0sU2g6ZnVuY3Rpb24oYSl7cmV0dXJuIDc8YT90aGlzLlRoOnRoaXMuZm8oYSl9LGZvOmZ1bmN0aW9uKGEpe3JldHVybiA0PGE/dGhpcy5obzp0aGlzLlFtKGEpfSxRbTpmdW5jdGlvbihhKXtyZXR1cm4gNTxhP3RoaXMuUm06dGhpcy5mKGEpfSxmOmZ1bmN0aW9uKGEpe3JldHVybiA1PGE/dGhpcy5nOmF9fX0pKGMpO3ZhciBHYz1jLnZpfHxHYyx2ZD1uZXcgR2MoMSxuZXcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKTt3aW5kb3cudj12ZC5hcig0KX0pLmNhbGwobmFlR2hhaVRFaWtlaXNpZSxuYWVHaGFpVEVpa2Vpc2llKTsK
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.73 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-73.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
f1379a9c047773af19ec6c4f9a465e0147cbabc785342c01110b43304179196a

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 04:42:28 GMT
Via
1.1 ed0c487879f809919537bf00a2f2dc8f.cloudfront.net (CloudFront)
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Age
5
X-Cache
Hit from cloudfront
Connection
keep-alive
Content-Length
53
Last-Modified
Mon, 10 Sep 2018 04:42:03 GMT
Server
AmazonS3
ETag
"3f42d83ce95b1a6eea170c73c8842d09"
Access-Control-Max-Age
3000
Access-Control-Allow-Methods
GET, POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store
Accept-Ranges
bytes
X-Amz-Cf-Id
hiG2ajlzXKCotIxXmJ3w_lTa5FNT9ROy3sjopNtFsn6PhVxcA7mR7w==
Expires
0
homadConfig.json
filestorage.chip.de/videoplayer//config/
323 B
677 B
XHR
General
Full URL
https://filestorage.chip.de/videoplayer//config/homadConfig.json?cache=7330682766
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIG5hZUdoYWlURWlrZWlzaWU9bmFlR2hhaVRFaWtlaXNpZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3kuWGR8fCh5LlhkPTApO3kuWGQrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXkudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eS52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eS5YZCYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiBBKCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIsQSk7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJ0b3VjaGVuZCIsQSk7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNobW92ZSIsQSk7YmE9ITA7Zm9yKHZhciBjPTA7YzxCLmxlbmd0aDt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XcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKTt3aW5kb3cudj12ZC5hcig0KX0pLmNhbGwobmFlR2hhaVRFaWtlaXNpZSxuYWVHaGFpVEVpa2Vpc2llKTsK
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:2bc::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
96a277140a07c8bfdbf6926bd41c2b1b9915e266760ad9f34f26069ec9cb8c2a

Request headers

Pragma
no-cache
Origin
https://www.chip.de
Accept-Encoding
gzip, deflate
Host
filestorage.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
*/*
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Connection
keep-alive
Cache-Control
no-cache
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 12:02:18 GMT
Server
Apache
ETag
"bdd1fe062d58c3e9d9216922f317755d:1536235338"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET,POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Access-Control-Max-Age
86400
Access-Control-Allow-Credentials
false
Connection
keep-alive
Accept-Ranges
bytes
Access-Control-Allow-Headers
*
Content-Length
183
160x600
ad.yieldlab.net/d/27572/21691/ Frame 976F
477 B
1 KB
Script
General
Full URL
https://ad.yieldlab.net/d/27572/21691/160x600?ts=1536589718190&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
538a73bb19a5c8a68c4c3ff31b01cc2150656c23c4f77316ddee1b2deb36c103

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
P3P
policyref="/w3c/p3p.xml", CP="NOI NID CURa ADMa DEVa OUR IND COM NAV INT"
Vary
Accept-Encoding
Content-Language
de-DE
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
Content-Type
text/javascript;charset=UTF-8
Content-Length
311
Expires
Sun, 09 Sep 2018 14:28:38 GMT
osd_listener.js
tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/ Frame 976F
73 KB
27 KB
Script
General
Full URL
https://tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/osd_listener.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
d9262cbf7f04dd3b4ba9b73a11cbd614a1e707f22317611aac9d294b20a85103
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Tue, 04 Sep 2018 18:54:06 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
502472
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
27233
x-xss-protection
1; mode=block
server
cafe
etag
12076525581148098716
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
public, max-age=1209600
timing-allow-origin
*
expires
Tue, 18 Sep 2018 18:54:06 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame 976F
0
128 B
Image
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvLeKJC4-A3mNHaFkTWQwsZQB2LRjmhnsiSnQbp_baqdJ1MpY7kFkxaCuiytKbWU_CjDVyY-S9HqhVI78AVIOFLs2x3ZJvQWkZxEkboRwI5a_uUPl4GLFY7NXJYjH3b88RtlRmdYTkFycbyTUQBABHS8aYrJlI6RJiPheS_YCUG22rFb1YWrnJx47wK0rYmrMTDgB38FU4y_o5iVA25RACXZMwe0rHUqirh_Yj3dR53hz_uIT370qnlRLdCnIhtZNWGam1Wn4I8pzUkZAcodPCA&sai=AMfl-YSot5DvQ4fhSQRn_lGxt7GLO71tq-pSozn-I2-X-ZSffjN5FeeqwqVfUuvtPxlcihKe1uMfF011hRl_DPmFD8wAPab6NVPeCitC8wpb&sig=Cg0ArKJSzL9NMZlo6upBEAE&urlfix=1&adurl=
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

timing-allow-origin
*
date
Mon, 10 Sep 2018 14:28:38 GMT
x-content-type-options
nosniff
server
cafe
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
x-xss-protection
1; mode=block
expires
Mon, 10 Sep 2018 14:28:38 GMT
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://dsp.adfarm1.adition.com/cookie/?ssp=1
  • https://ad.yieldlab.net/m?dt_id=15233&ext_id=6599602586195195927
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=15233&ext_id=6599602586195195927
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

Location
https://ad.yieldlab.net/m?dt_id=15233&ext_id=6599602586195195927
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
Connection
keep-alive
p3p
policyref="http://imagesrv.adition.com/w3c/p3p.xml",CP="NON DSP ADM DEV PSD IVDo OTPi OUR IND STP PHY PRE NAV UNI"
Transfer-Encoding
chunked
Expires
Thu, 01 Jan 1970 00:00:00 GMT
usermatch.gif
beacon.krxd.net/ Frame 740A
Redirect Chain
  • https://dsp.adfarm1.adition.com/cookie/?redirect=https%3A%2F%2Fbeacon.krxd.net%2Fusermatch.gif%3Fpartner%3Dactiveagent%26partner_uid%3D%25%25COOKIE%25%25
  • https://beacon.krxd.net/usermatch.gif?partner=activeagent&partner_uid=6599602586195195927
0
453 B
Image
General
Full URL
https://beacon.krxd.net/usermatch.gif?partner=activeagent&partner_uid=6599602586195195927
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
46.137.126.71 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-46-137-126-71.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Cache-Control
private, no-cache, no-store
X-Request-Time
D=33 t=1536589718
Connection
keep-alive
P3P
policyref="https://cdn.krxd.net/kruxcontent/p3p.xml", CP="NON DSP COR NID OUR DEL SAM OTR UNR COM NAV INT DEM CNT STA PRE LOC OTC"
X-Served-By
beacon-n023-dub.krxd.net

Redirect headers

Location
https://beacon.krxd.net/usermatch.gif?partner=activeagent&partner_uid=6599602586195195927
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
Connection
keep-alive
p3p
policyref="http://imagesrv.adition.com/w3c/p3p.xml",CP="NON DSP ADM DEV PSD IVDo OTPi OUR IND STP PHY PRE NAV UNI"
Transfer-Encoding
chunked
Expires
Thu, 01 Jan 1970 00:00:00 GMT
2.gif
dmp.theadex.com/d/817/i/ Frame 740A
Redirect Chain
  • https://dsp.adfarm1.adition.com/cookie/?dmp=1&xxx=817
  • https://dmp.theadex.com/d/817/i/2.gif?c=&axd_pid=14&axd_fuid=6599602586195195927
43 B
731 B
Image
General
Full URL
https://dmp.theadex.com/d/817/i/2.gif?c=&axd_pid=14&axd_fuid=6599602586195195927
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
85.114.144.106 , Germany, ASN24961 (MYLOC-AS, DE),
Reverse DNS
Software
nginx /
Resource Hash
afe0dcfca292a0fae8bce08a48c14d3e59c9d82c6052ab6d48a22ecc6c48f277

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Last-Modified
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
P3P
CP="CAO PSA OUR"
Cache-Control
no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Transfer-Encoding
binary
Connection
keep-alive
Access-Control-Allow-Credentials
true
Content-Type
image/gif
Content-Length
43
Expires
Mon, 26 Jul 1997 05:00:00 GMT

Redirect headers

Location
https://dmp.theadex.com/d/817/i/2.gif?c=&axd_pid=14&axd_fuid=6599602586195195927
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
Connection
keep-alive
p3p
policyref="http://imagesrv.adition.com/w3c/p3p.xml",CP="NON DSP ADM DEV PSD IVDo OTPi OUR IND STP PHY PRE NAV UNI"
Transfer-Encoding
chunked
Expires
Thu, 01 Jan 1970 00:00:00 GMT
match
ps.eyeota.net/ Frame 740A
Redirect Chain
  • https://dsp.adfarm1.adition.com/cookie/?redirect=https%3A%2F%2Fuip.semasio.net%2Fadition%2F1%2Finfo%3FsType%3Dsync%26sExtCookieId%3D%25%25COOKIE%25%25%26sInitiator%3Dyl
  • https://uip.semasio.net/adition/1/info?sType=sync&sExtCookieId=6599602586195195927&sInitiator=yl
  • https://uip.semasio.net/adition/1/info2?sType=sync&sExtCookieId=6599602586195195927&sInitiator=yl
  • https://ib.adnxs.com/getuid?https://uip.semasio.net/appnexusdata/1/info?stype=sync&sExtCookieId=$UID&sInitiator=internal
  • https://uip.semasio.net/appnexusdata/1/info?stype=sync&sExtCookieId=2729869184897373167&sInitiator=internal
  • https://ps.eyeota.net/match?uid=78F7E456BB6AB7E&pid=n4om0kv&r=https://uip.semasio.net/eyeota/1/info?sType=sync&sExtCookieId={UUID}&sInitiator=internal
0
140 B
Image
General
Full URL
https://ps.eyeota.net/match?uid=78F7E456BB6AB7E&pid=n4om0kv&r=https://uip.semasio.net/eyeota/1/info?sType=sync&sExtCookieId={UUID}&sInitiator=internal
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
35.157.25.10 Frankfurt, Germany, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-35-157-25-10.eu-central-1.compute.amazonaws.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Cache-control
private
Content-Length
0

Redirect headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Frontend-ID
1
Location
https://ps.eyeota.net/match?uid=78F7E456BB6AB7E&pid=n4om0kv&r=https://uip.semasio.net/eyeota/1/info?sType=sync&sExtCookieId={UUID}&sInitiator=internal
P3P
policyref="http://uip.semasio.net/w3c/p3p.xml", CP="NOI PSAa PSDa OUR IND UNI CNT"
Access-Control-Allow-Origin
*
UIP-Response-Status
Ok
Cache-Control
no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Length
0
Routing-Server-ID
1
Expires
Sat, 01 Jan 2011 12:00:00 GMT
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://cm.g.doubleclick.net/pixel?google_nid=yieldlab&google_cm&google_sc
  • https://ad.yieldlab.net/m?dt_id=52&ext_id=CAESEE_k6kz5QtigzuBFyzJrrDM&google_cver=1
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=52&ext_id=CAESEE_k6kz5QtigzuBFyzJrrDM&google_cver=1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:38 GMT
server
HTTP server (unknown)
status
302
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
location
https://ad.yieldlab.net/m?dt_id=52&ext_id=CAESEE_k6kz5QtigzuBFyzJrrDM&google_cver=1
cache-control
no-cache, must-revalidate
content-type
text/html; charset=UTF-8
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
288
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://match.adsrvr.org/track/cmf/generic?ttd_pid=yieldlab&ttd_tpi=1
  • https://match.adsrvr.org/track/cmb/generic?ttd_pid=yieldlab&ttd_tpi=1
  • https://ad.yieldlab.net/m?dt_id=99739&ext_id=e53b0dd6-bfa8-4cdc-b343-a84181ab2a41
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=99739&ext_id=e53b0dd6-bfa8-4cdc-b343-a84181ab2a41
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:38 GMT
x-aspnet-version
4.0.30319
status
302
p3p
CP="NOI DSP COR CUR ADMo DEVo PSAo PSDo OUR SAMo BUS UNI NAV"
location
https://ad.yieldlab.net/m?dt_id=99739&ext_id=e53b0dd6-bfa8-4cdc-b343-a84181ab2a41
cache-control
private,no-cache, must-revalidate
content-type
text/html
content-length
193
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://ib.adnxs.com/getuid?https://ad.yieldlab.net/m?dt_id=140420&ext_id=$UID
  • https://ad.yieldlab.net/m?dt_id=140420&ext_id=2729869184897373167
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=140420&ext_id=2729869184897373167
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:40 GMT
X-Proxy-Origin
148.251.45.254; 148.251.45.254; 309.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.220.107:80
AN-X-Request-Uuid
558ecb68-143f-4213-bc37-dd0f48c2d2ff
Server
nginx/1.13.4
P3P
policyref="http://cdn.adnxs.com/w3c/policy/p3p.xml", CP="NOI DSP COR ADM PSAo PSDo OURo SAMo UNRo OTRo BUS COM NAV DEM STA PRE"
Location
https://ad.yieldlab.net/m?dt_id=140420&ext_id=2729869184897373167
Cache-Control
no-store, no-cache, private
Connection
keep-alive
Content-Type
text/html; charset=utf-8
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://c1.adform.net/serving/cookie/match?party=6
  • https://c1.adform.net/serving/cookie/match?CC=1&party=6
  • https://ad.yieldlab.net/m?dt_id=4879&ext_id=682417499596931646
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=4879&ext_id=682417499596931646
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:39 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:39 GMT

Redirect headers

status
302
date
Mon, 10 Sep 2018 14:28:38 GMT
server
nginx
access-control-allow-origin
*
content-length
0
location
https://ad.yieldlab.net/m?dt_id=4879&ext_id=682417499596931646
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://x.bidswitch.net/sync?ssp=yieldlab
  • https://x.bidswitch.net/ul_cb/sync?ssp=yieldlab
  • https://sync.mathtag.com/sync/img?mt_exid=46&redir=%2F%2Fx.bidswitch.net%2Fsync%3Fdsp_id%3D80%26user_id%3D%5BUUID%5D%26expires%3D30%26ssp%3Dyieldlab%26bsw_param%3D89c4f792-b13a-4afc-82ea-12dbadc8991c
  • https://x.bidswitch.net/sync?dsp_id=80&user_id=c7b85b96-7ae7-4500-8e79-709e7bf9e0f1&expires=30&ssp=yieldlab&bsw_param=89c4f792-b13a-4afc-82ea-12dbadc8991c
  • https://ad.yieldlab.net/m?dt_id=6850&ext_id=89c4f792-b13a-4afc-82ea-12dbadc8991c
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=6850&ext_id=89c4f792-b13a-4afc-82ea-12dbadc8991c
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx/1.12.0
P3P
CP="NOI DSP COR NID CURa ADMa DEVa PSAa PSDa OUR BUS COM INT OTC PUR STA"
Location
//ad.yieldlab.net/m?dt_id=6850&ext_id=89c4f792-b13a-4afc-82ea-12dbadc8991c
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Keep-Alive
timeout=10
Content-Length
0
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://p.rfihub.com/cm?pub=19593&in=1
  • https://ad.yieldlab.net/m?dt_id=6035831&ext_id=1040683376445288901
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=6035831&ext_id=1040683376445288901
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

Location
https://ad.yieldlab.net/m?dt_id=6035831&ext_id=1040683376445288901
Expires
Thu, 01 Jan 1970 00:00:00 GMT
Server
Jetty(9.0.6.v20130930)
Content-Length
0
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
m
ad.yieldlab.net/ Frame 740A
Redirect Chain
  • https://sync.mathtag.com/sync/img?mt_exid=118&redir=https%3A%2F%2Fad.yieldlab.net%2Fm%3Fdt_id%3D6061522%26ext_id%3D%5BMM_UUID%5D
  • https://sync.mathtag.com/sync/img?mt_exid=118&redir=https%3A%2F%2Fad.yieldlab.net%2Fm%3Fdt_id%3D6061522%26ext_id%3D%5BMM_UUID%5D&mm_bnc&mm_bct
  • https://ad.yieldlab.net/m?dt_id=6061522&ext_id=c7b85b96-7ae7-4500-8e79-709e7bf9e0f1
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=6061522&ext_id=c7b85b96-7ae7-4500-8e79-709e7bf9e0f1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT

Redirect headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
MT3 1.26.12.0 f85fe72 RELEASE cdg-pixel-x4
P3P
CP="NOI DSP COR NID CURa ADMa DEVa PSAa PSDa OUR BUS COM INT OTC PUR STA"
location
https://ad.yieldlab.net/m?dt_id=6061522&ext_id=c7b85b96-7ae7-4500-8e79-709e7bf9e0f1
Cache-Control
no-cache
Connection
keep-alive
Content-Type
image/gif
Keep-Alive
timeout=360
Content-Length
0
Expires
Mon, 10 Sep 2018 14:28:37 GMT
jsapi
s.d.adup-tech.com/ Frame 740A
37 KB
12 KB
Script
General
Full URL
https://s.d.adup-tech.com/jsapi
Requested by
Host: s.d.adup-tech.com
URL: https://s.d.adup-tech.com/ads/display.js?p=69139504101a193487ed1eb4af979f65
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.113 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-113.fra53.r.cloudfront.net
Software
nginx /
Resource Hash
8778ba53b998ae44cb9a271b72c299b2bf539ac1b33ca360e7bc10253698b850

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 12:37:49 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 11:53:38 GMT
server
nginx
age
3049
etag
3fcf5eeb08ed0cd46045b73bef6d0b84
x-cache
Hit from cloudfront
content-type
application/javascript; charset=utf-8
status
200
cache-control
max-age=3600
x-amz-cf-id
u4dk31X-5uuhkKoUF6vmROgLrnq7vNdMe97NvA7rfGqh6LEtOUtKVw==
via
1.1 1015c68f2d8c45924ae7198c984dcdde.cloudfront.net (CloudFront)
expires
Mon, 10 Sep 2018 13:37:49 GMT
truncated
/ Frame 740A
213 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
1da1aacdf32c1154fda77c584f419812f8e0e24982786ea014ae44b85fe7bddb

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/png
ads
securepubads.g.doubleclick.net/gampad/
9 KB
4 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy4&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=320x50%7C468x200&fluid=height&prev_scp=tfs_usr%3D1%26tile%3D5%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%2Cnativeca%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26hb_f%3Dfsb200%26hb_p%3D11%26hb_c%3D90795%26hb_v%3Dyieldlab%26hb_id%3DRxux0ex3bGYYLTGY%26emqrtt%3Dnone%26rl_seq%3D1%26sm%3Dd%2Ct5%2Cr0%2Cdis%2Cnat%2Cdis5%2Cnat4%2Ch%2Cd_h%2Ch3%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26sl%3Doff%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt%252Cc_nat&eri=5&cookie=ID%3D5d1111ccd2f63f45%3AT%3D1536589718%3AS%3DALNI_MZNu77Q1nkFHrV4DsZzkj9RbYiPrw&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718704&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=323&adys=2047&adks=1830222912&gut=v2&ifi=7&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=93&icsg=11544872091663&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=620x1430&msz=468x32&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
097041c492417db0fcdca6eb69f02c5925e29b6066acf5b8d5d460298752ee4d
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:39 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
3729
x-xss-protection
1; mode=block
google-lineitem-id
4550829480
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138243646681
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
ads
securepubads.g.doubleclick.net/gampad/
12 KB
5 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy5&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=320x50%7C99x99%7C1x6&fluid=height&prev_scp=tfs_usr%3D1%26tile%3D6%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26emqrtt%3Dnone%26rl_seq%3D1%26sm%3Dd%2Ct6%2Cr0%2Cdis%2Cnat%2Cdis6%2Cnat5%2Cv%2Cq%2Cd_v%2Cv2%2Cq2%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt&eri=5&cookie=ID%3D5d1111ccd2f63f45%3AT%3D1536589718%3AS%3DALNI_MZNu77Q1nkFHrV4DsZzkj9RbYiPrw&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718727&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=963&adys=858&adks=2067316190&gut=v2&ifi=9&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=92&icsg=11544872091663&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=299x912&msz=299x18&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
0e0bd05bcb5921464af7ed4a5435e077b15175967374a3a5f96aba2247d2d864
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:39 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
4847
x-xss-protection
1; mode=block
google-lineitem-id
4778176925
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138243030621
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
ads
securepubads.g.doubleclick.net/gampad/
5 KB
3 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy6&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=88x88%7C6x1&prev_scp=tfs_usr%3D1%26tile%3D7%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%2Ccombox%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26emqrtt%3Dnone%26rl_seq%3D1%26sm%3Dd%2Ct7%2Cr0%2Cdis%2Cnat%2Cdis7%2Cnat6%2Ch%2Cd_h%2Ch4%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26sl%3Doff%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt&eri=5&cookie=ID%3D5d1111ccd2f63f45%3AT%3D1536589718%3AS%3DALNI_MZNu77Q1nkFHrV4DsZzkj9RbYiPrw&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718761&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=963&adys=1316&adks=4079486826&gut=v2&ifi=11&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=91&icsg=11544872091663&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=299x88&msz=299x88&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
50c0ac6ebe102fdb6da358a0f9b6fa2cb8ad829a776f8838babb8f0487419cdf
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:39 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
2549
x-xss-protection
1; mode=block
google-lineitem-id
4353545934
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138204783905
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
ads
securepubads.g.doubleclick.net/gampad/
16 KB
5 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1144401803364650&correlator=545247416422495&output=json_html&callback=googletag.impl.pubads.callbackProxy7&impl=fifs&adsid=NT&json_a=1&eid=22334400%2C21061459&vrg=246&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu_parts=3673%2Cchip_digital%2Cdownloads%2Cmacos%2Cartikel&enc_prev_ius=%2F0%2F1%2F2%2F3%2F4&prev_iu_szs=320x50%7C300x600%7C300x180%7C300x250%7C99x99%7C1x6&fluid=height&prev_scp=tfs_usr%3D1%26tile%3D8%26site%3Dchip_digital%26res%3Ddownloads%26rub%3Dmacos%26lay%3Dc1_downloads%26tgrp%3D3%26aem%3Dinf%26skv%3D1%26tfww%3D78910111213141516%26tfwiw%3D1600%26tfwih%3D1200%26kw%3Dnone%26pid%3D13725907%26uid%3DOpo9UIvNFs1XGERHQOc5BgwMAhy3rKp7%26wfxtg%3D842%2C848%2C854%2C876%2C877%2C878%2C959%2C960%26wfxtg_0%3D842%2C843%2C848%2C877%2C878%2C959%2C960%26wfxtg_1%3D842%2C843%2C844%2C846%2C848%2C878%2C959%2C960%26wfxtg_2%3D844%2C846%2C878%26emqrtt%3Dnone%26pos%3Ddmr2%26rl_seq%3D1%26sm%3Dd%2Ct8%2Cr0%2Cdis%2Cnat%2Cdis8%2Cnat7%2Cv%2Cq%2Cd_v%2Cv3%2Cq3%26cimp%3D1%26consent%3DBOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26excl_cat%3Dbl_chip_digital%252Cc_pan%252C%2520c_exp%252Cc_desktop%252Cc_sbb%252Cc_smc21%252Cc_si%252Cc_mgpt%252Cc_mhpa&eri=5&cookie=ID%3D5d1111ccd2f63f45%3AT%3D1536589718%3AS%3DALNI_MZNu77Q1nkFHrV4DsZzkj9RbYiPrw&cookie_enabled=1&bc=7&abxe=1&lmt=1536589718&dt=1536589718786&dlt=1536589717289&idt=802&frm=20&biw=1585&bih=1200&oid=3&adxs=963&adys=1436&adks=3307878159&gut=v2&ifi=13&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&dssz=90&icsg=11544872091663&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=299x1032&msz=299x32&ga_vid=1952892213.1536589718&ga_sid=1536589718&ga_hid=169438138&fws=0
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
4e48c5d7b5ed9a46ce4bb8ce504cd2da2f350d66c342d1e5d1a8461fbc0e07cd
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

date
Mon, 10 Sep 2018 14:28:39 GMT
content-encoding
gzip
x-content-type-options
nosniff
google-mediationgroup-id
-2
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
4512
x-xss-protection
1; mode=block
google-lineitem-id
4722717800
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138237554192
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.chip.de
access-control-expose-headers
x-google-amp-ad-validated-version
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
config.json
hgc-cf-cache-1.svonm.com/www.chip.de/
422 B
1 KB
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/www.chip.de/config.json?cache=9776897088
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIG5hZUdoYWlURWlrZWlzaWU9bmFlR2hhaVRFaWtlaXNpZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3kuWGR8fCh5LlhkPTApO3kuWGQrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXkudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eS52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eS5YZCYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiBBKCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIsQS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0aW9uKGEpe3JldHVybiA0PGE/dGhpcy5obzp0aGlzLlFtKGEpfSxRbTpmdW5jdGlvbihhKXtyZXR1cm4gNTxhP3RoaXMuUm06dGhpcy5mKGEpfSxmOmZ1bmN0aW9uKGEpe3JldHVybiA1PGE/dGhpcy5nOmF9fX0pKGMpO3ZhciBHYz1jLnZpfHxHYyx2ZD1uZXcgR2MoMSxuZXcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKTt3aW5kb3cudj12ZC5hcig0KX0pLmNhbGwobmFlR2hhaVRFaWtlaXNpZSxuYWVHaGFpVEVpa2Vpc2llKTsK
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.73 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-73.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
b001be44e53a0b5c52327701170e75b18b032edb0062402e1d43cc9772633b3e

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Tue, 07 Aug 2018 07:40:57 GMT
Via
1.1 ed0c487879f809919537bf00a2f2dc8f.cloudfront.net (CloudFront)
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Age
52
X-Cache
Hit from cloudfront
Connection
keep-alive
Content-Length
422
Last-Modified
Tue, 07 Aug 2018 07:40:10 GMT
Server
AmazonS3
ETag
"2f988edff393a29c96e2df9109950ab1"
Access-Control-Max-Age
3000
Access-Control-Allow-Methods
GET, POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store
Accept-Ranges
bytes
X-Amz-Cf-Id
CPoniVHUC5CH1umGsMnRWbKHnHnrmt08fozkIwYxRssP1CSa2s1Arg==
Expires
0
display.js
s.d.adup-tech.com/ads/ Frame 976F
4 KB
2 KB
Script
General
Full URL
https://s.d.adup-tech.com/ads/display.js?p=b0a301db334008753f83ff78ea6764f9
Requested by
Host: ad.yieldlab.net
URL: https://ad.yieldlab.net/d/27572/21691/160x600?ts=1536589718190&consent=BOT4PvXOT4PvYAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.113 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-113.fra53.r.cloudfront.net
Software
nginx /
Resource Hash
3e4882c7b6adf8be26c741c61bb4df88e4412dbc315cb734dd18cc29fc9b05c5

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 09:29:53 GMT
content-encoding
gzip
server
nginx
age
3499
etag
W/"ef005ebc7901bcc1c2f5eec3f5c8fd83"
x-cache
Hit from cloudfront
content-type
application/javascript; charset=utf-8
status
200
cache-control
public, max-age=3600
x-amz-cf-id
JJE0co_8M5mOeL-mn7-EvqAyCzi4ehR2OKVFU1fKgWR5zl-N1KsixA==
via
1.1 1015c68f2d8c45924ae7198c984dcdde.cloudfront.net (CloudFront)
imp
counts.yieldlab.net/ Frame 976F
0
360 B
Image
General
Full URL
https://counts.yieldlab.net/imp?s=21691&d=3855&a=27572&ts=1536589718683&tid=0f23ca83-f800-4730-b14f-3227a31f9f0e&l=0
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.18.232.233 , European Union, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-18-232-233.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Cache-Control
no-store,no-cache,max-age=-3600,must-revalidate,post-check=0,pre-check=0
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Application-Context
application
Expires
Sun, 09 Sep 2018 14:28:38 GMT
1
k.intellitxt.com/context/
204 B
683 B
XHR
General
Full URL
https://k.intellitxt.com/context/1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
31.24.80.101 , United Kingdom, ASN56464 (VIBRANT-EU, GB),
Reverse DNS
Software
nginx / Kormorant
Resource Hash
77f4d860f1bb21b949f9f23ef951609331cfc2d20eabc9f6cee348fde9cf2da8

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
application/json

Response headers

Pragma
no-cache
Date
Mon, 10 Sep 2018 14:28:38 GMT
Server
nginx
X-Powered-By
Kormorant
Vary
*
Content-Type
application/json; charset=utf-8
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
private, no-cache, no-store, must-revalidate, proxy-revalidate, max-age=0
Access-Control-Allow-Credentials
true
Connection
keep-alive
Access-Control-Allow-Headers
Content-Type
Content-Length
204
Expires
Fri, 08 Jan 2016 00:00:00 GMT
select
ad.sxp.smartclip.net/
1 KB
1 KB
XHR
General
Full URL
https://ad.sxp.smartclip.net/select?type=dyn&ple=pmp.burda.chip.intxt.de.burda~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&cu_burda_pmp_redirect=1&optout=&consent=&rnd=38116368&ang_testid=1
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
176.34.121.0 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-176-34-121-0.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
6226d0f2e2f30bf71792b282b40113d65edc19466b895f33c2dc996409d17212

Request headers

X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Origin
https://www.chip.de
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:38 GMT
Content-Encoding
gzip
Sc-Supply-Network
10035
Vary
Accept-Encoding
P3P
CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
Access-Control-Allow-Origin
https://www.chip.de
Sc-Uuid
bebff81c-fee1-406f-8a90-58924ce2655b
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/xml; charset=utf-8
Sc-Device-Type
PC
Content-Length
598
uid
d.adup-tech.com/t/ Frame 740A
80 B
385 B
Script
General
Full URL
https://d.adup-tech.com/t/uid
Requested by
Host: s.d.adup-tech.com
URL: https://s.d.adup-tech.com/jsapi
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.154.14.76 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-154-14-76.eu-west-1.compute.amazonaws.com
Software
nginx /
Resource Hash
042b703a40f6f8e110aa580711d62180f50684859f59918ed69105cf36c08208

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
server
nginx
etag
W/"ssJ06O6P0-ln-WDt1W8P"
p3p
policyref="/w3c/p3p.xml", CP="OTC NOI DSP COR PSAo PSDo IVAo IVDo OTPo OUR IND"
status
200
cache-control
private, max-age=31536000
content-type
application/javascript; charset=utf-8
content-length
80
/
ssl.3.damoh.chip.de/a7bb1c5b51d8973a9e94f5713600064797109b8d/
422 B
1 KB
XHR
General
Full URL
https://ssl.3.damoh.chip.de/a7bb1c5b51d8973a9e94f5713600064797109b8d/
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIG5hZUd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cy5hWzEwXTt0aGlzLmc9dGhpcy5hWzhdfWMudmk9YjtiLnByb3RvdHlwZT17YXI6ZnVuY3Rpb24oYSl7cmV0dXJuIDk8YT90aGlzLmJyOnRoaXMubnAoYSl9LG5wOmZ1bmN0aW9uKGEpe3JldHVybiAxMDxhP3RoaXMub3A6dGhpcy5xaChhKX0scWg6ZnVuY3Rpb24oYSl7cmV0dXJuIDg8YT90aGlzLnJoOnRoaXMuY20oYSl9LApjbTpmdW5jdGlvbihhKXtyZXR1cm4gMTA8YT90aGlzLmRtOnRoaXMua3UoYSl9LGt1OmZ1bmN0aW9uKGEpe3JldHVybiAzPGE/dGhpcy5sdTp0aGlzLm90KGEpfSxvdDpmdW5jdGlvbihhKXtyZXR1cm4gNDxhP3RoaXMucHQ6dGhpcy5TaChhKX0sU2g6ZnVuY3Rpb24oYSl7cmV0dXJuIDc8YT90aGlzLlRoOnRoaXMuZm8oYSl9LGZvOmZ1bmN0aW9uKGEpe3JldHVybiA0PGE/dGhpcy5obzp0aGlzLlFtKGEpfSxRbTpmdW5jdGlvbihhKXtyZXR1cm4gNTxhP3RoaXMuUm06dGhpcy5mKGEpfSxmOmZ1bmN0aW9uKGEpe3JldHVybiA1PGE/dGhpcy5nOmF9fX0pKGMpO3ZhciBHYz1jLnZpfHxHYyx2ZD1uZXcgR2MoMSxuZXcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKTt3aW5kb3cudj12ZC5hcig0KX0pLmNhbGwobmFlR2hhaVRFaWtlaXNpZSxuYWVHaGFpVEVpa2Vpc2llKTsK
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.151.243 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.243.151.251.148.clients.your-server.de
Software
AmazonS3 /
Resource Hash
b001be44e53a0b5c52327701170e75b18b032edb0062402e1d43cc9772633b3e

Request headers

Pragma
no-cache
Origin
https://www.chip.de
Accept-Encoding
gzip, deflate
Host
ssl.3.damoh.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-type
application/x-www-form-urlencoded
Accept
*/*
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Connection
keep-alive
Content-Length
86
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-type
application/x-www-form-urlencoded

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Connection
keep-alive
Content-Length
422
Last-Modified
Tue, 07 Aug 2018 07:40:11 GMT
Server
AmazonS3
Etag
"2f988edff393a29c96e2df9109950ab1"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET, POST, OPTIONS
Content-Type
application/json
Access-Control-Allow-Origin
https://www.chip.de
Access-Control-Expose-Headers
X-Homad-Instance, X-Homad-Long-Ad-Ignored, X-Homad-Sig, X-Homad-Url, X-Homad-Vpaid-Ignored, X-Homad-Ad-Id
Cache-Control
no-cache, no-store
Access-Control-Allow-Credentials
true
X-Homad-Instance
de6-homad-1
X-Homad-Url
http://homad-global-configs-eu-fra.schneevonmorgen.com.s3.amazonaws.com/www.chip.de/config.json
Accept-Ranges
bytes
Access-Control-Allow-Headers
X-Homad-Compatible-Vpaid, X-Homad-Post, X-Homad-Url
Expires
0
jsapi
s.d.adup-tech.com/ Frame 976F
37 KB
270 B
Script
General
Full URL
https://s.d.adup-tech.com/jsapi
Requested by
Host: s.d.adup-tech.com
URL: https://s.d.adup-tech.com/ads/display.js?p=b0a301db334008753f83ff78ea6764f9
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.150.113 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-150-113.fra53.r.cloudfront.net
Software
nginx /
Resource Hash
8778ba53b998ae44cb9a271b72c299b2bf539ac1b33ca360e7bc10253698b850

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
If-None-Match
3fcf5eeb08ed0cd46045b73bef6d0b84
If-Modified-Since
Mon, 10 Sep 2018 11:53:38 GMT
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
via
1.1 1015c68f2d8c45924ae7198c984dcdde.cloudfront.net (CloudFront)
server
nginx
age
3049
etag
3fcf5eeb08ed0cd46045b73bef6d0b84
x-cache
Hit from cloudfront
status
304
cache-control
max-age=3600
x-amz-cf-id
j8_x_ZFrcq2fCMOLy9fuIMudoTCLwHy5xtWI7Jc6IzGmzlNI2-skUA==
expires
Mon, 10 Sep 2018 13:37:49 GMT
truncated
/ Frame 976F
211 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
a0e44788e4f67a669b3e7f76e40ef57b5e6f5a6e647a5c68500520f58654d904

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/png
amp4ads-host-v0.js
cdn.ampproject.org/rtv/011535566825959/
20 KB
9 KB
Script
General
Full URL
https://cdn.ampproject.org/rtv/011535566825959/amp4ads-host-v0.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
ffd863adce73bcd5ecb00753cb264120d71714252835f94e336b5f2a842eb81c
Security Headers
Name Value
Content-Security-Policy default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

content-security-policy
default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
content-encoding
gzip
x-content-type-options
nosniff
age
409439
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
8042
x-xss-protection
1; mode=block
last-modified
Wed, 29 Aug 2018 20:15:00 GMT
server
sffe
date
Wed, 05 Sep 2018 20:44:39 GMT
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-type
text/javascript
access-control-allow-origin
*
vary
Accept-Encoding
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Thu, 05 Sep 2019 20:44:39 GMT
amp4ads-v0.js
cdn.ampproject.org/rtv/011535566825959/ Frame E65B
260 KB
83 KB
Script
General
Full URL
https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
46ab33a1c2d56dc8299e8bef5c29466ae9356a4515ddd449a0bfc05aa5e84af8
Security Headers
Name Value
Content-Security-Policy default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

content-security-policy
default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
content-encoding
gzip
x-content-type-options
nosniff
age
1005549
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
84387
x-xss-protection
1; mode=block
last-modified
Wed, 29 Aug 2018 20:15:00 GMT
server
sffe
date
Wed, 29 Aug 2018 23:09:29 GMT
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-type
text/javascript
access-control-allow-origin
*
vary
Accept-Encoding
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Thu, 29 Aug 2019 23:09:29 GMT
amp-analytics-0.1.js
cdn.ampproject.org/rtv/011535566825959/v0/ Frame E65B
110 KB
35 KB
Script
General
Full URL
https://cdn.ampproject.org/rtv/011535566825959/v0/amp-analytics-0.1.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
670506f73688fc179c5821d61cde38f34a52bb20a32021272d6216bb88488830
Security Headers
Name Value
Content-Security-Policy default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

content-security-policy
default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
content-encoding
gzip
x-content-type-options
nosniff
age
612582
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
35847
x-xss-protection
1; mode=block
last-modified
Wed, 29 Aug 2018 20:15:00 GMT
server
sffe
date
Mon, 03 Sep 2018 12:18:56 GMT
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-type
text/javascript
access-control-allow-origin
*
vary
Accept-Encoding
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Tue, 03 Sep 2019 12:18:56 GMT
18189169834422979202
tpc.googlesyndication.com/simgad/ Frame E65B
48 KB
48 KB
Image
General
Full URL
https://tpc.googlesyndication.com/simgad/18189169834422979202
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
af71e5d84379e977c529d7f2e90751cd55d9303cd9072c934624ddc6828cf34f
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Fri, 07 Sep 2018 13:37:25 GMT
x-content-type-options
nosniff
age
262273
x-dns-prefetch-control
off
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
48830
x-xss-protection
1; mode=block
last-modified
Fri, 07 Sep 2018 13:30:28 GMT
server
sffe
content-type
image/gif
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Sat, 07 Sep 2019 13:37:25 GMT
B10860715.145163035;dc_pre=CNzT-eLSsN0CFY4m4Aod7k8K2A;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=
ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/ Frame E65B
Redirect Chain
  • https://t.myvisualiq.net/impression_pixel?r=438922656&et=i&ago=212&ao=537&aca=10860715&si=3230043&ci=78556514&pi=145163035&ad=-18&advt=5862390&chnl=-18&vndr=115&sz=9112&u=-18&pt=i&red=https%3A%2F%2...
  • https://t.myvisualiq.net/ul_cb/impression_pixel?r=438922656&et=i&ago=212&ao=537&aca=10860715&si=3230043&ci=78556514&pi=145163035&ad=-18&advt=5862390&chnl=-18&vndr=115&sz=9112&u=-18&pt=i&red=https%3...
  • https://ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/B10860715.145163035;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?
  • https://ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/B10860715.145163035;dc_pre=CNzT-eLSsN0CFY4m4Aod7k8K2A;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for...
42 B
120 B
Image
General
Full URL
https://ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/B10860715.145163035;dc_pre=CNzT-eLSsN0CFY4m4Aod7k8K2A;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
172.217.21.198 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f198.1e100.net
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
cache-control
no-cache, must-revalidate
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
42
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT

Redirect headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
x-content-type-options
nosniff
server
cafe
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
302
content-type
text/html; charset=UTF-8
location
https://ad.doubleclick.net/ddm/trackimp/N408002.112081CHIP.DE/B10860715.145163035;dc_pre=CNzT-eLSsN0CFY4m4Aod7k8K2A;dc_trk_aid=316834343;dc_trk_cid=78556514;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?
cache-control
no-cache, must-revalidate
follow-only-when-prerender-shown
1
timing-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame E65B
0
56 B
Image
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjssRaQi12EEYdToPAZtwzbTI9BXX935hhG_HUK9uC_32Q7g745Fjy3ejcGeokdmdOTuJlgxFHKtbTXK7DfyQJbj--A4VrjeEUJFwy8Dm7dYgSi75FMNUl6A8y9eLxc_FyUEqmBeB2iGdxx1iEvWLw65LiZK55anWxRzV22M95OKe-dvDELH1pNGLFY5witmGw25ldctgQrCLD5Pn8kdHlBuTlOyuCroPxqHLb2Ot0FC0bZnxG5bgIpq4zdvIK_I3Ba2eqtF8DTqU2lvD-Q7uBPX_qUO_simqPcU4HMYQ&sai=AMfl-YSrmosQBS6IHWg-JFS95AXXowkUvrKjFU_t8kgm-KbsPtXvRogZSD4cfOImaMOpsV75YahaBuOk8eDY1hQ3NSO6jOdcUqY4jxFmWr5Sl3XCOTs5YCBzsYTsb2w&sig=Cg0ArKJSzJyWDjCsezOpEAE&adurl=
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

timing-allow-origin
*
date
Mon, 10 Sep 2018 14:28:38 GMT
x-content-type-options
nosniff
server
cafe
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
200
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
x-xss-protection
1; mode=block
l
www.google.com/ads/measurement/ Frame E65B
0
71 B
Image
General
Full URL
https://www.google.com/ads/measurement/l?ebcid=ALh7CaTY5obF8tUUMeY2xLxRPKIXhTVRF880rjNCLJ4Uyuok1kGyCbhmBDV-DdizHzTcmBuflZPkncoLutPaP9H6ro7t8P0QUg
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:81f::2004 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

content-type
text/html; charset=UTF-8
select
ad.sxp.smartclip.net/
8 KB
2 KB
XHR
General
Full URL
https://ad.sxp.smartclip.net/select?type=dyn&ple=burda.chip.intxt.de.smartclip~~400x320&fwd_dt1=&cu_ress=downloads&fwd_dt2=&fwd_sz=400x320&ang_ref=https://www.chip.de/downloads/Android-File-Transfer_53192185.html&x=9&d1=2&d10=5&d11=0&d12=2&d2=4&d3=5&d4=0&d7=1&d8=1&d9=2&d13=4&d14=0&d15=4&d16=0&d18=0&i9=4&i13=3&i3=2&i21=4&i1=3&i14=4&i8=4&g1=0&g2=1&g3=0&g4=0&g5=1&n1=1&n2=1&n3=1&n4=0&n5=1&n6=1&n7=0&n8=1&n9=0&sinbest=5&s1=0&s2=0&survey_cap=1&frq_n=1&oneclicker=1&qualified=0&tv=2&ct_gnd=0&ct_qvc=0&d20=4&ct_agraf=0&ct_qc=0&nuggsid=474493238&ang_contxt=1&inswipe=true&optout=&consent=&optout=&consent=&rnd=38116368
Requested by
Host: dco.smartclip.net
URL: https://dco.smartclip.net/?plc=92747
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
176.34.121.0 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-176-34-121-0.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
59495fbc81066e3a85739c38ba73d8724e9195f48f664e911ddbd92c64647726

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Sc-Supply-Network
1
Vary
Accept-Encoding
P3P
CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
Access-Control-Allow-Origin
https://www.chip.de
Sc-Uuid
bebff81c-fee1-406f-8a90-58924ce2655b
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/xml; charset=utf-8
Sc-Device-Type
PC
Content-Length
1634
a.mp4
videos.chip.de/p/1741931/sp/174193100/serveFlavor/entryId/1_fm6che7o/v/1/flavorId/1_ullm0yuj/name/
320 KB
0
Media
General
Full URL
https://videos.chip.de/p/1741931/sp/174193100/serveFlavor/entryId/1_fm6che7o/v/1/flavorId/1_ullm0yuj/name/a.mp4
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28c::bf0 , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
nginx /
Resource Hash

Request headers

:path
/p/1741931/sp/174193100/serveFlavor/entryId/1_fm6che7o/v/1/flavorId/1_ullm0yuj/name/a.mp4
pragma
no-cache
cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; __gads=ID=78a6ac6d7af67528:T=1536589718:S=ALNI_MYvYVimTcb8GVmRj4yhsb2D8tOpVg
accept-encoding
identity;q=1, *;q=0
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
videos.chip.de
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
:scheme
https
range
bytes=131072-
:method
GET
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Accept-Encoding
identity;q=1, *;q=0
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Range
bytes=131072-

Response headers

date
Mon, 10 Sep 2018 14:28:38 GMT
access-control-allow-methods
GET, HEAD, OPTIONS
x-vod-session
860765434
status
206
Content-Length
6939174
Content-Range
bytes 131072-7070245/7070246
last-modified
Sun, 19 Nov 2000 08:52:00 GMT
server
nginx
etag
"3a1794b0-6be226"
x-vod-me
ny-front-vod17
content-type
video/mp4
access-control-allow-origin
*
access-control-expose-headers
Server,Content-Length,Content-Range,Date
cache-control
max-age=8640000
accept-ranges
bytes
access-control-allow-headers
Origin,Range,Accept-Encoding,Referer,Cache-Control
expires
Wed, 19 Dec 2018 14:28:38 GMT
csi
csi.gstatic.com/
0
202 B
Other
General
Full URL
https://csi.gstatic.com/csi?v=2&s=ima&dmc=8&puid=1~jlwduevl&c=8700347705467&e=668123008&alt=0&fb=ima-html5&sdkv=h.3.234.1&pid=3673&ppt=videojs-ima&ppv=1.5.1&mrd=8&aab=1&itv=1&met.4=ar.10r~vl.1ee&rcid=goog_404978636
Requested by
Host: imasdk.googleapis.com
URL: https://imasdk.googleapis.com/js/sdkloader/ima3.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:400c:c0b::5e , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
last-modified
Wed, 21 Jan 2004 19:51:30 GMT
server
Golfe2
status
204
content-type
image/gif
access-control-allow-origin
*
cache-control
no-cache, no-store, must-revalidate
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
iframe
d.adup-tech.com/ Frame E66A
0
0
Document
General
Full URL
https://d.adup-tech.com/iframe?p=b0a301db334008753f83ff78ea6764f9&s=1&f=01&id=76tduf7t&uid=ssJ06O6P0-ln-WDt1W8P&surl=www.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
Requested by
Host: s.d.adup-tech.com
URL: https://s.d.adup-tech.com/jsapi
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.154.14.76 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-154-14-76.eu-west-1.compute.amazonaws.com
Software
nginx /
Resource Hash

Request headers

:method
GET
:authority
d.adup-tech.com
:scheme
https
:path
/iframe?p=b0a301db334008753f83ff78ea6764f9&s=1&f=01&id=76tduf7t&uid=ssJ06O6P0-ln-WDt1W8P&surl=www.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
accept-encoding
gzip, deflate
cookie
uid=ssJ06O6P0-ln-WDt1W8P
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

status
200
date
Mon, 10 Sep 2018 14:28:40 GMT
content-type
text/html; charset=utf-8
server
nginx
p3p
policyref="/w3c/p3p.xml", CP="OTC NOI DSP COR PSAo PSDo IVAo IVDo OTPo OUR IND"
set-cookie
uid=ssJ06O6P0-ln-WDt1W8P; Domain=.d.adup-tech.com; Expires=Tue, 10-Sep-2019 14:28:40 GMT; Path=/
content-encoding
gzip
iframe
d.adup-tech.com/ Frame AC99
0
0
Document
General
Full URL
https://d.adup-tech.com/iframe?p=69139504101a193487ed1eb4af979f65&s=1&f=01&id=4dwduf64&uid=ssJ06O6P0-ln-WDt1W8P&surl=www.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
Requested by
Host: s.d.adup-tech.com
URL: https://s.d.adup-tech.com/jsapi
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.154.14.76 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-154-14-76.eu-west-1.compute.amazonaws.com
Software
nginx /
Resource Hash

Request headers

:method
GET
:authority
d.adup-tech.com
:scheme
https
:path
/iframe?p=69139504101a193487ed1eb4af979f65&s=1&f=01&id=4dwduf64&uid=ssJ06O6P0-ln-WDt1W8P&surl=www.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
accept-encoding
gzip, deflate
cookie
uid=ssJ06O6P0-ln-WDt1W8P
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

status
200
date
Mon, 10 Sep 2018 14:28:39 GMT
content-type
text/html; charset=utf-8
server
nginx
p3p
policyref="/w3c/p3p.xml", CP="OTC NOI DSP COR PSAo PSDo IVAo IVDo OTPo OUR IND"
set-cookie
uid=ssJ06O6P0-ln-WDt1W8P; Domain=.d.adup-tech.com; Expires=Tue, 10-Sep-2019 14:28:39 GMT; Path=/
content-encoding
gzip
/
farm.plista.com/video/vast/
119 B
771 B
XHR
General
Full URL
https://farm.plista.com/video/vast/?publickey=17931c374bc18a64718fdba5&widgetname=outstream_vast_3&vastver=3.0&playback_method=hover_sound_on
Requested by
Host: dco.smartclip.net
URL: https://dco.smartclip.net/?plc=92747
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a01:4f8:202:42d4::2 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
Software
nginx /
Resource Hash
51a92d0800cd66f6bf20e50b043d49f2fefa9dc368ae442a57a95e10edbd63bd

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
content-encoding
gzip
last-modified
Mon, 10 Sep 2018 14:28:39 GMT
server
nginx
status
200
access-control-allow-methods
GET, POST, OPTIONS
p3p
policyref="https://www.plista.com/w3c/p3p.xml", CP="CAO DSP COR TAIa PSAa PSDa IVAi IVDi CONi HISa OUR IND PHY ONL UNI COM NAV INT DEM STA PRE"
access-control-allow-origin
https://www.chip.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
content-type
text/xml; charset=utf-8
access-control-allow-headers
Origin, DNT, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Keep-Alive, Accept
content-length
127
expires
Mon, 26 Jul 1997 05:00:00 GMT
hic_qos
ssl.1.damoh.chip.de/
24 B
281 B
Script
General
Full URL
https://ssl.1.damoh.chip.de/hic_qos?adv_partner&_werbebanner_
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIG5hZUdoYWlURWlrZWlzaWU9bmFlR2hhaVRFaWtlaXNpZXx8e307CihmdW5jdGlvbihjKXtmdW5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nVuY3Rpb24oYSl7cmV0dXJuIDk8YT90aGlzLmJyOnRoaXMubnAoYSl9LG5wOmZ1bmN0aW9uKGEpe3JldHVybiAxMDxhP3RoaXMub3A6dGhpcy5xaChhKX0scWg6ZnVuY3Rpb24oYSl7cmV0dXJuIDg8YT90aGlzLnJoOnRoaXMuY20oYSl9LApjbTpmdW5jdGlvbihhKXtyZXR1cm4gMTA8YT90aGlzLmRtOnRoaXMua3UoYSl9LGt1OmZ1bmN0aW9uKGEpe3JldHVybiAzPGE/dGhpcy5sdTp0aGlzLm90KGEpfSxvdDpmdW5jdGlvbihhKXtyZXR1cm4gNDxhP3RoaXMucHQ6dGhpcy5TaChhKX0sU2g6ZnVuY3Rpb24oYSl7cmV0dXJuIDc8YT90aGlzLlRoOnRoaXMuZm8oYSl9LGZvOmZ1bmN0aW9uKGEpe3JldHVybiA0PGE/dGhpcy5obzp0aGlzLlFtKGEpfSxRbTpmdW5jdGlvbihhKXtyZXR1cm4gNTxhP3RoaXMuUm06dGhpcy5mKGEpfSxmOmZ1bmN0aW9uKGEpe3JldHVybiA1PGE/dGhpcy5nOmF9fX0pKGMpO3ZhciBHYz1jLnZpfHxHYyx2ZD1uZXcgR2MoMSxuZXcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKTt3aW5kb3cudj12ZC5hcig0KX0pLmNhbGwobmFlR2hhaVRFaWtlaXNpZSxuYWVHaGFpVEVpa2Vpc2llKTsK
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
144.76.220.226 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.226.220.76.144.clients.your-server.de
Software
openresty/1.13.6.2 /
Resource Hash
ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc

Request headers

Pragma
no-cache
Accept-Encoding
gzip, deflate
Host
ssl.1.damoh.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
*/*
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; __gads=ID=78a6ac6d7af67528:T=1536589718:S=ALNI_MYvYVimTcb8GVmRj4yhsb2D8tOpVg
Connection
keep-alive
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Fri, 10 Aug 2018 12:19:04 GMT
Server
openresty/1.13.6.2
ETag
"5b6d82b8-18"
Content-Type
application/octet-stream
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
24
/
ssl.3.damoh.chip.de/ce5b7121216203fc074fd8b5e36d86543fec99bb/
109 B
670 B
XHR
General
Full URL
https://ssl.3.damoh.chip.de/ce5b7121216203fc074fd8b5e36d86543fec99bb/
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIG5hZUdoYWlURWlrZWlzaWU9bmFlR2hhaVRFaWtlaXNpZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3kuWGR8f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uIDk8YT90aGlzLmJyOnRoaXMubnAoYSl9LG5wOmZ1bmN0aW9uKGEpe3JldHVybiAxMDxhP3RoaXMub3A6dGhpcy5xaChhKX0scWg6ZnVuY3Rpb24oYSl7cmV0dXJuIDg8YT90aGlzLnJoOnRoaXMuY20oYSl9LApjbTpmdW5jdGlvbihhKXtyZXR1cm4gMTA8YT90aGlzLmRtOnRoaXMua3UoYSl9LGt1OmZ1bmN0aW9uKGEpe3JldHVybiAzPGE/dGhpcy5sdTp0aGlzLm90KGEpfSxvdDpmdW5jdGlvbihhKXtyZXR1cm4gNDxhP3RoaXMucHQ6dGhpcy5TaChhKX0sU2g6ZnVuY3Rpb24oYSl7cmV0dXJuIDc8YT90aGlzLlRoOnRoaXMuZm8oYSl9LGZvOmZ1bmN0aW9uKGEpe3JldHVybiA0PGE/dGhpcy5obzp0aGlzLlFtKGEpfSxRbTpmdW5jdGlvbihhKXtyZXR1cm4gNTxhP3RoaXMuUm06dGhpcy5mKGEpfSxmOmZ1bmN0aW9uKGEpe3JldHVybiA1PGE/dGhpcy5nOmF9fX0pKGMpO3ZhciBHYz1jLnZpfHxHYyx2ZD1uZXcgR2MoMSxuZXcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKTt3aW5kb3cudj12ZC5hcig0KX0pLmNhbGwobmFlR2hhaVRFaWtlaXNpZSxuYWVHaGFpVEVpa2Vpc2llKTsK
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.139.104 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.104.139.251.148.clients.your-server.de
Software
TornadoServer/4.5.3 /
Resource Hash
480f7a2020234eb7d1f5745fbc8ec7f6535905cdeddda4a8b5d63bf6466c33c5

Request headers

Pragma
no-cache
Origin
https://www.chip.de
Accept-Encoding
gzip, deflate
Host
ssl.3.damoh.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-type
application/x-www-form-urlencoded
Accept
*/*
Cache-Control
no-cache
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Cookie
CXOid=0.28632896932745; s_fid=4C84469BB7195702-079F35F47EAAC35F; gpv=ir-13725907%20%7C%20android%20file%20transfer%20%5Bdownloads%20%3E%20macos%5D; s_dslv_s=First%20Visit; s_vnum=1568125717945%26vn%3D1; s_invisit=true; s_ppvl=%5B%5BB%5D%5D; s_ppv=ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C39%2C39%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP; s_cc=true; s_dslv=1536589717964; s_vi=[CS]v1|2DCB3FCB053131F8-6000010DE0000391[CE]; __gads=ID=78a6ac6d7af67528:T=1536589718:S=ALNI_MYvYVimTcb8GVmRj4yhsb2D8tOpVg
Connection
keep-alive
Content-Length
371
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-type
application/x-www-form-urlencoded

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Server
TornadoServer/4.5.3
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET, POST, OPTIONS
Content-Type
application/json; charset=UTF-8
Access-Control-Allow-Origin
https://www.chip.de
Access-Control-Expose-Headers
X-Homad-Instance, X-Homad-Long-Ad-Ignored, X-Homad-Sig, X-Homad-Url, X-Homad-Vpaid-Ignored, X-Homad-Ad-Id
Access-Control-Allow-Credentials
true
Connection
keep-alive
Access-Control-Allow-Headers
X-Homad-Compatible-Vpaid, X-Homad-Post, X-Homad-Url
Content-Length
109
config.json
c.go-mpulse.net/api/ Frame 45EF
913 B
879 B
XHR
General
Full URL
https://c.go-mpulse.net/api/config.json?key=DG6LL-C2K3J-45PG2-VMF2Q-KM6V9&d=www.chip.de&t=5121966&v=1.571.0&if=&sl=0&si=6ekojsglqj-NaN&plugins=ConfigOverride,Continuity,PageParams,IFrameDelay,AutoXHR,SPA,Angular,Backbone,Ember,History,RT,CrossDomain,BW,PaintTiming,NavigationTiming,ResourceTiming,Memory,CACHE_RELOAD,Errors,TPAnalytics,UserTiming,LOGN&acao=
Requested by
Host: s.go-mpulse.net
URL: https://s.go-mpulse.net/boomerang/DG6LL-C2K3J-45PG2-VMF2Q-KM6V9
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
104.108.48.32 Amsterdam, Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-108-48-32.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
6505922a9a43605568eb50ec69e4a6a36b19bec67067c67de90c27fed687e35c

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Vary
Accept-Encoding
Content-Type
application/json
Access-Control-Allow-Origin
https://www.chip.de
Cache-Control
private, max-age=300, stale-while-revalidate=60, stale-if-error=120
Connection
keep-alive
Timing-Allow-Origin
*
Content-Length
541
container.html
tpc.googlesyndication.com/safeframe/1-0-29/html/ Frame 8C91
0
0
Document
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-29/html/container.html
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_246.js?cb=243
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

:method
GET
:authority
tpc.googlesyndication.com
:scheme
https
:path
/safeframe/1-0-29/html/container.html
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
accept-encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
timing-allow-origin
*
content-length
1479
date
Wed, 05 Sep 2018 20:44:38 GMT
expires
Thu, 05 Sep 2019 20:44:38 GMT
last-modified
Mon, 11 Jun 2018 14:38:59 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
1; mode=block
cache-control
public, immutable, max-age=31536000
age
409441
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
native-loader.js
video.unrulymedia.com/native/
7 KB
3 KB
Script
General
Full URL
https://video.unrulymedia.com/native/native-loader.js
Requested by
Host: a.bf-ad.net
URL: https://a.bf-ad.net/pubjs/chip/adengine.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.109.71.169 Amsterdam, Netherlands, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a104-109-71-169.deploy.static.akamaitechnologies.com
Software
AmazonS3 /
Resource Hash
5b58686217cec6765ea771d68b6e150c01f272e66aeb93a3bac137cb365c0810

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Last-Modified
Mon, 10 Sep 2018 13:54:45 GMT
Server
AmazonS3
x-amz-request-id
323187C0B05F74CA
ETag
"dc0eb87c492fd40f5c22ed9da95c057b"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
max-age=140
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
2720
x-amz-id-2
X+5/7PhPw0BvALKI21LQHjugMdHq7RTTzPCglaIx56bsYfJGbvyfKJ9QAUG43FIHUR3WR9HsLp4=
jquery.min.js
ajax.googleapis.com/ajax/libs/jquery/3.1.1/ Frame C826
85 KB
30 KB
Script
General
Full URL
https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
Requested by
Host: video.unrulymedia.com
URL: https://video.unrulymedia.com/native/native-loader.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:825::200a , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
85556761a8800d14ced8fcd41a6b8b26bf012d44a318866c0d81a62092efd9bf
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 03 Sep 2018 12:18:59 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
612580
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
30244
x-xss-protection
1; mode=block
last-modified
Tue, 20 Dec 2016 18:17:03 GMT
server
sffe
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
*
cache-control
public, max-age=31536000, stale-while-revalidate=2592000
accept-ranges
bytes
timing-allow-origin
*
expires
Tue, 03 Sep 2019 12:18:59 GMT
blank.gif
stats3.unrulymedia.com/
43 B
607 B
Image
General
Full URL
https://stats3.unrulymedia.com/blank.gif?t=pp_tag_imp&app=native&pid=1026066&id=683022555&d=1536589719234&in_iframe=false&h=v1.0.1155-4-g960324b&compat=CSS1Compat&pageLoadId=20347011&supplyMode=direct&unr.site.env=html
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
34.252.16.212 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-34-252-16-212.eu-west-1.compute.amazonaws.com
Software
nginx/1.4.2 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
nginx/1.4.2
X-Unruly-Server
stats3n-eu-043.unrulymedia.com
P3P
CP="CUR IVDo OUR IND"
Cache-Control
no-store,no-cache
Connection
keep-alive
Content-Type
image/gif
Content-Length
43
native_v1.0.1155-4-g960324b.js
video.unrulymedia.com/native/ Frame C826
56 KB
16 KB
Script
General
Full URL
https://video.unrulymedia.com/native/native_v1.0.1155-4-g960324b.js
Requested by
Host: video.unrulymedia.com
URL: https://video.unrulymedia.com/native/native-loader.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.109.71.169 Amsterdam, Netherlands, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a104-109-71-169.deploy.static.akamaitechnologies.com
Software
AmazonS3 /
Resource Hash
dcacf94b511a1f0117435853d4ba31fead3db09fe316fb4cb476b218bb454aee

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 14:30:26 GMT
Server
AmazonS3
x-amz-request-id
ADA2247443AA9318
ETag
"d272b1b72c0538da57620309fe9f3320"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
max-age=62726497
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
15458
x-amz-id-2
Aag9JY0ymCIZYycB4lReeUHJOWsKY1zrWwMqz8DbbDddMLPlbMxqmRPTnfZYLB7oU61BtWMhsk4=
skin-1026066.json
cloud-video.unrulymedia.com/native/skins/ Frame C826
1 KB
870 B
XHR
General
Full URL
https://cloud-video.unrulymedia.com/native/skins/skin-1026066.json
Requested by
Host: ajax.googleapis.com
URL: https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.222.153.135 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-52-222-153-135.fra53.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
f6c43322b78f17d931449a03f935d47d05b89f578fc6a62d8067b37d7fec5d8a

Request headers

Accept
application/json, text/javascript, */*; q=0.01
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Tue, 04 Sep 2018 09:25:12 GMT
content-encoding
gzip
vary
Accept-Encoding,Origin,Access-Control-Request-Headers,Access-Control-Request-Method
age
2517
x-cache
Hit from cloudfront
status
200
access-control-allow-origin
https://www.chip.de
last-modified
Tue, 04 Sep 2018 02:35:44 GMT
server
AmazonS3
access-control-max-age
3000
access-control-allow-methods
GET
content-type
application/json
via
1.1 c0486ca54d4ad5a3da496bc2b5f49cd2.cloudfront.net (CloudFront)
cache-control
max-age=3600
access-control-allow-credentials
true
x-amz-cf-id
u4ppcmnDdYEV6Ef1Gu8OjmR0wdQDvKW17uN8kKoDxdXhq8-exrRCtw==
blank.gif
stats3.unrulymedia.com/ Frame C826
43 B
607 B
Image
General
Full URL
https://stats3.unrulymedia.com/blank.gif?t=consent&gdpr=1&gdpr_consent=BOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA&message=successful%20in%20retrieving%20consent%20data&app=native&pid=1026066&supplyMode=direct&isMobile=false&pageLoadId=20347011&unr.site.env=html&perf_consent_start=1536589719317&perf_consent_end=1536589719335&perf_corejs_start=1536589719234&perf_corejs_end=1536589719317&perf_skin_start=1536589719320&id=683022555&d=1536589719338&h=v1.0.1155-4-g960324b
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
34.252.16.212 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-34-252-16-212.eu-west-1.compute.amazonaws.com
Software
nginx/1.4.2 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
nginx/1.4.2
X-Unruly-Server
stats3n-eu-043.unrulymedia.com
P3P
CP="CUR IVDo OUR IND"
Cache-Control
no-store,no-cache
Connection
keep-alive
Content-Type
image/gif
Content-Length
43
vendors~populatePlacement-908105528161f418a882.chunk.js
video.unrulymedia.com/native/chunks/ Frame C826
109 KB
29 KB
Script
General
Full URL
https://video.unrulymedia.com/native/chunks/vendors~populatePlacement-908105528161f418a882.chunk.js
Requested by
Host: video.unrulymedia.com
URL: https://video.unrulymedia.com/native/native_v1.0.1155-4-g960324b.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.109.71.169 Amsterdam, Netherlands, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a104-109-71-169.deploy.static.akamaitechnologies.com
Software
AmazonS3 /
Resource Hash
4237fbd5c8f82cc0ae589a15643eaa4761da7287070ca74ad15cbc38316f889a

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 14:30:28 GMT
Server
AmazonS3
x-amz-request-id
7B3FEE0FD1653C40
ETag
"d6df29622ed3e937af06a3fa057f8c10"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
max-age=62726474
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
29138
x-amz-id-2
TI7TNi3SiQwnfHJkEAhAqAyyvjZ5ea2RaDxxr+FyT5m+BedWG/lCNLlWZe55hvcVO/AVfbFch0Q=
populatePlacement-ada1f20a982c99c06e2e.chunk.js
video.unrulymedia.com/native/chunks/ Frame C826
81 KB
20 KB
Script
General
Full URL
https://video.unrulymedia.com/native/chunks/populatePlacement-ada1f20a982c99c06e2e.chunk.js
Requested by
Host: video.unrulymedia.com
URL: https://video.unrulymedia.com/native/native_v1.0.1155-4-g960324b.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.109.71.169 Amsterdam, Netherlands, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a104-109-71-169.deploy.static.akamaitechnologies.com
Software
AmazonS3 /
Resource Hash
952f1bbc4ca6e8f2d37d4ea65956bb66d6c0761cf8a764ad70e886ea1c90951b

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Last-Modified
Thu, 06 Sep 2018 14:30:29 GMT
Server
AmazonS3
x-amz-request-id
0D2D0892BE21AA70
ETag
"42cd697e1cd393c49e85a9a31bffd1c4"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
max-age=62726557
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
19991
x-amz-id-2
W62oO+5Xglw2yhuvqbiE2lVCS7UzLIwAEtU9inAdf7M4TAj1eUITZbuCw4PUj22nraPgjIAjTB0=
container.html
tpc.googlesyndication.com/safeframe/1-0-29/html/ Frame 3EDE
0
0
Document
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-29/html/container.html
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_246.js?cb=243
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

:method
GET
:authority
tpc.googlesyndication.com
:scheme
https
:path
/safeframe/1-0-29/html/container.html
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
accept-encoding
gzip, deflate
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
timing-allow-origin
*
content-length
1479
date
Wed, 05 Sep 2018 20:44:38 GMT
expires
Thu, 05 Sep 2019 20:44:38 GMT
last-modified
Mon, 11 Jun 2018 14:38:59 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
1; mode=block
cache-control
public, immutable, max-age=31536000
age
409441
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
blank.gif
stats3.unrulymedia.com/ Frame C826
43 B
495 B
Image
General
Full URL
https://stats3.unrulymedia.com/blank.gif?t=pp_adcall&site.page=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&site.domain=www.chip.de&gdpr=1&gdpr_consent=BOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA&placementName=Chip.de%20Downloads%20-%20In-Article&adf=inarticle&imp%5B0%5D.placement=3&supplyMode=direct&app=native&pid=1026066&isMobile=false&pageLoadId=20347011&unr.site.env=html&perf_consent_start=1536589719317&perf_consent_end=1536589719335&perf_corejs_start=1536589719234&perf_corejs_end=1536589719317&perf_skin_start=1536589719320&perf_skin_end=1536589719365&perf_adAge_start=1536589719425&id=683022555&d=1536589719426&h=v1.0.1155-4-g960324b
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
34.252.16.212 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-34-252-16-212.eu-west-1.compute.amazonaws.com
Software
nginx/1.4.2 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
nginx/1.4.2
X-Unruly-Server
stats3n-eu-043.unrulymedia.com
P3P
CP="CUR IVDo OUR IND"
Cache-Control
no-store,no-cache
Connection
keep-alive
Content-Type
image/gif
Content-Length
43
vast
targeting.unrulymedia.com/ Frame C826
75 B
395 B
XHR
General
Full URL
https://targeting.unrulymedia.com/vast?uuid=68886cf3-2781-4561-a8d1-48fffefd9358&site.page=https%3A%2F%2Fwww.chip.de%2Fdownloads%2FAndroid-File-Transfer_53192185.html&site.domain=www.chip.de&gdpr=1&gdpr_consent=BOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA&video_width=600&video_height=337&imp%5B0%5D.placement=3&unr.site.env=html&h=v1.0.1155-4-g960324b
Requested by
Host: ajax.googleapis.com
URL: https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.154.209.235 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-154-209-235.eu-west-1.compute.amazonaws.com
Software
nginx/1.10.2 /
Resource Hash
bb806aec2acf3fad6e52d40cfa7dbbd4ebe64f99fafb1390e26993262c46f1d2

Request headers

Accept
application/xml, text/xml, */*; q=0.01
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Server
nginx/1.10.2
X-Unruly-Server
unrulyx-eu-209.unrulymedia.com
P3P
CP="CUR IVDo OUR IND"
Access-Control-Allow-Origin
https://www.chip.de
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/xml
Content-Length
75
osd_listener.js
tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/ Frame 0F3B
73 KB
0
Script
General
Full URL
https://tpc.googlesyndication.com/pagead/js/r20180904/r20110914/activeview/osd_listener.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
d9262cbf7f04dd3b4ba9b73a11cbd614a1e707f22317611aac9d294b20a85103
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Response headers

date
Tue, 04 Sep 2018 18:54:06 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
502472
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
27233
x-xss-protection
1; mode=block
server
cafe
etag
12076525581148098716
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
public, max-age=1209600
timing-allow-origin
*
expires
Tue, 18 Sep 2018 18:54:06 GMT
truncated
/ Frame 0F3B
214 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
80c12dda89b3ff3e58285446aea0d15c6471d320a22b02b3aa73e24a63785f89

Request headers

Response headers

Access-Control-Allow-Origin
*
Content-Type
image/png
view
securepubads.g.doubleclick.net/pcs/ Frame 0F3B
0
47 B
Image
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjst42DhAaupfmsMr8z9qi36XHDNPdjUbB8HYjejkhbadT6Iv_uhBOWzk2HpiH71e1sV4q9t34ZoVoisYc4w_sQaBrnemiT-PPAYREPrCIGmrGQ4FK8uITruV4yKKAOjoTIrMRDnmsXQo9r0DiSE0BvpQD-fNigCanp4fNjuKgNAIKGhYYOgDsXoLde957R9DmvCA9BCXV3taruM3eCaRcSROU4FHboFGu-QYo0Yu-7vQyxsV7UuwO6wH8Rpw0AD4Hic3_jSPvFUMOGvwWR7I&sai=AMfl-YQ734hUMdQUmhWhA9K8nG0s9Uh8GB2wuImVKjrsgCGfOBTzliiAeiK0tw0qAFoP9D0c1JAeReOMr2KCSiyDMFwMfnt07jhiRqXH8Tqerz3jXY_293L21wWby-s&sig=Cg0ArKJSzE11DiAPjH0zEAE&urlfix=1&adurl=
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

cache-control
private
content-type
text/html; charset=UTF-8
oba_icon.png
a.bf-ad.net/makabo/infolayer/
1 KB
2 KB
Image
General
Full URL
https://a.bf-ad.net/makabo/infolayer/oba_icon.png
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:292::30fb , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
30c065c5189582302f1fc91edd7f8c99956f6f8bd6c4b242081f41ab1c772b08

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Fri, 22 Sep 2017 12:02:08 GMT
Server
Apache
ETag
"06500e222cb4c36f129c357ffef7ad59:1507297036"
Content-Type
image/png
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
1319
Expires
Mon, 10 Sep 2018 14:43:39 GMT
close_icon.svg
a.bf-ad.net/makabo/infolayer/
249 B
564 B
Image
General
Full URL
https://a.bf-ad.net/makabo/infolayer/close_icon.svg
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a02:26f0:6c00:28b::30fb , European Union, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
Apache /
Resource Hash
6c2ad417bbd7492018e6d055a44ac6bbe8ba22eaadfee5f2b0bfacf14e656d22

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Content-Encoding
gzip
Last-Modified
Fri, 22 Sep 2017 14:10:20 GMT
Server
Apache
ETag
"e3de999fc591bfe4c5f337326f62ebf6:1507297035"
Vary
Accept-Encoding
Content-Type
image/svg+xml
Cache-Control
max-age=900
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
182
Expires
Mon, 10 Sep 2018 14:43:39 GMT
amp4ads-v0.js
cdn.ampproject.org/rtv/011535566825959/ Frame 5168
260 KB
83 KB
Script
General
Full URL
https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
46ab33a1c2d56dc8299e8bef5c29466ae9356a4515ddd449a0bfc05aa5e84af8
Security Headers
Name Value
Content-Security-Policy default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

content-security-policy
default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
content-encoding
gzip
x-content-type-options
nosniff
age
1005550
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
84387
x-xss-protection
1; mode=block
last-modified
Wed, 29 Aug 2018 20:15:00 GMT
server
sffe
date
Wed, 29 Aug 2018 23:09:29 GMT
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-type
text/javascript
access-control-allow-origin
*
vary
Accept-Encoding
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Thu, 29 Aug 2019 23:09:29 GMT
amp-analytics-0.1.js
cdn.ampproject.org/rtv/011535566825959/v0/ Frame 5168
110 KB
35 KB
Script
General
Full URL
https://cdn.ampproject.org/rtv/011535566825959/v0/amp-analytics-0.1.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_246.js?v=243
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
670506f73688fc179c5821d61cde38f34a52bb20a32021272d6216bb88488830
Security Headers
Name Value
Content-Security-Policy default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

content-security-policy
default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp
content-encoding
gzip
x-content-type-options
nosniff
age
612583
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
35847
x-xss-protection
1; mode=block
last-modified
Wed, 29 Aug 2018 20:15:00 GMT
server
sffe
date
Mon, 03 Sep 2018 12:18:56 GMT
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-type
text/javascript
access-control-allow-origin
*
vary
Accept-Encoding
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Tue, 03 Sep 2019 12:18:56 GMT
2702994414372938371
tpc.googlesyndication.com/simgad/ Frame 5168
38 KB
38 KB
Image
General
Full URL
https://tpc.googlesyndication.com/simgad/2702994414372938371
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
4ba552c11110fca501ffc26419491d101b5249a982438e0de4cfae032a782941
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Fri, 31 Aug 2018 15:40:47 GMT
x-content-type-options
nosniff
age
859672
x-dns-prefetch-control
off
status
200
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
38915
x-xss-protection
1; mode=block
last-modified
Fri, 14 Jul 2017 08:10:14 GMT
server
sffe
content-type
image/jpeg
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
expires
Sat, 31 Aug 2019 15:40:47 GMT
1x1_default.gif
s0.2mdn.net/viewad/5195550/ Frame 5168
Redirect Chain
  • https://ad.doubleclick.net/ddm/ad/N9551.2010700FORWARDADGROUP/B10146152.136200257;sz=1x1;ord=756788759;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=?
  • https://ad.doubleclick.net/ddm/ad/N9551.2010700FORWARDADGROUP/B10146152.136200257;dc_pre=COa1oePSsN0CFQuR3godwkoD8A;sz=1x1;ord=756788759;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=?
  • https://s0.2mdn.net/viewad/5195550/1x1_default.gif
1 KB
1 KB
Image
General
Full URL
https://s0.2mdn.net/viewad/5195550/1x1_default.gif
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2006 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
69f6ed7f178885f3442df08d55280f891b5b55d6312b459ffaa648f2fad95cec
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Mon, 10 Sep 2018 13:40:04 GMT
x-content-type-options
nosniff
last-modified
Fri, 03 Jun 2016 16:11:32 GMT
server
sffe
age
2915
status
200
content-type
image/gif
access-control-allow-origin
*
cache-control
public, max-age=86400
accept-ranges
bytes
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
1093
x-xss-protection
1; mode=block
expires
Tue, 11 Sep 2018 13:40:04 GMT

Redirect headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
x-content-type-options
nosniff
server
cafe
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
status
302
content-type
text/html; charset=UTF-8
location
https://s0.2mdn.net/viewad/5195550/1x1_default.gif
cache-control
no-cache, must-revalidate
timing-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame 5168
0
56 B
Image
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstwyxMPC-_PMPNa2MKXfRApH9dbOYpfk6Qk4Ru4RZSQCr2EKHkYsBiwTrIN4cQZyldFvWnV8IUVXCl3ansvFngravpWmLM5Bn3ICdlNGHWJFDXJwSfCk58OHvv21840UCYNEHSlUMrgmi6WGyoprYtTNGoxbBkU9UntItEwB6B7nwm3Bag8CMq-ZrYC3Z5XWDCSn3oCZbOP0YR5y3jtk02nERdGJdUZdkk0qxZNg5hUY-IS8j2tSpRmu04ZK_S0QXupHH1cgsd7rw-m7_G94Q&sai=AMfl-YSjD2JWjtQxDY_Z1rPffKhZ6-ESTL6noUOvckRDPXTjSdxkFm9dQp5zuEFVAtm_PIHps-arRl3MF83M14AYWqdqQFRCtFjcwylAjLd17zYztyCpo8GAzNYx7P8&sig=Cg0ArKJSzBQTaWPTl8WPEAE&adurl=
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
172.217.21.194 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s12-in-f2.1e100.net
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

cache-control
private
content-type
text/html; charset=UTF-8
blank.gif
stats3.unrulymedia.com/ Frame C826
43 B
495 B
Image
General
Full URL
https://stats3.unrulymedia.com/blank.gif?t=vast_request_0&vast_url=%2F%2Ftargeting.unrulymedia.com%2Fvast%3Fuuid%3D68886cf3-2781-4561-a8d1-48fffefd9358%26site.page%3Dhttps%253A%252F%252Fwww.chip.de%252Fdownloads%252FAndroid-File-Transfer_53192185.html%26site.domain%3Dwww.chip.de%26gdpr%3D1%26gdpr_consent%3DBOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26video_width%3D600%26video_height%3D337%26imp%255B0%255D.placement%3D3%26unr.site.env%3Dhtml%26h%3Dv1.0.1155-4-g960324b&app=native&pid=1026066&supplyMode=direct&isMobile=false&pageLoadId=20347011&unr.site.env=html&perf_consent_start=1536589719317&perf_consent_end=1536589719335&perf_corejs_start=1536589719234&perf_corejs_end=1536589719317&perf_skin_start=1536589719320&perf_skin_end=1536589719365&perf_adAge_start=1536589719425&perf_vast_0_start=1536589719429&perf_vast_0_end=1536589719692&id=683022555&d=1536589719692&h=v1.0.1155-4-g960324b
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
34.252.16.212 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-34-252-16-212.eu-west-1.compute.amazonaws.com
Software
nginx/1.4.2 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
nginx/1.4.2
X-Unruly-Server
stats3n-eu-043.unrulymedia.com
P3P
CP="CUR IVDo OUR IND"
Cache-Control
no-store,no-cache
Connection
keep-alive
Content-Type
image/gif
Content-Length
43
error
targaryen.unrulymedia.com/ Frame C826
0
289 B
XHR
General
Full URL
https://targaryen.unrulymedia.com/error
Requested by
Host: ajax.googleapis.com
URL: https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.48.133.165 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-48-133-165.eu-west-1.compute.amazonaws.com
Software
Jetty(9.4.z-SNAPSHOT) /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Access-Control-Request-Method
POST
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Access-Control-Request-Headers
content-type

Response headers

Access-Control-Allow-Origin
https://www.chip.de
Date
Mon, 10 Sep 2018 14:28:39 GMT
Access-Control-Allow-Credentials
true
Server
Jetty(9.4.z-SNAPSHOT)
Access-Control-Allow-Headers
Content-Type
Content-Length
0
Access-Control-Allow-Methods
POST,OPTIONS,HEAD
blank.gif
stats3.unrulymedia.com/ Frame C826
43 B
495 B
Image
General
Full URL
https://stats3.unrulymedia.com/blank.gif?t=no_ads&vastURL=%2F%2Ftargeting.unrulymedia.com%2Fvast%3Fuuid%3D68886cf3-2781-4561-a8d1-48fffefd9358%26site.page%3Dhttps%253A%252F%252Fwww.chip.de%252Fdownloads%252FAndroid-File-Transfer_53192185.html%26site.domain%3Dwww.chip.de%26gdpr%3D1%26gdpr_consent%3DBOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA%26video_width%3D600%26video_height%3D337%26imp%255B0%255D.placement%3D3%26unr.site.env%3Dhtml%26h%3Dv1.0.1155-4-g960324b&placementName=Chip.de%20Downloads%20-%20In-Article&adf=inarticle&imp%5B0%5D.placement=3&supplyMode=direct&message=VAST%20Error%3A%20%5B303%5D%20-%20VAST%20request%20returned%20no%20ads&app=native&pid=1026066&isMobile=false&pageLoadId=20347011&unr.site.env=html&perf_consent_start=1536589719317&perf_consent_end=1536589719335&perf_corejs_start=1536589719234&perf_corejs_end=1536589719317&perf_skin_start=1536589719320&perf_skin_end=1536589719365&perf_adAge_start=1536589719425&perf_vast_0_start=1536589719429&perf_vast_0_end=1536589719692&id=683022555&d=1536589719694&h=v1.0.1155-4-g960324b
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
34.242.119.131 , United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-34-242-119-131.eu-west-1.compute.amazonaws.com
Software
nginx/1.4.2 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

Date
Mon, 10 Sep 2018 14:28:39 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
nginx/1.4.2
X-Unruly-Server
stats3n-eu-044.unrulymedia.com
P3P
CP="CUR IVDo OUR IND"
Cache-Control
no-store,no-cache
Connection
keep-alive
Content-Type
image/gif
Content-Length
43
error
targaryen.unrulymedia.com/ Frame C826
0
278 B
XHR
General
Full URL
https://targaryen.unrulymedia.com/error
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.48.133.165 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-48-133-165.eu-west-1.compute.amazonaws.com
Software
Jetty(9.4.z-SNAPSHOT) /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Accept
application/json, text/javascript, */*; q=0.01
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
application/json; charset=UTF-8

Response headers

Access-Control-Allow-Origin
https://www.chip.de
Date
Mon, 10 Sep 2018 14:28:39 GMT
Access-Control-Allow-Credentials
true
Server
Jetty(9.4.z-SNAPSHOT)
Access-Control-Allow-Headers
Content-Type
Access-Control-Allow-Methods
POST,OPTIONS,HEAD
activeview
pagead2.googlesyndication.com/pcs/ Frame 740A
42 B
123 B
Image
General
Full URL
https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjsunw1ZPHZWXvOFnLbB0RtX_fwzEOfJFVkYCCyHCKBDc_EkXCHlBBarFa13VOJd9DrAqlL5iHoE5fApnk4YIx6Q-ux9CJ7UaBsM&sig=Cg0ArKJSzDmrSo7AbvZiEAE&adk=1162233392&tt=-1&bs=1585%2C1200&mtos=1069,1069,1069,1069,1069&tos=1069,0,0,0,0&p=62,308,312,1278&mcvt=1069&rs=3&ht=0&tfs=187&tls=1256&mc=1&lte=1&bas=0&bac=0&la=1&avms=geo&rst=1536589718493&rpt=323&ioa=1&mms=1&ps=1585%2C3527&ss=1600%2C1200&pt=-1&deb=1-1-7-16-16-21-54-8&tvt=1239&op=1&r=v&id=osdim&ti=1&uc=15&tgt=DIV&cl=1&cec=23&clc=1&cac=0&cd=970x250&v=r20180904
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:824::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
status
200
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
access-control-allow-origin
*
cache-control
no-cache, must-revalidate
content-type
image/gif
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
42
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT
activeview
pagead2.googlesyndication.com/pcs/ Frame 976F
42 B
110 B
Image
General
Full URL
https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjsv_ZjZKjOHOaYL8SDrTywzPdtObjz12hO4jpRY_WojmFaGFSMh4JHcdhtSr2osWvJ1Xy39Bsyhacl5xEYSOtX3pfFBTAgw2JhI&sig=Cg0ArKJSzJVZNmmebS5HEAE&adk=542669646&tt=-1&bs=1585%2C1200&mtos=1004,1004,1004,1004,1004&tos=1004,0,0,0,0&p=322,1305,922,1465&mcvt=1004&rs=3&ht=0&tfs=252&tls=1256&mc=1&lte=1&bas=0&bac=0&avms=geo&rst=1536589718673&rpt=207&ioa=1&mms=1&ps=1585%2C3527&ss=1600%2C1200&pt=-1&deb=1-1-7-16-16-21-54-8&tvt=1239&op=1&r=v&id=osdim&ti=1&uc=14&tgt=DIV&cl=1&cec=9&clc=1&cac=0&cd=160x1&v=r20180904
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:824::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:39 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
status
200
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
access-control-allow-origin
*
cache-control
no-cache, must-revalidate
content-type
image/gif
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
42
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT
rum.js
tpc.googlesyndication.com/pagead/js/r20180904/r20110914/ Frame 740A
42 KB
16 KB
Script
General
Full URL
https://tpc.googlesyndication.com/pagead/js/r20180904/r20110914/rum.js
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:818::2001 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
64d9a38c33903b30e069a71e71c855f80ce2e6d8360b50a9bfca2e5b3e3d2912
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

date
Tue, 04 Sep 2018 19:00:05 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
502115
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
content-disposition
attachment; filename="f.txt"
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
15946
x-xss-protection
1; mode=block
server
cafe
etag
15395581540536746001
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
public, max-age=1209600
timing-allow-origin
*
expires
Tue, 18 Sep 2018 19:00:05 GMT
csi
csi.gstatic.com/ Frame 740A
0
56 B
Other
General
Full URL
https://csi.gstatic.com/csi?v=2&s=pagead&action=csi_pagead&dmc=8&puid=1~jlwdug3c&chm=1&ctx=2&qqid=CN76w-LSsN0CFYqv7QodYmwElQ&met.4=fb.ak~lb.fz~ol.1hl~idt.mh~dt.7&met.3=197.fx~123.fv_3~121.g0~115.k5~122.k5~118.ka_1~118.kb~118.lw~118.lz~115.n9~122.n9~118.p7_3~115.q2~122.q2~118.rz~118.t7~115.t8~122.t8~118.vy~115.w0~122.w0~118.y2~118.y3~115.yw~122.yw~118.yw~118.zs~118.117~115.11o~122.11o~118.13s~115.14g~122.14h~118.16m~115.179~122.179~118.17n~118.1ah~118.1db_1~118.1g7~117.1hl~118.1hm~113.1hz_4~112.1hy_5&met.1=1.jlwdueld~14.1g~15.1g~16.1h~17.1h~18.1h~19.1h~20.1h~21.1h~22.jj~23.jj&met.7=CBsQCiD8Ajgd~CAcQChgBIP0CKP0CMIkDOAxo_QJwgwN4-NYBgAHh1AGIAZPKBLABAbgBAw~CCIQBhgBIP8CKP8CMJIDOBNo_wJwkQN4jQKwAQG4AQM~CBsQCiDcAzg4~CBsQCiDcAzgS~CBsQBiDcAzgu~CBsQBiDcAzgu~CBsQCiDABDgJ~CBsQBiDEBTgS~CBsQBiDJBThw~CCQQBhgBIM8FKM8FMNsFOAw~CBsQBiDPBTgt~CBsQBiDRBTgg~CBsQCiDpBTiEAQ~CBsQBiCABjgM~CBsQBiCQBjgN~CBsQBiDaBjgN~CBsQBiDaBjgY~CBsQBiCCBzgM~CBsQBSCLBziTAg~CBsQBiDgBzgj~CCAQBhgBIPENKPENMIsOOBpo8Q1wiw54e4ABKogBKrABAbgBAw~CBgQChgBIIsPKIsPMJIPOAdoiw9wkQ94uX2AAcp8iAGvzQKwAQG4AQM&met.2=15.n~16.xx5
Requested by
Host: tpc.googlesyndication.com
URL: https://tpc.googlesyndication.com/pagead/js/r20180904/r20110914/rum.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:400c:c0b::5e , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:40 GMT
last-modified
Wed, 21 Jan 2004 19:51:30 GMT
server
Golfe2
status
204
content-type
image/gif
access-control-allow-origin
*
cache-control
no-cache, no-store, must-revalidate
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
r
amp-error-reporting.appspot.com/ Frame E65B
2 B
155 B
XHR
General
Full URL
https://amp-error-reporting.appspot.com/r
Requested by
Host: cdn.ampproject.org
URL: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2014 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/ Express
Resource Hash
565339bc4d33d72817b583024112eb7f5cdf3e5eef0252d6ec1b9c9a94e12bb3

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

date
Mon, 10 Sep 2018 14:28:40 GMT
via
1.1 google
x-powered-by
Express
status
200
content-type
text/plain; charset=utf-8
access-control-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
2
activeview
pagead2.googlesyndication.com/pcs/ Frame E65B
42 B
110 B
Image
General
Full URL
https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjstUFVHOuuVovLpqnJ1mdwy6Ztr6-NMu3qyAxryZvWZ34fOC4QjRBXLsYCPxTFJCxJzqUV1AYLgrT3cgdXVLlBT2YN07zzA6FvY&sig=Cg0ArKJSzC-Rm07VygiiEAE&id=ampim&o=963,336&d=300,180&ss=1600,1200&bs=1600,1200&mcvt=1000&mtos=0,0,1000,1000,1000&tos=0,0,1000,0,0&tfs=132&tls=1132&g=99.99479055404663&h=99.99479055404663&r=v&pt=71&tt=1132&adk=685963231&avms=ampa
Requested by
Host: www.chip.de
URL: https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
2a00:1450:4001:824::2002 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:40 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
status
200
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
access-control-allow-origin
*
cache-control
no-cache, must-revalidate
content-type
image/gif
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="44,43,39,35",quic=":443"; ma=2592000; v="44,43,39,35"
content-length
42
x-xss-protection
1; mode=block
expires
Fri, 01 Jan 1990 00:00:00 GMT
third-party-iframes.html
video.unrulymedia.com/iframes/ Frame 668F
0
0
Document
General
Full URL
https://video.unrulymedia.com/iframes/third-party-iframes.html?h=v1.0.1155-4-g960324b&siteId=1026066&gdpr=1&gdpr_consent=BOT4PvXOT4PvpAjABBBFBP-AAAAdJbNIbYoawoSAuHKlVgAhAAqlgCgAyAQAEQACQAYAAEACSAEigBUACAAAAIQACAFACAAAAEAQEAAAAAA
Requested by
Host: ajax.googleapis.com
URL: https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.109.71.169 Amsterdam, Netherlands, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a104-109-71-169.deploy.static.akamaitechnologies.com
Software
AmazonS3 /
Resource Hash

Request headers

Host
video.unrulymedia.com
Connection
keep-alive
Pragma
no-cache
Cache-Control
no-cache
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Accept-Encoding
gzip, deflate
Cookie
unruly_u=uid=3ACB110A977F965B8D03D32202A0FD43; uid=ChHLOluWf5ci0wONQ/2gAg==
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id
73AD0953DAFE817D5FD0C2D060D378FC
Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html

Response headers

x-amz-id-2
JgxpZb62X5/oTfPtpXjcQft02ftspTUHzYotqIXjwC9yAZPo70YXnw3lkQoVWdY7udEICLYUcCs=
x-amz-request-id
3D7E1DE078089FC7
Last-Modified
Tue, 07 Aug 2018 11:31:02 GMT
ETag
"14c493dcffd4ce310fa513c9b978a0fe"
Accept-Ranges
bytes
Content-Type
text/html
Content-Length
389
Server
AmazonS3
Cache-Control
max-age=86349
Date
Mon, 10 Sep 2018 14:28:40 GMT
Connection
keep-alive
P3P
CP="CUR IVDo OUR IND"
r
amp-error-reporting.appspot.com/ Frame 5168
2 B
64 B
XHR
General
Full URL
https://amp-error-reporting.appspot.com/r
Requested by
Host: cdn.ampproject.org
URL: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js
Protocol
SPDY
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2a00:1450:4001:819::2014 , Ireland, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/ Express
Resource Hash
565339bc4d33d72817b583024112eb7f5cdf3e5eef0252d6ec1b9c9a94e12bb3

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

date
Mon, 10 Sep 2018 14:28:40 GMT
via
1.1 google
x-powered-by
Express
status
200
content-type
text/plain; charset=utf-8
access-control-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="44,43,39,35"
content-length
2
/
364bf6be.akstat.io/
0
199 B
Other
General
Full URL
https://364bf6be.akstat.io/
Requested by
Host: s.go-mpulse.net
URL: https://s.go-mpulse.net/boomerang/DG6LL-C2K3J-45PG2-VMF2Q-KM6V9
Protocol
SPDY
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
104.108.48.32 Amsterdam, Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-108-48-32.deploy.static.akamaitechnologies.com
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.chip.de/downloads/Android-File-Transfer_53192185.html
Origin
https://www.chip.de
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Content-Type
application/x-www-form-urlencoded

Response headers

pragma
no-cache
date
Mon, 10 Sep 2018 14:28:45 GMT
status
204
content-type
image/gif
access-control-allow-origin
https://www.chip.de
cache-control
max-age=0, no-cache, no-store
access-control-allow-credentials
true
timing-allow-origin
*
x-xss-protection
0
expires
Mon, 10 Sep 2018 14:28:45 GMT

Verdicts & Comments Add Verdict or Comment

247 JavaScript Global Variables

These are the non-standard "global" variables defined on the window object. These can be helpful in identifying possible client-side frameworks and code.

object| chip object| digitalData boolean| TfmediaExtFolEngineLoaded object| chip_currpage_json function| __cmp function| loadCSS function| _extends function| _typeof function| LazyLoad object| myLazyLoad boolean| isRedesignPage string| normalDlUrl string| downloadFileType boolean| downloaderAllowed boolean| downloaderDefinitelyBeingUsed object| _satellite object| queue number| rand function| writeCookie function| readCookie undefined| _sp_ undefined| script undefined| parentElem object| amznpassback function| amzn_ads object| amznads function| aax_write function| amznMatchCookie function| aax_render_ad object| cdivw string| szmvars object| OEWA object| iom object| oilJsonp object| core object| __core-js_shared__ object| global object| System function| asap function| Observable function| setImmediate function| clearImmediate object| regeneratorRuntime boolean| _babelPolyfill object| AS_OIL boolean| adtechNewLogic boolean| dealbarStatus object| _deq object| AdSystemLoader boolean| hasFEA string| playerCSS string| previewCSS string| currentPlayerCode string| adtechPageType object| currpage string| adsc_async string| adsc_ressort string| adsc_rubrik string| adsc_adunit1 string| adsc_adunit2 string| adsc_adunit3 string| adsc_adunit4 string| adsc_adunit5 string| adsc_layout string| adsc_device string| adsc_mobile string| adsc_keyword string| adsc_contentwidth string| adsc_pageid string| adsc_referrer object| mediator boolean| passiveEventSupport object| vibrantConfig object| _caq undefined| tfss_towerbanner object| style object| TFMDFP function| getContentHeight function| stickyLooper function| stickySkyscraper object| googletag object| permutive string| version function| webpackJsonp object| $scriptQueue boolean| cssLoaded boolean| previewCssLoaded boolean| TFM_adEngineHasRun object| TFM function| jsonpCallback number| timeout string| url object| promise object| header string| adsc_topchannel string| adsc_channel string| adsc_subchannel string| adsc_brand string| adsc_sw string| adsc_product object| dummyDiv function| sc_smartIntxtNoad number| index function| ads_gettag object| tfsads string| adsg_site object| adsg_inf undefined| _oldQueue object| _aeq object| google_js_reporting_queue object| google_ad_modifications boolean| google_measure_js_timing object| googleToken object| googleIMState function| processGoogleToken object| google_reactive_ads_global_state object| adsbygoogle function| obApi object| OBR string| OB_releaseVer function| OBR$ object| outbrain object| outbrain_rater function| generateInfolayer object| trip_c string| sidebar_target object| dmc_bd5739235da857f function| k function| m number| p function| n function| q function| r function| t function| dm_conative_prebid function| defineCallback boolean| adEngineVideoURLReady number| timestamp_burn object| _EQLService object| _EQPScript function| initiateInstaller function| forceInstaller function| useRegularLink function| $ function| jQuery function| _ string| cxops object| cdltq function| scrollListener number| BOOMR_lstart function| AppMeasurement_Module_ActivityMap function| AppMeasurement function| s_gi function| s_pgicq number| s_objectID number| s_giq object| s_c_il number| s_c_in object| optimizely string| f0 object| s_Obj string| s_PPVid function| s_PPVevent number| s_PPVi number| s_PPVt object| s_i_cxochipde-prod boolean| afterBottom object| vttjs function| WebVTT function| videojs object| f function| VideoPlayer object| pubsub object| priv function| dm_conative_main number| dm_conative_main_init object| dm_ccc_cmd object| GPT_jstiming object| closure_memoize_cache_ boolean| google_noFetch boolean| google_DisableInitialLoad number| __google_ad_urls_id number| google_unique_id object| gaGlobal object| players object| videoScrollspy string| publisherCMSVideoID object| vmConsentCookieFinder object| BOOMR object| BOOMR_mq function| Goog_AdSense_getAdAdapterInstance function| Goog_AdSense_OsdAdapter object| _EQPService object| _emqYL object| _emqConImpact string| ada_publisher object| _adrtx object| _emqAdexGif string| _emqstr object| naeGhaiTEikeisie number| v object| Dw object| Ew function| videopkgInterface function| InstreamapiDebug function| ois function| VASTParser function| ElementLocator function| SmartPlay function| Hammer object| VM function| Goog_AdSense_Lidar_sendVastEvent function| Goog_AdSense_Lidar_getViewability function| Goog_AdSense_Lidar_getUrlSignalsArray function| Goog_AdSense_Lidar_getUrlSignalsList object| ima object| google string| adsc_mode object| closure_lm_310966 object| google_persistent_state_async number| google_global_correlator object| __google_ad_urls object| ampInaboxIframes object| ampInaboxPendingMessages boolean| google_osd_loaded boolean| google_onload_fired object| closure_lm_727080 string| ois_21C29C0D544D4928A9079BEA070B06A4 function| macroModel function| Goog_Osd_UnloadAdBlock function| Goog_Osd_UpdateElementToMeasure function| google_osd_amcb object| AMP_CONFIG object| log object| AMPErrors boolean| ampInaboxInitialized object| AMP_MODE function| reportError object| AMP string| hic_qos number| BOOMR_configt object| _bmrEvents object| unruly number| __unrulyPageLoadId function| doAddFallback number| unruly:native-ad:nativeAdLoadedTimes number| BOOMR_onload

4 Cookies

Domain/Path Name / Value
.chip.de/ Name: s_ppv
Value: ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C34%2C34%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP
.chip.de/ Name: s_ppvl
Value: ir-13725907%2520%257C%2520android%2520file%2520transfer%2520%255Bdownloads%2520%253E%2520macos%255D%2C34%2C34%2C1200%2C1600%2C1200%2C1600%2C1200%2C1%2CP
.chip.de/ Name: RT
Value: "sl=1&ss=1536589717158&tt=8020&obo=0&bcn=%2F%2F364bf6be.akstat.io%2F&sh=1536589725181%3D1%3A0%3A8020&dm=chip.de&si=a887289a-a217-4e6b-98da-b0a30a1f235b&ld=1536589725181"
www.chip.de/ Name: GED_PLAYLIST_ACTIVITY
Value: W3sidSI6IlpVKzYiLCJ0c2wiOjE1MzY1ODk3MjUsIm52IjowLCJ1cHQiOjE1MzY1ODk3MTcsImx0IjoxNTM2NTg5NzE3fV0.

8 Console Messages

Source Level URL
Text
console-api log URL: https://adtm.chip.de/3469f5db1bb7fc021f6829a881d1c8a6df48a471/satelliteLib-1f360a6db91f2db811a8431bff692897ac6cf408.js(Line 5)
Message:
oil_shown_adobe
console-api log URL: https://filestorage.chip.de/videoplayer/videoplayer.3c21256c0e9dc3aaa93f.bundle.js(Line 2)
Message:
VIDEOJS:
console-api info URL: https://cdn.conative.de/artifacts-v2/43c6f871a3c1f0d8b2e0b0441d77d17a47c6dc7a/adscript.min.js(Line 97)
Message:
conative received prebid request for adSlotId 0
console-api log URL: https://k.intellitxt.com/intellitxt/front.asp?ipid=5154(Line 65)
Message:
VM: ReloadGo with consentStr: <{%22opt_in%22:true%2C%22timestamp%22:1536589717525%2C%22version%22:%221.1.33-BF-RELEASE%22%2C%22localeVariantName%22:%22bf%22%2C%22localeVariantVersion%22:0%2C%22privacy%22:{%221%22:true%2C%222%22:true%2C%223%22:true%2C%224%22:true%2C%225%22:true}}>consentType: <oil_data>
console-api info URL: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js(Line 533)
Message:
Powered by AMP ⚡ HTML – Version 1535566825959
console-api error URL: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js(Line 96)
Message:
localStorage not supported.
console-api info URL: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js(Line 533)
Message:
Powered by AMP ⚡ HTML – Version 1535566825959
console-api error URL: https://cdn.ampproject.org/rtv/011535566825959/amp4ads-v0.js(Line 96)
Message:
localStorage not supported.

Indicators

This is a term in the security industry to describe indicators such as IPs, Domains, Hashes, etc. This does not imply that any of these indicate malicious activity.

364bf6be.akstat.io
a.bf-ad.net
a.bf-tools.net
aax.amazon-adsystem.com
ad-js.chip.de
ad.doubleclick.net
ad.sxp.smartclip.net
ad.yieldlab.net
adservice.google.com
adservice.google.de
adstax-match.adrtx.net
adtm.chip.de
ajax.googleapis.com
amp-error-reporting.appspot.com
amplify.outbrain.com
amplifypixel.outbrain.com
an.facebook.com
beacon.krxd.net
bidder.criteo.com
c.amazon-adsystem.com
c.go-mpulse.net
c1.adform.net
cdn.adrtx.net
cdn.ampproject.org
cdn.conative.de
cdn.emetriq.de
cloud-video.unrulymedia.com
cm.g.doubleclick.net
counts.yieldlab.net
csi.gstatic.com
d.adup-tech.com
d.df-srv.de
d.nativendo.de
d3alqb8vzo7fun.cloudfront.net
dco.smartclip.net
de.ioam.de
des.smartclip.net
dmp.theadex.com
dsp.adfarm1.adition.com
farm.plista.com
filestorage.chip.de
hgc-cf-cache-1.svonm.com
ib.adnxs.com
images.intellitxt.com
imasdk.googleapis.com
irqs.ioam.de
k.intellitxt.com
match.adsrvr.org
p.rfihub.com
p.yieldlab.net
pagead2.googlesyndication.com
partners.wfxtriggers.com
ps.eyeota.net
rt.chip.de
s.d.adup-tech.com
s.go-mpulse.net
s0.2mdn.net
script.ioam.de
securepubads.g.doubleclick.net
smartclip.nuggad.net
somniture.chip.de
ssl.1.damoh.chip.de
ssl.3.damoh.chip.de
ssum-sec.casalemedia.com
stats3.unrulymedia.com
sync.mathtag.com
t.myvisualiq.net
targaryen.unrulymedia.com
targeting.unrulymedia.com
tlx.3lift.com
tpc.googlesyndication.com
tr.outbrain.com
uip.semasio.net
ups.xplosion.de
vibrant.mgr.consensu.org
video.unrulymedia.com
videoembed.chip.de
videos.chip.de
widgets.outbrain.com
www.chip.de
www.google.com
www.googletagservices.com
x.bidswitch.net
xpl.theadex.com
104.108.48.32
104.109.71.169
107.178.241.34
144.76.220.226
148.251.139.104
148.251.151.243
151.101.134.2
172.217.21.194
172.217.21.198
172.217.22.2
176.34.121.0
178.250.0.93
18.153.11.28
18.185.168.60
18.194.100.124
185.29.135.233
185.31.128.129
185.33.223.197
185.33.223.220
193.46.63.75
2.18.232.233
2.18.234.190
2.18.234.21
2001:16e0:10a:1::c1:1
2001:16e0:10a:1::c2:1
2600:9000:2047:ca00:1c:8c89:a300:93a1
2600:9000:2047:fe00:9:e42d:cc80:93a1
2a00:1450:4001:818::2001
2a00:1450:4001:818::200a
2a00:1450:4001:819::2001
2a00:1450:4001:819::2006
2a00:1450:4001:819::2014
2a00:1450:4001:81e::2002
2a00:1450:4001:81f::2004
2a00:1450:4001:824::2002
2a00:1450:4001:825::200a
2a00:1450:400c:c0b::5e
2a00:cd0:1005:2:80:82:201:80
2a01:4f8:202:42d4::2
2a02:26f0:6c00:284::1142
2a02:26f0:6c00:28b::30fb
2a02:26f0:6c00:28c::bf0
2a02:26f0:6c00:28f::1142
2a02:26f0:6c00:292::30fb
2a02:26f0:6c00:2bc::bf0
2a03:2880:f01c:800e:face:b00c:0:2
31.24.80.101
34.242.119.131
34.252.16.212
35.157.25.10
37.157.6.245
46.137.113.194
46.137.126.71
52.18.166.37
52.208.127.173
52.208.52.41
52.222.146.214
52.222.147.244
52.222.150.113
52.222.150.126
52.222.150.61
52.222.150.73
52.222.150.78
52.222.153.135
52.30.15.212
52.48.133.165
52.94.220.16
54.154.14.76
54.154.209.235
54.171.22.132
54.72.140.158
63.140.40.124
64.202.112.28
77.66.11.200
85.114.144.106
85.114.144.199
85.114.159.118
85.114.159.93
91.215.100.40
91.215.103.64
027b0dddbb2d6e00584e3159aef14a2859f06a0c47621b166523e57752307a4d
02fc09402ed0eacc82a0775185d88a5c55926568767dcec0038a63da5b175cf3
03f56c523e42f36e912b7109c0a97e43703d78c0884f59c07ff115e590e9fd7f
042b703a40f6f8e110aa580711d62180f50684859f59918ed69105cf36c08208
0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
0518773189fca34853eacbdd0915182e0a8942372199a109e7fb2a46e51374c9
0535c3bb3a17e4ac0fb7d29214d2181275662129dc2bdd2a89c35934e9fc5ba5
08b3d2cb0ce50558fa5981857bf280e3e590f7853d3ae33e5f6b76597f2a58bb
097041c492417db0fcdca6eb69f02c5925e29b6066acf5b8d5d460298752ee4d
09def6ea73f714a8b6f63b7ad4f7ecb708df079c893598e06966df827efb7dc4
0b83e579e58877029429493de2f98c28025164977fd48f763789f6bbab6b4e2c
0bd57dbc29c26c8db1dd5a00d5e39d294abb1ab823805458feadec8bb6fcc8b4
0ce06e90ff45dee22ede838c2cb6e3d185fc5aaa45206f15dfe1acaf9775e7e8
0d5dfd3690fb26eac90d5cfd9c75552a5f66766ed516fc5feb051bf1440bfdc4
0ddda9839c0f03c7cc800154368af8a65eeef1ad60c70559fa784d30f21b1165
0e0bd05bcb5921464af7ed4a5435e077b15175967374a3a5f96aba2247d2d864
13d01a91a2551b2330cd623855b2adcda9f371d720eb02ef3adcf3a5dbffcf6a
1bfb94c4c4ed58fa8d0c81006a568c3f4d7efc4c453c58b11115ad6cf57d8e87
1c86b047f9e6428cfbe4abc895303df8d2aad721d57136ec053476582d319226
1da1aacdf32c1154fda77c584f419812f8e0e24982786ea014ae44b85fe7bddb
1e2133170e649cfea51ed4afd733568930f2d4cc53961ed1fba84de58c2abd5b
202db84a742a669d5cea67ac16a2c432547cdeb0922422897de274e72298e17c
21cd5a7b8c2cb9345c6bfe0b17f0c8d94e997314d1400644d837d67abc723587
226c47b7d3427d9a1724333e73052536305778dce47c0f435d504f79744afd82
24c0ad02293c4d430bf9328484ea759625e1fffb5d820aa4530d592032746152
26c9c2ffd3d4ea43b62a3ac326dc386049bf49048f038e051f684dee2e4d88ca
2ac0bda221cfdc311f691f5b9fa2729efdfdb485f16e54f8089c3fc3ef50d354
2c58d4161a717be7779fc054c22883c300eb12b7556628c849c33aa104ee8ed6
30c065c5189582302f1fc91edd7f8c99956f6f8bd6c4b242081f41ab1c772b08
323b3e828035a91dc4ebbdb9a38a2220d08404131f815649f83f2be870f40b60
33ca751ed175a163bef530ebdcdbd0a2d15997ccbcbf8d50a6f504e8ffac5a5c
355ec6061c7818c5ac4e7d1d9cb56965255a632ba0d5fb49976d8c86024cc049
389d9ac2a9b303896c087649ef7758e2ec40acfedd1078a2216a8fd73df83bab
38ea6fa80f05fd43cbeeef4410f1cfc6cd309cff879a782519735a7585654e6c
3c46f11abb9fedf9ac6759180dfd4f443efa54aad2ca0b73efbb7e1b59aa750a
3e4882c7b6adf8be26c741c61bb4df88e4412dbc315cb734dd18cc29fc9b05c5
4007ca91f49ad2614a59d9347cfc72fba4a35abee3e8e2ab07813b64db22bc1f
409b714f0c6bd1cc832bf33ac83011cafe1e12b03e8412172275d29cf515ec65
4237fbd5c8f82cc0ae589a15643eaa4761da7287070ca74ad15cbc38316f889a
46ab33a1c2d56dc8299e8bef5c29466ae9356a4515ddd449a0bfc05aa5e84af8
480f7a2020234eb7d1f5745fbc8ec7f6535905cdeddda4a8b5d63bf6466c33c5
4ba552c11110fca501ffc26419491d101b5249a982438e0de4cfae032a782941
4e48c5d7b5ed9a46ce4bb8ce504cd2da2f350d66c342d1e5d1a8461fbc0e07cd
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
5048a2504c4315733dedf71143207a64faef50f62eea07f4d6fd1d9cdd1d99d7
50c0ac6ebe102fdb6da358a0f9b6fa2cb8ad829a776f8838babb8f0487419cdf
51a92d0800cd66f6bf20e50b043d49f2fefa9dc368ae442a57a95e10edbd63bd
525fd4bda968296354c5e6655e25a275c18146bbaf360ee1b5c1db729c94c8b6
538a73bb19a5c8a68c4c3ff31b01cc2150656c23c4f77316ddee1b2deb36c103
565339bc4d33d72817b583024112eb7f5cdf3e5eef0252d6ec1b9c9a94e12bb3
59495fbc81066e3a85739c38ba73d8724e9195f48f664e911ddbd92c64647726
59eef289b63cafa1d3889e072a1cfefa5f7bf785b525eabcf3aef0002cb5533a
5a3f1dd74233f605e511f1b5b244bedf85ac88ba264caf4d6401bc7ec2017dcd
5b58686217cec6765ea771d68b6e150c01f272e66aeb93a3bac137cb365c0810
6226d0f2e2f30bf71792b282b40113d65edc19466b895f33c2dc996409d17212
62763330432501cee46b4603a4321372108b05fbc083850bed4585f99739cf90
62f2eeec7851ae0d5e322062cf40092478236d4a4fc5a2cfd87b257739104147
62f86efbbf362718d8b5cdd6c4a3fd7261f9512e383359286c0da5355c0c503f
63014e0db08db9a1ba9a35d531d3ccefa158e33f53f436142550ef0d0acd5b5f
64d9a38c33903b30e069a71e71c855f80ce2e6d8360b50a9bfca2e5b3e3d2912
6505922a9a43605568eb50ec69e4a6a36b19bec67067c67de90c27fed687e35c
66a7f220521242ab44a0f1cb8cbb4ec4422abeb057a0d1510a0a3f3ff60fb91b
670506f73688fc179c5821d61cde38f34a52bb20a32021272d6216bb88488830
694834f00526512ca65046c4b7519d2a100560cd871455f2246f0393ba567fcd
69f6ed7f178885f3442df08d55280f891b5b55d6312b459ffaa648f2fad95cec
6c2ad417bbd7492018e6d055a44ac6bbe8ba22eaadfee5f2b0bfacf14e656d22
760e4b5d62fd40555e5378e6216c0d4bec64c26bd39d3418b59e14c46ad0aa08
76a77c2946e361ce2578a6ad8cb494c43cf10222212948aab1c36f0ffc467450
77f4d860f1bb21b949f9f23ef951609331cfc2d20eabc9f6cee348fde9cf2da8
7db88358fc27c1bd55e13e06a6439e4f564a5c5bd75843413eff22a77f391c0e
80c12dda89b3ff3e58285446aea0d15c6471d320a22b02b3aa73e24a63785f89
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
85556761a8800d14ced8fcd41a6b8b26bf012d44a318866c0d81a62092efd9bf
86f0604b3e2f0617e88f739b6cfc368ace4a520e3f4044e1b22394f49abb28eb
870e27cad33d8dc47d855e12048aad477184ca7d45b5b6812f70ffc2b34b1649
872a89b71125b119ae4d455f15ca37c270a0702070ea4a9b10af70022210d2a7
8778ba53b998ae44cb9a271b72c299b2bf539ac1b33ca360e7bc10253698b850
8de1e71fbe6b18721745691e4bc988068868564fcc74de2e9cdb05402d9f20eb
8eecf0a2944ad09c2017e2351de3edd35017eb94e1f3f412e4c942701f9f0687
92a1b0df334580a9784edb23c8b77fb0d9d617122cd953c4dc3c8c32b29d9f75
943e0dc9bd434fc272621a73673894ab9a32a4acc68a96809ed2da7585eee780
949a8bb15f2ab2ba00ee6c0d6689f7bfb555c873b833b626ac666602fd88d227
952f1bbc4ca6e8f2d37d4ea65956bb66d6c0761cf8a764ad70e886ea1c90951b
95f1c67bdd3a0fcd6a4aaea0916b983b178990c126296fd82f894f05bd040dca
96462e773b00c01a79cd885a78e923ea67fe8765c6d1ba38410133b222b34c71
967fc73388397671e36cab8d0d1083058881d67d7a63be24041e492628309974
96a277140a07c8bfdbf6926bd41c2b1b9915e266760ad9f34f26069ec9cb8c2a
97f4a90cf712c7ba9c33bfa1684ca989731e94549bce7cd07d00d8bf5ead4e93
98cab46844c5321e2681b64894ea3545cf9b80d86f41400ec60d015d57b02f06
9ce0815e04e67d2dde584322db795c23301b0794797fbcd84210d49bc89ad28a
9d02d662da8a47fb5fb610b545007507b6017028043dbb63cd09ec897d3b9627
9ed3a2ae1ef227fdc6f09c78bcc9a1e590da910c1c276f96b2aaf86d6c4a952e
9efa53ec1a261a8576a66a71befaf9d03c1a108aac36271f4599b87597b8a71e
a0e44788e4f67a669b3e7f76e40ef57b5e6f5a6e647a5c68500520f58654d904
a1ecbaed793a1f564c49c671f2dd0ce36f858534ef6d26b55783a06b884cc506
a6a1913cb604f6626586e00b44f3d5a9efd6929752a59b87366d5f0ca70d39e4
a6e4b3001b9006e3c0c658a2205b83c2088388fbbd90d9a2e7a9a3657d25ab49
a821ef2e57f7a813859e0757693071df87135628c3d8f017bc499d0322afeba6
a92618a39ca0b874fe2c10608c9ccb1da20fe96cdd6ba1bee086179e3743dc22
aa7b7560ae2a84c1b82ea3606755598e7e171d827634472fa54f75743327b3ae
aa7cda73ad0fdc3ee543442599840b5182eb66f5d5fbe6cf6e9a6d44c3e5551f
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
acb5bb4213314a2c2f339557c140ffd7febc186871522dc82b0f0580f979e6c4
adb39c104018084189bf781785cfcb0ec458b3716a465201c4e53b3361e5d119
ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc
aee550e3ea4a294b63c1da465eb0f814a806dc5b8e2ec76c0129ef72884b356f
af331e1a65a2d58fa6a41a12789e98d9a8236e972ff2d2719e5f64466fd3feb5
af71e5d84379e977c529d7f2e90751cd55d9303cd9072c934624ddc6828cf34f
afd78436d7aa99bb2eaa5072f1f455a7e00fdf53c5cd9c19921b14e1c6c39b5f
afe0dcfca292a0fae8bce08a48c14d3e59c9d82c6052ab6d48a22ecc6c48f277
b001be44e53a0b5c52327701170e75b18b032edb0062402e1d43cc9772633b3e
b0149cebf2aabd5f085727f8d89a2e95b844f0a646c69027c32d3027694e2a69
b015b0cf826bfaa0ead29ba2dcaa3d7b32f802257b192d9518ab86ca836b5a38
b1442e85b03bdcaf66dc58c7abb98745dd2687d86350be9a298a1d9382ac849b
bb806aec2acf3fad6e52d40cfa7dbbd4ebe64f99fafb1390e26993262c46f1d2
bbbfc98b4c2571bf9507e45e3e237b9e24b880748900027aed5e421f8a6fa4bc
be923a4db5597031f5e3189d0ceee2a71b4faddb7c20ed8ec90b6cbd80140a7b
c5db83fccd1ba5f75cb3c453eb4c09e0f73f79e0337edd7107441f5e9798dc0d
c927695a6166edbfb66984db84b2913dcc6da4c9af0c0072dfd3807e660cd5b6
cf00d01204e6980f758858462f84aa567e85710b1f138546535fc3788f8f1b57
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda
d40b5f84c921f3c3075d01ec5cebcaeea07068ed43f0ff9204381eb1e575f085
d9262cbf7f04dd3b4ba9b73a11cbd614a1e707f22317611aac9d294b20a85103
db8556e4c9fd6ef2cbf3f6802335c822229cb816980c6b0f3b16a92214f88aa2
dc87a2442d1fb08192d768befada253e79bb82af3d77c2827f260cba9ea0bf7f
dcacf94b511a1f0117435853d4ba31fead3db09fe316fb4cb476b218bb454aee
dfd9bd92ae5147930219f47fd1db6dc3de97b1287f5f453a549fc6e838abba0f
e0b8436d50fb200de76d7a25cf450ea238cd100197f8e9d462e9228153da873f
e37a88100825cf11e2592364c1fe83dfd2e28c04eb0766d2c04ce77027a771e9
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
e4da1d289ab89639768b2685742ead0e6c31997e6b29d241cdcc4427998d1a64
e832be11265d7211c4d6a39727d1f1dc0deb7225138ac6bb9627df33446b8477
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
f1379a9c047773af19ec6c4f9a465e0147cbabc785342c01110b43304179196a
f6c43322b78f17d931449a03f935d47d05b89f578fc6a62d8067b37d7fec5d8a
f7505e6aa0b337a6b561ea835262b6a45bb36848e971a6122b00bf9172f9b51c
fea76a36651a6a153f98259cd2f9b1d1da70b2c4bbccf38c3bd0606d6d35f768
ffd863adce73bcd5ecb00753cb264120d71714252835f94e336b5f2a842eb81c