URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Submission: On May 15 via manual from DE

Summary

This website contacted 60 IPs in 12 countries across 39 domains to perform 206 HTTP transactions. The main IP is 77.247.84.129, located in Germany and belongs to SYSELEVEN SysEleven GmbH, DE. The main domain is www.golem.de.
TLS certificate: Issued by GeoTrust RSA CA 2018 on July 27th 2018. Valid for: a year.
This is the only time www.golem.de was scanned on urlscan.io!

urlscan.io Verdict: No classification

Domain & IP information

IP Address AS Autonomous System
38 77.247.84.129 25291 (SYSELEVEN...)
1 2a02:26f0:6c0... 20940 (AKAMAI-ASN1)
4 2a00:13c8:f5:... 25291 (SYSELEVEN...)
4 2a00:13c8:f5:... 25291 (SYSELEVEN...)
2 2a00:13c8:f5:... 25291 (SYSELEVEN...)
1 91.215.103.64 43407 (INFONLINE-AS)
1 2 161.156.66.178 36351 (SOFTLAYER)
13 2a00:1450:400... 15169 (GOOGLE)
1 13.32.223.212 16509 (AMAZON-02)
1 104.111.214.228 16625 (AKAMAI-AS)
5 11 2.19.33.59 20940 (AKAMAI-ASN1)
1 80.82.201.88 48173 (UNBELIEVA...)
9 138.201.125.235 24940 (HETZNER-AS)
5 2a00:1450:400... 15169 (GOOGLE)
1 2a00:1450:400... 15169 (GOOGLE)
20 216.58.206.2 15169 (GOOGLE)
8 2a00:1450:400... 15169 (GOOGLE)
1 193.46.63.75 43407 (INFONLINE-AS)
1 2 91.215.100.40 43407 (INFONLINE-AS)
1 138.197.186.29 14061 (DIGITALOC...)
1 2a00:1450:400... 15169 (GOOGLE)
3 148.251.131.173 24940 (HETZNER-AS)
1 77.247.84.149 25291 (SYSELEVEN...)
1 1 2a00:1450:400... 15169 (GOOGLE)
1 2a00:1450:400... 15169 (GOOGLE)
2 52.216.228.179 16509 (AMAZON-02)
2 2a00:1450:400... 15169 (GOOGLE)
6 23.111.11.152 33438 (HIGHWINDS2)
2 2a01:4f8:202:... 24940 (HETZNER-AS)
3 13.32.223.225 16509 (AMAZON-02)
1 151.101.121.108 54113 (FASTLY)
6 37.252.173.27 29990 (ASN-APPNEXUS)
2 2 185.33.223.202 29990 (ASN-APPNEXUS)
1 2606:4700:30:... 13335 (CLOUDFLAR...)
2 2a00:1450:400... 15169 (GOOGLE)
8 95.216.24.150 24940 (HETZNER-AS)
1 2a00:1450:400... 15169 (GOOGLE)
2 148.251.235.107 24940 (HETZNER-AS)
1 136.243.102.69 24940 (HETZNER-AS)
3 6 104.111.215.171 16625 (AKAMAI-AS)
8 2a00:1450:400... 15169 (GOOGLE)
1 185.64.189.112 62713 (AS-PUBMATIC)
1 35.203.66.107 15169 (GOOGLE)
2 185.33.223.209 29990 (ASN-APPNEXUS)
1 1 172.217.22.98 15169 (GOOGLE)
1 2.20.169.32 16625 (AKAMAI-AS)
2 2404:6800:400... 15169 (GOOGLE)
3 2a03:2880:f01... 32934 (FACEBOOK)
3 148.251.69.233 24940 (HETZNER-AS)
2 2 52.212.134.12 16509 (AMAZON-02)
1 1 136.243.12.39 24940 (HETZNER-AS)
2 2 37.157.6.245 198622 (ADFORM)
3 136.243.5.229 24940 (HETZNER-AS)
2 2a03:2880:f11... 32934 (FACEBOOK)
1 104.111.215.51 16625 (AKAMAI-AS)
1 104.111.215.68 16625 (AKAMAI-AS)
1 2606:4700:30:... 13335 (CLOUDFLAR...)
1 89.163.159.107 24961 (MYLOC-AS)
1 62.168.44.118 5588 (GTSCE GTS...)
4 54.171.119.13 16509 (AMAZON-02)
1 3.122.160.52 16509 (AMAZON-02)
1 2600:9000:20b... 16509 (AMAZON-02)
1 85.114.144.107 24961 (MYLOC-AS)
1 52.210.48.228 16509 (AMAZON-02)
1 1 89.163.159.110 24961 (MYLOC-AS)
1 52.213.21.157 16509 (AMAZON-02)
206 60
Apex Domain
Subdomains
Transfer
52 golem.de
www.golem.de
cpxl.golem.de
video.golem.de
ads.golem.de
cpx.golem.de
ssl.2.damoh.golem.de
ssl.1.damoh.golem.de
751 KB
24 doubleclick.net
securepubads.g.doubleclick.net
stats.g.doubleclick.net
googleads.g.doubleclick.net
cm.g.doubleclick.net
443 KB
17 plista.com
static.plista.com
insights.plista.com
farm.plista.com
media.plista.com
161 KB
16 googlesyndication.com
pagead2.googlesyndication.com
tpc.googlesyndication.com
203 KB
13 googletagservices.com
www.googletagservices.com
277 KB
12 adnxs.com
cdn.adnxs.com
fra1-ib.adnxs.com
secure.adnxs.com
ib.adnxs.com
acdn.adnxs.com
37 KB
12 m6r.eu
tracking.m6r.eu
cdn.m6r.eu
8 KB
9 onthe.io
cdn.onthe.io
tt.onthe.io
30 KB
7 selfcampaign.com
lib.selfcampaign.com
delivery.selfcampaign.com
track2.selfcampaign.com
track.selfcampaign.com
6 KB
5 adscale.de
ih.adscale.de
js.adscale.de
8 KB
5 google.de
adservice.google.de
1 KB
4 xplosion.de
ups.xplosion.de
uss.xplosion.de
6 KB
4 ioam.de
script.ioam.de
irqs.ioam.de
de.ioam.de
13 KB
3 theadex.com
dmp.theadex.com
api.theadex.com
xpl.theadex.com
14 KB
3 meetrics.net
lb44.s400.meetrics.net
907 B
3 facebook.net
connect.facebook.net
71 KB
3 svonm.com
hgc-cf-cache-1.svonm.com
59 KB
2 adrtx.net
cdn.adrtx.net
adstax-match.adrtx.net
848 B
2 facebook.com
www.facebook.com
319 B
2 adform.net
c1.adform.net
461 B
2 adsrvr.org
match.adsrvr.org
1 KB
2 gstatic.com
csi.gstatic.com
112 B
2 districtm.io
dmx.districtm.io
cdn.districtm.io
271 B
2 pubmatic.com
hbopenbid.pubmatic.com
ads.pubmatic.com
114 B
2 googleapis.com
imasdk.googleapis.com
81 KB
2 amazonaws.com
s3.amazonaws.com
1 KB
2 google-analytics.com
www.google-analytics.com
ssl.google-analytics.com
17 KB
2 vgwort.de
ssl-golem.met.vgwort.de
733 B
1 emetriq.de
cdn.emetriq.de
2 KB
1 mookie1.com
de-gmtdmp.mookie1.com
673 B
1 ibillboard.com
bbcdn-bbnaut.ibillboard.com
1014 B
1 yieldlab.net
ad.yieldlab.net
495 B
1 2mdn.net
s0.2mdn.net
11 KB
1 radiantmediatechs.com
cdn.radiantmediatechs.com
3 KB
1 google.com
adservice.google.com
261 B
1 nuggad.net
si.nuggad.net
1 KB
1 mxcdn.net
s400.mxcdn.net
45 KB
1 yieldlove.com
cdn-a.yieldlove.com
87 KB
1 stroeerdigitalgroup.de
cdn.stroeerdigitalgroup.de
62 KB
206 39
Domain Requested by
38 www.golem.de www.golem.de
cdn.stroeerdigitalgroup.de
cdn.adnxs.com
20 securepubads.g.doubleclick.net www.googletagservices.com
securepubads.g.doubleclick.net
www.golem.de
13 www.googletagservices.com cdn.stroeerdigitalgroup.de
pagead2.googlesyndication.com
securepubads.g.doubleclick.net
11 tracking.m6r.eu 5 redirects www.golem.de
9 static.plista.com www.golem.de
static.plista.com
8 tpc.googlesyndication.com securepubads.g.doubleclick.net
8 tt.onthe.io cdn.onthe.io
8 pagead2.googlesyndication.com www.golem.de
pagead2.googlesyndication.com
6 fra1-ib.adnxs.com www.golem.de
cdn.adnxs.com
5 adservice.google.de www.googletagservices.com
4 ih.adscale.de 3 redirects js.adscale.de
4 video.golem.de www.golem.de
text
4 cpxl.golem.de www.golem.de
3 lb44.s400.meetrics.net www.golem.de
3 track2.selfcampaign.com www.golem.de
3 connect.facebook.net lib.selfcampaign.com
connect.facebook.net
3 media.plista.com www.golem.de
3 hgc-cf-cache-1.svonm.com www.golem.de
text
3 insights.plista.com static.plista.com
www.golem.de
2 uss.xplosion.de www.golem.de
2 ups.xplosion.de cdn.stroeerdigitalgroup.de
cdn.emetriq.de
2 www.facebook.com www.golem.de
connect.facebook.net
2 c1.adform.net 2 redirects
2 match.adsrvr.org 2 redirects
2 csi.gstatic.com pagead2.googlesyndication.com
2 ib.adnxs.com cdn-a.yieldlove.com
www.golem.de
2 ssl.2.damoh.golem.de text
2 imasdk.googleapis.com www.golem.de
imasdk.googleapis.com
2 secure.adnxs.com 2 redirects
2 farm.plista.com static.plista.com
www.golem.de
2 googleads.g.doubleclick.net pagead2.googlesyndication.com
2 s3.amazonaws.com www.golem.de
text
2 lib.selfcampaign.com www.golem.de
2 de.ioam.de 1 redirects www.golem.de
2 ssl-golem.met.vgwort.de 1 redirects www.golem.de
2 ads.golem.de www.golem.de
1 adstax-match.adrtx.net cdn.adrtx.net
1 xpl.theadex.com 1 redirects
1 cdn.adrtx.net www.golem.de
1 api.theadex.com bbcdn-bbnaut.ibillboard.com
1 cdn.emetriq.de ups.xplosion.de
1 de-gmtdmp.mookie1.com
1 bbcdn-bbnaut.ibillboard.com cdn.stroeerdigitalgroup.de
1 dmp.theadex.com cdn.stroeerdigitalgroup.de
1 js.adscale.de cdn.stroeerdigitalgroup.de
1 cdn.districtm.io cdn-a.yieldlove.com
1 ads.pubmatic.com cdn-a.yieldlove.com
1 acdn.adnxs.com cdn-a.yieldlove.com
1 track.selfcampaign.com 1 redirects
1 delivery.selfcampaign.com lib.selfcampaign.com
1 ad.yieldlab.net www.golem.de
1 cm.g.doubleclick.net 1 redirects
1 dmx.districtm.io cdn-a.yieldlove.com
www.golem.de
1 hbopenbid.pubmatic.com cdn-a.yieldlove.com
1 cdn.m6r.eu cdn.stroeerdigitalgroup.de
1 ssl.1.damoh.golem.de text
1 s0.2mdn.net imasdk.googleapis.com
1 cdn.radiantmediatechs.com www.golem.de
1 cdn.adnxs.com static.plista.com
1 stats.g.doubleclick.net www.golem.de
1 ssl.google-analytics.com 1 redirects
1 cpx.golem.de www.golem.de
1 www.google-analytics.com www.golem.de
1 cdn.onthe.io www.golem.de
1 irqs.ioam.de script.ioam.de
1 adservice.google.com www.googletagservices.com
1 si.nuggad.net cdn.stroeerdigitalgroup.de
1 s400.mxcdn.net cdn.stroeerdigitalgroup.de
1 cdn-a.yieldlove.com cdn.stroeerdigitalgroup.de
1 script.ioam.de www.golem.de
1 cdn.stroeerdigitalgroup.de www.golem.de
206 71
Subject Issuer Validity Valid
*.golem.de
GeoTrust RSA CA 2018
2018-07-27 -
2019-08-28
a year crt.sh
cdn.stroeerdigitalgroup.de
DigiCert ECC Secure Server CA
2018-12-04 -
2020-03-04
a year crt.sh
*.ioam.de
COMODO RSA Organization Validation Secure Server CA
2017-12-22 -
2020-12-21
3 years crt.sh
*.met.vgwort.de
Thawte RSA CA 2018
2018-05-22 -
2020-03-25
2 years crt.sh
*.g.doubleclick.net
Google Internet Authority G3
2019-04-30 -
2019-07-23
3 months crt.sh
cdn-a.yieldlove.com
Amazon
2018-10-11 -
2019-11-11
a year crt.sh
*.mxcdn.net
DigiCert SHA2 Secure Server CA
2018-09-27 -
2019-11-26
a year crt.sh
cat.adscale.de
DigiCert SHA2 Secure Server CA
2018-08-10 -
2019-09-09
a year crt.sh
*.nuggad.net
Gandi Standard SSL CA 2
2018-01-12 -
2020-01-16
2 years crt.sh
*.plista.com
COMODO RSA Domain Validation Secure Server CA
2017-04-11 -
2020-07-10
3 years crt.sh
*.google.com
Google Internet Authority G3
2019-04-16 -
2019-07-09
3 months crt.sh
*.onthe.io
Sectigo RSA Domain Validation Secure Server CA
2019-03-04 -
2020-05-02
a year crt.sh
*.google-analytics.com
Google Internet Authority G3
2019-04-16 -
2019-07-09
3 months crt.sh
*.selfcampaign.com
Starfield Secure Certificate Authority - G2
2018-06-28 -
2020-07-28
2 years crt.sh
s3.amazonaws.com
DigiCert Baltimore CA-2 G2
2018-12-03 -
2019-10-25
a year crt.sh
hgc-cf-cache-1.svonm.com
Amazon
2018-08-09 -
2019-09-09
a year crt.sh
cdn.adnxs.com
GlobalSign CloudSSL CA - SHA256 - G3
2019-04-24 -
2019-06-07
a month crt.sh
*.adnxs.com
DigiCert ECC Secure Server CA
2019-01-23 -
2021-03-08
2 years crt.sh
radiantmediatechs.com
CloudFlare Inc ECC CA-2
2019-03-19 -
2020-03-19
a year crt.sh
*.googleapis.com
Google Internet Authority G3
2019-04-16 -
2019-07-09
3 months crt.sh
*.doubleclick.net
Google Internet Authority G3
2019-04-16 -
2019-07-09
3 months crt.sh
ssl.1.damoh.golem.de
Let's Encrypt Authority X3
2019-05-09 -
2019-08-07
3 months crt.sh
tpc.googlesyndication.com
Google Internet Authority G3
2019-04-30 -
2019-07-23
3 months crt.sh
*.pubmatic.com
Sectigo RSA Organization Validation Secure Server CA
2019-02-22 -
2021-02-21
2 years crt.sh
dmx.districtm.io
Let's Encrypt Authority X3
2019-04-06 -
2019-07-05
3 months crt.sh
*.yieldlab.net
DigiCert SHA2 Secure Server CA
2018-12-12 -
2020-03-12
a year crt.sh
*.facebook.com
DigiCert SHA2 High Assurance Server CA
2019-04-22 -
2019-07-21
3 months crt.sh

COMODO RSA Domain Validation Secure Server CA
2016-12-08 -
2019-12-08
3 years crt.sh
districtm.io
CloudFlare Inc ECC CA-2
2019-03-26 -
2020-03-26
a year crt.sh
*.theadex.com
GeoTrust RSA CA 2018
2018-02-16 -
2019-10-19
2 years crt.sh
*.ibillboard.com
Thawte RSA CA 2018
2018-05-21 -
2020-06-21
2 years crt.sh
*.xplosion.de
Thawte RSA CA 2018
2018-12-10 -
2020-02-08
a year crt.sh
*.mookie1.com
DigiCert SHA2 Secure Server CA
2019-02-07 -
2020-03-22
a year crt.sh
*.emetriq.de
RapidSSL TLS RSA CA G1
2018-01-08 -
2020-03-08
2 years crt.sh
*.adrtx.net
GeoTrust TLS RSA CA G1
2018-09-05 -
2020-11-03
2 years crt.sh

This page contains 22 frames:

Primary Page: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Frame ID: 7D54605BE1933467FB4CD6A06783953E
Requests: 152 HTTP requests in this frame

Frame: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Frame ID: 24073F07B89DDE5B23237CEC5ABA7B3C
Requests: 7 HTTP requests in this frame

Frame: https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/show_ads_impl.js
Frame ID: 61873C7C95BF3265B35FA9C61CF8AD25
Requests: 1 HTTP requests in this frame

Frame: https://googleads.g.doubleclick.net/pagead/html/r20190513/r20190131/zrt_lookup.html
Frame ID: 0A58F2E5DC0FB88C993094417DC92FFE
Requests: 1 HTTP requests in this frame

Frame: https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2342548244565729&output=html&h=120&slotname=7370415692&adk=795422400&adf=1229236390&w=1000&lmt=1557932487&num_ads=2&guci=1.2.0.0.2.2.0.0&format=1000x120&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&flash=0&wgl=1&adsid=NT&dt=1557932486790&bpp=40&bdt=834&fdt=381&idt=381&shv=r20190513&cbv=r20190131&saldr=aa&abxe=1&correlator=7308550299401&rume=1&frm=20&pv=2&ga_vid=154558382.1557932487&ga_sid=1557932487&ga_hid=1317382592&ga_fc=1&iag=0&icsg=3393333577668544&dssz=65&mdo=0&mso=32&u_tz=0&u_his=2&u_java=0&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_nplug=0&u_nmime=0&adx=293&ady=2007&biw=1585&bih=1200&scr_x=0&scr_y=0&eid=20040081%2C21060549%2C21060853%2C410075103%2C20040010&oid=3&rx=0&eae=0&fc=656&brdim=0%2C0%2C0%2C0%2C1600%2C0%2C1600%2C1200%2C1600%2C1200&vis=1&rsz=%7C%7CeEbr%7C&abl=CS&pfx=0&fu=16&bc=31&osw_key=4092314402&ifi=1&uci=1.fu8oc8mto3pv&fsb=1&xpc=Q6jlf2PstG&p=https%3A//www.golem.de&dtd=435
Frame ID: B40E10CEEFAF9B3D68C234100AD07F20
Requests: 1 HTTP requests in this frame

Frame: https://imasdk.googleapis.com/js/core/bridge3.304.0_de.html
Frame ID: F4F2A094C664043B1B15BC164077006A
Requests: 1 HTTP requests in this frame

Frame: data://truncated
Frame ID: DCD152A5A6FCE8400358567834A8970F
Requests: 1 HTTP requests in this frame

Frame: https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvGgg5akOC4z_4M-RY86l8tmFFeK6liI2WtyvBqS2kPH3F3a-bT8LIo6iS68vLz-EQjp0uzkrCumvTaKyuzcouQaUE0xR9j8X0ekPZWNQcO30QXiugqeQjFLw-3rDV2WQMJGEH6Ff3MP_hhQpTVwzPmrAyBF3IJk-YUXvhWVZ5CRtdJ6c-0fkoJTo8BWX5pVRH1dXmp2ChEpULK30ktCzPitzGrn1uwbWmR8FSdRx8HHhdU0TPVBrOvzyJTBmwYKBLGncGqIwMc8LcSI9F0&sai=AMfl-YTyiVZ7HvmvHsG4gyTTudFd9HR1I1CPMECtejOFCx54QbkWXbL5zEE4HxcabI4v1SFNHf1yUA0C53ULyIalI4-LzuTCtSLvOCdDBHiBeiLLKP2xRGb6-DILiNg&sig=Cg0ArKJSzNP9A51Ml8xpEAE&urlfix=1&adurl=
Frame ID: 0901CB40C7BEB72B49ED0C9DED99165C
Requests: 11 HTTP requests in this frame

Frame: https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjssb-LPsjtBVlW1AYYECIZ66djU9xwZ9vKZQBYktAShsRn2P5pKpBKsdKTdP2Vj4ObJsntZkauNdLon0GzKshG3l4He5tBQQ1b31K0hOxU6SULydprpsUMfPtjxhNpbasNNCG7cfowcshx_77QTmPN19NlldFiYn30WuFsuw1pX7-ZHz6VrUFKTNCCiUGHtbCeWeTUbHAMQq-Adm2zXtibRkG7OOBGZSRxo8Ht6wr5c9NnwijOOaIc8wJrlAw1i2nHqyorYF14iSubkGbniD&sai=AMfl-YSm08r5c8SoOClsxVQtXUWdQgZDWGL6rKykg3Hqik76Nqopm8kyPT_tp_w6jat3hipZeIG0rN28aYPmxVspkGg8eWnB9Aqs-EZO9J5PTiUs9xkhm1hV_aggiQM&sig=Cg0ArKJSzFTrn2CpV_YXEAE&urlfix=1&adurl=
Frame ID: 07F8AE8051FB53C23591D8BD89AD13DF
Requests: 11 HTTP requests in this frame

Frame: https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstlfasP71v16dn5a-_YjrIcfmeM2e9_9rRh3DdS2f0lRCpMNv9xgwsMufjX9ls8AiMsoHagH3PHIwT4aiZu2JYP4TA4DhSZE_IDif9k4GZWgkKBvxgSRTmz_7_b0lC1NV_5um-1u0Gf4XbLgR3X5cog4ZVSePR1NcDevcu6ifWs_Mz931sxGoeJR4DKhEklZyJPK5c2HpEx4kooGi1dECEre9k30yHc27uKPFFoWRdMrVUelPmOgrBOvqZJr0EjAUjKI4nowQDsma2AO8ey&sai=AMfl-YQSYKzcwL8OKBFNpG7l_mB0FnHYZg1adaqKwgzm9kwaWZapY4eUcfQgouekDS8lsPui6inIFs5IAtn4nZJX5FyCClxy-RXasWu5x15oer16umXf7q7amtzcnIw&sig=Cg0ArKJSzJl27LnbZOBBEAE&urlfix=1&adurl=
Frame ID: DCA47B9186968B27F1267BC8DEC28347
Requests: 11 HTTP requests in this frame

Frame: https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstZd2EhF9PAwmOAW0JxUCSNbfo7z5mEbROR-WvE5UguNquadV_fPedL4Qo1Ye2pdNTqutgA7l9B5nVhEApNTiJaF-V_JJXY04IFu8pEih5tNRybFY0TT6G8lwoKctdKkLkytDTge-i1wRej1wAhUsYvAQvKaWme-FXqndpgezji77-OV7B4BpPYDT93VrOWfLsXrBRN1tYcLlmufqyZ2XGIaqnPj_eIxL5CmIs4uS2S8uXY3SsIR3u2VQCOrVWdgfnXx64jqBqgENH7m0Gp&sai=AMfl-YQlY8MUpHLEQn7acdab5GOAT-8-dnQvBs60HSo2yt5PBBlJHmLEPtvl0i4HFz9irI2DGt0ahZReOTyF9CLakJdBj0U-vvplKu8kGhE6kfbZHGHbNyJOlRzJi5g&sig=Cg0ArKJSzFo_09O334SSEAE&urlfix=1&adurl=
Frame ID: 8D9076299A91528E9CB2C6B35C6B38D2
Requests: 9 HTTP requests in this frame

Frame: https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Frame ID: 38D4631F47BA81FE28F28BA66886F420
Requests: 1 HTTP requests in this frame

Frame: https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Frame ID: 22E5C2C8EBC27F7B00A807378E90D083
Requests: 1 HTTP requests in this frame

Frame: https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Frame ID: 171C55160D89FD19D50B31611C80B493
Requests: 1 HTTP requests in this frame

Frame: https://delivery.selfcampaign.com/tag/146005/frame?title=Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger%20-%20Golem.de&meta_keywords=&meta_description=Eigentlich%20soll%20das%20Best-of-the-Web-Siegel%20die%20Sicherheit%20von%20Webseiten%20zertifizieren%2C%20stattdesse...
Frame ID: 725C6F03902C656B65BE7FBBE655A653
Requests: 1 HTTP requests in this frame

Frame: https://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html
Frame ID: 6E6A9897EB9C7CCD9AC8AA3098662AAE
Requests: 1 HTTP requests in this frame

Frame: https://ads.pubmatic.com/AdServer/js/showad.js
Frame ID: 09F9877722B905EED5994DEF7914BECB
Requests: 1 HTTP requests in this frame

Frame: https://cdn.districtm.io/ids/index.html
Frame ID: CDCE875884AE62182FC044B7329505F1
Requests: 1 HTTP requests in this frame

Frame: https://www.facebook.com/tr/
Frame ID: 7B2EB1D6B131FC335FC9A69F88FB266B
Requests: 1 HTTP requests in this frame

Frame: https://uss.xplosion.de/usersync?sid=65966&fpid=4192566266405755871
Frame ID: 83E1CC27566B05D50BD1EE6FCF4775B9
Requests: 1 HTTP requests in this frame

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

Frame: https://ih.adscale.de/map?ssl=1&format=video&nut&uu=14ae0a1b078f4a458e98be33ab19d584
Frame ID: A3117C3337570C0047FD77B4EE6E441D
Requests: 1 HTTP requests in this frame

Screenshot


Detected technologies

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

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

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

Overall confidence: 100%
Detected patterns
  • env /pbjs/i

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

Overall confidence: 100%
Detected patterns
  • script /\/\/connect\.facebook\.net\/[^\/]*\/[a-z]*\.js/i

Overall confidence: 100%
Detected patterns
  • 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 /^szmvars$/i
  • env /^iam_data$/i

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

Page Statistics

206
Requests

100 %
HTTPS

33 %
IPv6

39
Domains

71
Subdomains

60
IPs

12
Countries

2393 kB
Transfer

6035 kB
Size

1
Cookies

Redirected requests

There were HTTP redirect chains for the following requests:

Request Chain 17
  • https://ssl-golem.met.vgwort.de/na/8d3a440bbcf940299484ce12b865866d HTTP 302
  • https://ssl-golem.met.vgwort.de/blank.gif
Request Chain 21
  • https://tracking.m6r.eu/sync/dmp HTTP 302
  • https://tracking.m6r.eu/sync/dmp?checkcookies=true
Request Chain 43
  • https://de.ioam.de/tx.io?st=golem&cp=G_SEC&sv=i2&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.golem.de&xy=1600x1200x24&lo=DE%2FHessen&cb=0018&i2=00185baa8738ec99f5cdc29c6&ep=1588577014&vr=414&id=s9k4qs&i3=00185baa8738ec99f5cdc29c6%3A1584889286649%3A1557932486649%3A.golem.de%3A1%3Agolem%3AG_SEC%3Anoevent%3A1557932486649%3Anby4n5&n1=1&dntt=0&lt=1557932486653&ev=&cs=jc2sjt&mo=1 HTTP 302
  • https://de.ioam.de/tx.io?st=golem&cp=G_SEC&sv=i2&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.golem.de&xy=1600x1200x24&lo=DE%2FHessen&cb=0018&i2=00185baa8738ec99f5cdc29c6&ep=1588577014&vr=414&id=s9k4qs&i3=00185baa8738ec99f5cdc29c6%3A1584889286649%3A1557932486649%3A.golem.de%3A1%3Agolem%3AG_SEC%3Anoevent%3A1557932486649%3Anby4n5&n1=1&dntt=0&lt=1557932486653&ev=&cs=jc2sjt&mo=1&sr=71
Request Chain 59
  • https://ssl.google-analytics.com/r/__utm.gif?utmwv=5.7.2&utms=1&utmn=530231576&utmhn=www.golem.de&utmcs=UTF-8&utmsr=1600x1200&utmvp=1585x1200&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=-&utmdt=Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger%20-%20Golem.de&utmhid=1317382592&utmr=-&utmp=%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&utmht=1557932486743&utmac=UA-518800-2&utmcc=__utma%3D21769261.154558382.1557932487.1557932487.1557932487.1%3B%2B__utmz%3D21769261.1557932487.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&aip=1&utmjid=1525606687&utmredir=1&utmu=qBQAAAAAAAAAAAAAAAAAAAAE~ HTTP 302
  • https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-518800-2&cid=154558382.1557932487&jid=1525606687&_v=5.7.2&z=530231576
Request Chain 88
  • https://secure.adnxs.com/getuid?https%3A%2F%2Ffarm.plista.com%2Fmatching%2Fpixel%2F%3Fssp%3Dc3de%26dsp_user_id%3D$UID HTTP 302
  • https://secure.adnxs.com/bounce?%2Fgetuid%3Fhttps%253A%252F%252Ffarm.plista.com%252Fmatching%252Fpixel%252F%253Fssp%253Dc3de%2526dsp_user_id%253D%24UID HTTP 302
  • https://farm.plista.com/matching/pixel/?ssp=c3de&dsp_user_id=6346681586954832159
Request Chain 130
  • https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n3=1&n5=5&n6=2&n7=2&n8=5&n9=0&n10=1&n11=1&n12=6&n17=4&n18=2&n20=2&n21=4&n33=4&n38=2&n39=4&n43=3&n44=3&n46=4&n52=2&n57=3&n58=4&n60=3&n62=3&n67=0&n70=4&n71=7&n75=0&n76=1&n77=0&n78=1&n79=1&n80=0&n81=1&n82=1&n83=0&n84=0&n85=1&n86=0&n87=0&n88=1&n117=2&n118=6&n119=3&n120=2&n121=2&n122=1&n123=2&n127=0&n128=2&n135=9&n15=1&n66=1&n89=2&n90=1&n92=1&n93=3&n94=2&n97=1&n98=1&n99=1&n101=1&n104=1&n106=1&n107=1&n114=1&n115=1&n124=1&n125=1&n126=1&n139=1&n153=1&n154=1&n155=1&n156=1&n157=1&n158=1&n159=1&n160=1&n161=1 HTTP 302
  • https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n3=1&n5=5&n6=2&n7=2&n8=5&n9=0&n10=1&n11=1&n12=6&n17=4&n18=2&n20=2&n21=4&n33=4&n38=2&n39=4&n43=3&n44=3&n46=4&n52=2&n57=3&n58=4&n60=3&n62=3&n67=0&n70=4&n71=7&n75=0&n76=1&n77=0&n78=1&n79=1&n80=0&n81=1&n82=1&n83=0&n84=0&n85=1&n86=0&n87=0&n88=1&n117=2&n118=6&n119=3&n120=2&n121=2&n122=1&n123=2&n127=0&n128=2&n135=9&n15=1&n66=1&n89=2&n90=1&n92=1&n93=3&n94=2&n97=1&n98=1&n99=1&n101=1&n104=1&n106=1&n107=1&n114=1&n115=1&n124=1&n125=1&n126=1&n139=1&n153=1&n154=1&n155=1&n156=1&n157=1&n158=1&n159=1&n160=1&n161=1&checkcookies=true
Request Chain 131
  • https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=aa71e10da3e37a80171888ccc7f0350b&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3Daa71e10da3e37a80171888ccc7f0350b%26userId%3Dadscale-user%3A__ADSCALE_USER_ID__ HTTP 302
  • https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=aa71e10da3e37a80171888ccc7f0350b&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3Daa71e10da3e37a80171888ccc7f0350b%26userId%3Dadscale-user%3A__ADSCALE_USER_ID__&nut&uu=70b9337cadd54c1cbd2f0f3b524c9a41 HTTP 307
  • https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=aa71e10da3e37a80171888ccc7f0350b&userId=adscale-user:70b9337cadd54c1cbd2f0f3b524c9a41 HTTP 302
  • https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=aa71e10da3e37a80171888ccc7f0350b&userId=adscale-user%3A70b9337cadd54c1cbd2f0f3b524c9a41&checkcookies=true
Request Chain 132
  • https://tracking.m6r.eu/sync/appnexusRedirect HTTP 302
  • https://ib.adnxs.com/setuid?entity=197&code=aa71e10da3e37a80171888ccc7f0350b
Request Chain 133
  • https://cm.g.doubleclick.net/pixel?google_nid=m6r&google_ula=158217889&google_hm=qnHhDaPjeoAXGIjMx_A1Cw HTTP 302
  • https://tracking.m6r.eu/sync/adxSyncDone?google_ula=158217889,0
Request Chain 134
  • https://tracking.m6r.eu/sync/yieldlabRedirect HTTP 302
  • https://ad.yieldlab.net/m?dt_id=36356&ext_id=aa71e10da3e37a80171888ccc7f0350b
Request Chain 184
  • https://match.adsrvr.org/track/cmf/generic?ttd_pid=b2bmedia&ttd_tpi=1&ttd_puid=2a345f73fd39ec760c6933a51227b039 HTTP 302
  • https://match.adsrvr.org/track/cmb/generic?ttd_pid=b2bmedia&ttd_tpi=1&ttd_puid=2a345f73fd39ec760c6933a51227b039 HTTP 302
  • https://track.selfcampaign.com/map_td/?tdid=45ce332b-46b1-45ca-a465-be0929065911 HTTP 302
  • https://track2.selfcampaign.com/map_td/?tdid=45ce332b-46b1-45ca-a465-be0929065911
Request Chain 185
  • https://c1.adform.net/serving/cookie/match?party=1173 HTTP 302
  • https://c1.adform.net/serving/cookie/match?CC=1&party=1173 HTTP 302
  • https://track2.selfcampaign.com/map_td/?tdid=2287851576156690562&source=adform
Request Chain 211
  • https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSa0WsbsBDa-BSU-BSUkWsfABifABSfABSfABiUABifABfrr&cb=https%3A%2F%2Fuss.xplosion.de%2Fusersync%3Fsid%3D65966%26fpid%3D%7B%7BUUID%7D%7D HTTP 307
  • https://uss.xplosion.de/usersync?sid=65966&fpid=4192566266405755871
Request Chain 213
  • https://ih.adscale.de/map?ssl=1&format=video HTTP 302
  • https://ih.adscale.de/map?ssl=1&format=video&nut&uu=14ae0a1b078f4a458e98be33ab19d584

206 HTTP transactions

Resource
Path
Size
x-fer
Type
MIME-Type
Primary Request Cookie set best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
www.golem.de/news/
113 KB
31 KB
Document
General
Full URL
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
e308c5b563f4ca46d35d9e3296a707ed62758a423d88a6a7d244209e61764e6e
Security Headers
Name Value
Strict-Transport-Security max-age=11001100; includeSubDomains; preload

Request headers

Host
www.golem.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,application/signed-exchange;v=b3
Accept-Encoding
gzip, deflate, br
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

Response headers

Server
nginx
Date
Wed, 15 May 2019 15:01:25 GMT
Content-Type
text/html; charset=UTF-8
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Set-Cookie
golem_viewauto=desktop%3Agoogle_chrome_67; expires=Thu, 16-May-2019 03:01:25 GMT; Max-Age=43200; path=/; domain=.golem.de
Strict-Transport-Security
max-age=11001100; includeSubDomains; preload
ETag
"PEAR-Cache-604decbdfee6009f5a37d338674916af"
Content-Encoding
gzip
Cache-Control
private
Vary
User-Agent, Accept-Encoding
golem_main_129-min.css
www.golem.de/staticrl/styles/
73 KB
20 KB
Stylesheet
General
Full URL
https://www.golem.de/staticrl/styles/golem_main_129-min.css
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
5a7eb85e3b035673ff1e9f66977c697902a8be8235e3ebbd233b8d2636cfaed1

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Mon, 08 Apr 2019 19:14:59 GMT
Server
nginx
ETag
W/"5cab9db3-124d7"
Vary
Accept-Encoding
Content-Type
text/css
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
gg2_1-0-0-min.css
www.golem.de/staticrl/styles/
3 KB
1 KB
Stylesheet
General
Full URL
https://www.golem.de/staticrl/styles/gg2_1-0-0-min.css
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
ff8d0cd9b6e1af7e78d6e1c78d2e71bd6c887ec2f83277305d69f8252f6c26d6

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-cc0"
Vary
Accept-Encoding
Content-Type
text/css
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
golem_main_114-min.js
www.golem.de/staticrl/scripts/
100 KB
41 KB
Script
General
Full URL
https://www.golem.de/staticrl/scripts/golem_main_114-min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
d250260787efed78dd06a1f30ef3503b52ce8271cc22a08b891adaf21eefabc1

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-190c7"
Vary
Accept-Encoding
Content-Type
application/javascript
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
metaTag.min.js
cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/
257 KB
62 KB
Script
General
Full URL
https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
2a02:26f0:6c00:194::5f76 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
Software
KONICHIWA/1.0 /
Resource Hash
95061a8820dde009f18dd271c6bdb828979a2aac2a79f931b066bc88df962fba

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
content-encoding
gzip
x-amz-request-id
3B581E392066AE48
status
200
access-control-max-age
86400
content-length
63276
x-amz-id-2
LMS+oXPOgCDw7U82Zcr0O91TdQ9LQr1xxwoeOGsFe3eX0zNSIEHILLSuLreoxuAI6D82b9pWXbY=
last-modified
Wed, 15 May 2019 14:32:24 GMT
server
KONICHIWA/1.0
etag
"1f2a8c5e247bd23c0427f94279591dd8"
vary
Accept-Encoding
access-control-allow-methods
GET,HEAD
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=555
access-control-allow-credentials
false
accept-ranges
bytes
access-control-allow-headers
*
logo-g.png
www.golem.de/staticrl/images/
4 KB
4 KB
Image
General
Full URL
https://www.golem.de/staticrl/images/logo-g.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
ec3943468e660a13879ad7ea484da73199fd5220d765a1163c045294fbc1c546

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-e82"
Content-Type
image/png
X-UPSTREAM
hybrid2.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
3714
Expires
Sat, 15 Jun 2019 15:01:26 GMT
141275-196127-196126_rc.jpg
www.golem.de/1905/
76 KB
77 KB
Image
General
Full URL
https://www.golem.de/1905/141275-196127-196126_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
e6f7ca4fc92e11a42ddbb3a9d369ce4d42fb95faf2567f485a7769e51825706d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 15 May 2019 14:15:03 GMT
Server
nginx
ETag
"5cdc1ee7-13098"
Content-Type
image/jpeg
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
77976
Expires
Sat, 15 Jun 2019 15:01:26 GMT
gif
cpxl.golem.de/
43 B
292 B
Image
General
Full URL
https://cpxl.golem.de/gif?u=https%3A%2F%2Fwww.golem.de%2F&d=1557931142&f=ev&v=d&t=ad%2Fjobs2018kw10
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:181 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
/ Express
Resource Hash
98b3d9d20e032f90aca49e9b116225d539ff6fbdb7e42c3c363f63896ac03d2a

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
X-Powered-By
Express
Vary
X-HTTP-Method-Override
Content-Type
image/gif
X-RateLimit-Remaining
799
Transfer-Encoding
chunked
X-RateLimit-Limit
800
Connection
keep-alive
gif
cpxl.golem.de/
43 B
292 B
Image
General
Full URL
https://cpxl.golem.de/gif?u=https%3A%2F%2Fwww.golem.de%2F&d=1557932041&f=ev&v=d&t=ad%2Fdeals2016kw24
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:181 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
/ Express
Resource Hash
98b3d9d20e032f90aca49e9b116225d539ff6fbdb7e42c3c363f63896ac03d2a

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
X-Powered-By
Express
Vary
X-HTTP-Method-Override
Content-Type
image/gif
X-RateLimit-Remaining
798
Transfer-Encoding
chunked
X-RateLimit-Limit
800
Connection
keep-alive
finwave-snap.jpg
video.golem.de/teaser/1/1/22699/thumb-high-1000/
113 KB
114 KB
Image
General
Full URL
https://video.golem.de/teaser/1/1/22699/thumb-high-1000/finwave-snap.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:175 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
1478c0f24c51bfaeb59e580f11f0baa3742eecf98db25f9f60c04a42ee35f59d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 02 Apr 2019 08:46:38 GMT
Server
nginx
ETag
"5ca3216e-1c54f"
Content-Type
image/jpeg
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
116047
Expires
Sat, 15 Jun 2019 15:01:26 GMT
links.png
www.golem.de/_img/gg/
195 B
550 B
Image
General
Full URL
https://www.golem.de/_img/gg/links.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
9e08d9b8d1eb5cfb13e10bc6afb3a6f3a40f6ac1f65c6ecd076dc66b7edafb6a

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 18 Feb 2009 13:50:45 GMT
Server
nginx
ETag
"499c1235-c3"
Content-Type
image/png
X-UPSTREAM
hybrid2.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
195
Expires
Sat, 15 Jun 2019 15:01:26 GMT
rechts.png
www.golem.de/_img/gg/
197 B
552 B
Image
General
Full URL
https://www.golem.de/_img/gg/rechts.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
55e30adb2faf80e59e4a70a75809a573ed0acd7b6fb703bde722bd3ddf56584d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 18 Feb 2009 13:50:45 GMT
Server
nginx
ETag
"499c1235-c5"
Content-Type
image/png
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
197
Expires
Sat, 15 Jun 2019 15:01:26 GMT
minus.png
www.golem.de/_img/gg/
404 B
760 B
Image
General
Full URL
https://www.golem.de/_img/gg/minus.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
600a0718bc411395294d3af96651470ec26c15c3f0a6ca3b579a523c9098b4ce

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 18 Feb 2009 13:50:44 GMT
Server
nginx
ETag
"499c1234-194"
Content-Type
image/png
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
404
Expires
Sat, 15 Jun 2019 15:01:26 GMT
icon-ggfs_w2.png
www.golem.de/staticrl/images/
274 B
630 B
Image
General
Full URL
https://www.golem.de/staticrl/images/icon-ggfs_w2.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
2abfcd790056afc481c48cd6f8e35b79b3bccf309ff6f2c0dfad0650df73d645

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-112"
Content-Type
image/png
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
274
Expires
Sat, 15 Jun 2019 15:01:26 GMT
golemgallery2_125-min.js
www.golem.de/staticrl/scripts/
14 KB
5 KB
Script
General
Full URL
https://www.golem.de/staticrl/scripts/golemgallery2_125-min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
96bff9a63428fcafaa40226d7ccf7b90ab5776979db144a62bdef6a7a77d5eec

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-36a9"
Vary
Accept-Encoding
Content-Type
application/javascript
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
account_js_dt18_1_0.php
www.golem.de/abo/
88 B
474 B
Script
General
Full URL
https://www.golem.de/abo/account_js_dt18_1_0.php
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
8a5ebf17c751099d2f751d23dd57cd262691ccc803fc6f8fa1712922a86a8a8d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 15 May 2019 15:01:26 GMT
Server
nginx
Vary
User-Agent, Accept-Encoding
Content-Type
application/javascript
Cache-Control
no-store, no-cache, must-revalidate
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 26 Jul 1997 05:00:00 GMT
sdcv.js
ads.golem.de/
63 B
430 B
Script
General
Full URL
https://ads.golem.de/sdcv.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:17a , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
e72acd75e28308144c191955763a907264b850d4e8e2960d724f273e4934e34d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 13 May 2014 18:28:31 GMT
Server
nginx
ETag
"5372644f-3f"
Content-Type
application/javascript
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
63
Expires
Sat, 15 Jun 2019 15:01:26 GMT
iam.js
script.ioam.de/
32 KB
10 KB
Script
General
Full URL
https://script.ioam.de/iam.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
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 0018
Resource Hash
75cc605db386313d160be1ee29ac9994535314e658ccc25b67d9920dab772a71

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Wed, 15 May 2019 15:01:26 GMT
Server
nginx
X-Powered-By
BLACKBIRD-SRC v0.9 0018
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
Wed, 15 May 2019 17:01:26 GMT
blank.gif
ssl-golem.met.vgwort.de/
Redirect Chain
  • https://ssl-golem.met.vgwort.de/na/8d3a440bbcf940299484ce12b865866d
  • https://ssl-golem.met.vgwort.de/blank.gif
43 B
310 B
Image
General
Full URL
https://ssl-golem.met.vgwort.de/blank.gif
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
161.156.66.178 , United States, ASN36351 (SOFTLAYER - SoftLayer Technologies Inc., US),
Reverse DNS
b2.42.9ca1.ip4.static.sl-reverse.com
Software
s2.50.17 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

Access-Control-Allow-Origin
*
Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Mon, 28 Sep 1970 06:00:00 GMT
Server
s2.50.17
Connection
keep-alive
Content-Length
43
Content-Type
image/gif

Redirect headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 15 May 2019 15:01:26 GMT
Server
s2.50.17
Location
/blank.gif
Transfer-Encoding
chunked
Content-Type
text/html
Access-Control-Allow-Origin
*
Cache-Control
max-age=0, no-cache, must-revalidate, proxy-revalidate
Connection
keep-alive
Expires
Tue, 22 Aug 2000 15:05:01 GMT
gpt.js
www.googletagservices.com/tag/js/
31 KB
11 KB
Script
General
Full URL
https://www.googletagservices.com/tag/js/gpt.js
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
3e8dadf2162e744a31d12d4935c7986dbc5c519a6829807c7582411c7972dc6d
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"166 / 196 of 1000 / last-modified: 1557857174"
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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
10550
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:26 GMT
yieldlove-bidder-stroeer.js
cdn-a.yieldlove.com/
297 KB
87 KB
Script
General
Full URL
https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
13.32.223.212 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-13-32-223-212.fra56.r.cloudfront.net
Software
nginx/1.14.0 (Ubuntu) /
Resource Hash
e89fc0906dd590bbf06858059577b07695e00936b2a6fd5d64fc247c542a1c09

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 12:48:09 GMT
content-encoding
gzip
server
nginx/1.14.0 (Ubuntu)
age
8000
vary
Accept-Encoding
x-cache
Hit from cloudfront
content-type
application/javascript
status
200
cache-control
max-age=10800, public
x-amz-cf-id
9UErt9l3avZx8FmlFw-ncSScKLCBLcmtwQYvqRQySMTXUzmKKecyBw==
via
1.1 fab3f75b4ee7d58be154b12ee77e06eb.cloudfront.net (CloudFront)
expires
Wed, 15 May 2019 15:48:09 GMT
mtrcs_679600.js
s400.mxcdn.net/bb-mx/serve/
115 KB
45 KB
Script
General
Full URL
https://s400.mxcdn.net/bb-mx/serve/mtrcs_679600.js
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.111.214.228 , Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-111-214-228.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
cd8cab6134789f4be73101396dea39afb45e9337fc310e1bd11d5ac6cd325ec8

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:33 GMT
Content-Encoding
gzip
Server
nginx
Vary
Accept-Encoding
P3P
policyref="/w3c/p3p.xml", CP="NON DSP CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa OUR IND UNI COM NAV STA"
Cache-Control
public, max-age=7200
Connection
keep-alive
Content-Type
text/javascript
Content-Length
45485
Expires
Wed, 15 May 2019 17:01:33 GMT
dmp
tracking.m6r.eu/sync/
Redirect Chain
  • https://tracking.m6r.eu/sync/dmp
  • https://tracking.m6r.eu/sync/dmp?checkcookies=true
0
-1 B
XHR
General
Full URL
https://tracking.m6r.eu/sync/dmp?checkcookies=true
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.19.33.59 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a2-19-33-59.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:29 GMT
Server
nginx
Location
https://tracking.m6r.eu/sync/dmp?checkcookies=true
Content-Type
text/plain; charset=utf-8
Access-Control-Allow-Origin
https://www.golem.de
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Length
72

Redirect headers

Date
Wed, 15 May 2019 15:01:29 GMT
Server
nginx
Access-Control-Allow-Origin
https://www.golem.de
Content-Type
text/plain; charset=utf-8
Location
https://tracking.m6r.eu/sync/dmp?checkcookies=true
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Length
72
rc
si.nuggad.net/
839 B
1 KB
Script
General
Full URL
https://si.nuggad.net/rc?nuggn=571289945&nuggsid=2088753725&nuggtg=&nuggrid=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, RSA, AES_128_CBC
Server
80.82.201.88 Berlin, Germany, ASN48173 (UNBELIEVABLE-AS, DE),
Reverse DNS
pbtgx-nuggad.unbelievable-machine.net
Software
Apache /
Resource Hash
1fed4210a121c97f66f22e47237ee1355119cdc03c8e0ea6f8911428020dc1f9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:29 GMT
Content-Encoding
gzip
Server
Apache
Vary
Accept-Encoding
P3P
CP="NOI DSP COR NID ADMa OTPa OUR NOR"
Status
200 OK
Cache-Control
no-store,no-cache
Connection
close
Content-Type
text/javascript
Keep-Alive
timeout=3, max=500
Content-Length
264
Expires
Wed, 18 Feb 2009 11:53:30 GMT
DroidSans-Bold.woff2
www.golem.de/staticrl/fonts/droidsans/
22 KB
22 KB
Font
General
Full URL
https://www.golem.de/staticrl/fonts/droidsans/DroidSans-Bold.woff2
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
e94712bd5679e91d66469fac2cbf6322a706e4e8f25fe37c762b8167391a7c2c

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-57f4"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
22516
Expires
Sat, 15 Jun 2019 15:01:26 GMT
DroidSerif.woff2
www.golem.de/staticrl/fonts/droidserif/
22 KB
22 KB
Font
General
Full URL
https://www.golem.de/staticrl/fonts/droidserif/DroidSerif.woff2
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
334edfbf00ad918aebbf33d4ea9365ce1f41afc3346c9f2ba7edd127d6b30f6c

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-5870"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
22640
Expires
Sat, 15 Jun 2019 15:01:26 GMT
DroidSans.woff2
www.golem.de/staticrl/fonts/droidsans/
21 KB
21 KB
Font
General
Full URL
https://www.golem.de/staticrl/fonts/droidsans/DroidSans.woff2
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
d5ea92e80113829e1cc60cb096ac79b4cf7c30c836991667ca7c6605f181bb13

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-53c8"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
21448
Expires
Sat, 15 Jun 2019 15:01:26 GMT
truncated
/
335 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
72ce44d1321e5caeec893cabdf662745ce2d8af68b65665b6e62e5f7bbcd5e0f

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

Response headers

Content-Type
image/svg+xml
DroidSerif-Italic.woff2
www.golem.de/staticrl/fonts/droidserif/
20 KB
20 KB
Font
General
Full URL
https://www.golem.de/staticrl/fonts/droidserif/DroidSerif-Italic.woff2
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
33a615b30f0b0648a299b0d7e7f57e6c5a1b52cfcc831b3572c1f6ff77c1e2b1

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-5074"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
20596
Expires
Sat, 15 Jun 2019 15:01:26 GMT
minibanner_flat_620.shtml
www.golem.de/microsite/abo/ Frame 2407
963 B
792 B
Document
General
Full URL
https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
653ecfa4fbb8a0a5085d4eb14fc668c8cd30ff0b51616f7a8032c88d7468ea93

Request headers

Host
www.golem.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,application/signed-exchange;v=b3
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Accept-Encoding
gzip, deflate, br
Cookie
golem_viewauto=desktop%3Agoogle_chrome_67
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

Server
nginx
Date
Wed, 15 May 2019 15:01:26 GMT
Content-Type
text/html
Last-Modified
Wed, 16 May 2018 15:57:13 GMT
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Vary
Accept-Encoding
ETag
W/"5afc54d9-3c3"
X-UPSTREAM
hybrid1.golem.de
Content-Encoding
gzip
async.js
static.plista.com/
61 KB
17 KB
Script
General
Full URL
https://static.plista.com/async.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
7a8571861150568201139b95e61e158985c9184cb70f87f030f3f8f9f73d1b90
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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-plista-versions
plista-plugin- libplista-php-0.0.0
date
Wed, 15 May 2019 15:01:26 GMT
content-encoding
gzip
x-content-type-options
nosniff
x-plista-node
plista855
age
434
status
200
content-length
16625
last-modified
Wed, 15 May 2019 14:54:11 GMT
server
nginx
vary
Accept-Encoding
x-varnish
801079880 799190329
via
1.1 varnish-v4
cache-control
public, must-revalidate, proxy-revalidate
accept-ranges
bytes
content-type
application/javascript; charset=utf-8
expires
Thu, 16 May 2019 14:54:12 GMT
btn-follow-sp4b.png
www.golem.de/staticrl/images/
3 KB
3 KB
Image
General
Full URL
https://www.golem.de/staticrl/images/btn-follow-sp4b.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
d79a2c08ec56eb5e1c76ca58af8b280d29c8792641565d3e9983a9ea8f7e9bb6

Request headers

Referer
https://www.golem.de/staticrl/styles/golem_main_129-min.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
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Mon, 08 Apr 2019 18:48:10 GMT
Server
nginx
ETag
"5cab976a-b0e"
Content-Type
image/png
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
2830
Expires
Sat, 15 Jun 2019 15:01:26 GMT
integrator.js
adservice.google.de/adsid/
109 B
481 B
Script
General
Full URL
https://adservice.google.de/adsid/integrator.js?domain=www.golem.de
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81c::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
content-encoding
gzip
x-content-type-options
nosniff
content-type
application/javascript; charset=UTF-8
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"
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
104
x-xss-protection
0
integrator.js
adservice.google.com/adsid/
122 B
261 B
Script
General
Full URL
https://adservice.google.com/adsid/integrator.js?domain=www.golem.de
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81a::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
0739f9770e6d505d5178442949bf073f474b83f2463b5501ead020722d416038
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
content-encoding
gzip
x-content-type-options
nosniff
content-type
application/javascript; charset=UTF-8
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"
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
116
x-xss-protection
0
pubads_impl_2019050901.js
securepubads.g.doubleclick.net/gpt/
150 KB
55 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
a161cba4b2b8a90e2ca19e935256925fa3920b6ed129ec1568fccbd1a290b1b1
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:28 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
55799
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:28 GMT
truncated
/
126 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
4e8d6e3b35948e5fb1b6d570acce30f0b1560ed00ec1f300793389f19c967dff

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

Response headers

Content-Type
image/svg+xml
truncated
/
66 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
b71c20271d9c80d1a71aa0ab9935281c4fa8ac404533f1a0747d7fb03fc68e79

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

Response headers

Content-Type
image/webp
adsbygoogle.js
pagead2.googlesyndication.com/pagead/js/
87 KB
33 KB
Script
General
Full URL
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
1a774f9ff4c82d8feaa8412ed8a2520174ebda464b59bf772967a319d520e3ed
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
32987
x-xss-protection
0
server
cafe
etag
15335191640353697486
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
private, max-age=3600
timing-allow-origin
*
expires
Wed, 15 May 2019 15:01:26 GMT
golem_csi-121-min.js
www.golem.de/staticrl/scripts/adsense/
2 KB
1 KB
Script
General
Full URL
https://www.golem.de/staticrl/scripts/adsense/golem_csi-121-min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
b027fc110a1c4310d433d4be3ffa26b70886ed33a1ec1a2b8270588519507f00

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-7ff"
Vary
Accept-Encoding
Content-Type
application/javascript
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
gx-ads.js
ads.golem.de/track.ads/
226 B
594 B
Script
General
Full URL
https://ads.golem.de/track.ads/gx-ads.js?ord=6430699609835007&adsize=300x250&adunit=11
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:17a , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
8453ec595b19e74278586279557ad2ed3ff9e76820a6b4c4eaa81072cbd23200

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Mon, 04 Feb 2019 16:34:53 GMT
Server
nginx
ETag
"5c5869ad-e2"
Content-Type
application/javascript
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
226
Expires
Sat, 15 Jun 2019 15:01:26 GMT
font-face-1.0.5.css
www.golem.de/staticrl/styles/ Frame 2407
2 KB
729 B
Stylesheet
General
Full URL
https://www.golem.de/staticrl/styles/font-face-1.0.5.css
Requested by
Host: www.golem.de
URL: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
2302ce8cf6307e809a07b5cd6ba8a546381a971b75fcc2971090154eea40c4f9

Request headers

Referer
https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-738"
Vary
Accept-Encoding
Content-Type
text/css
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
minibanner_flat2.css
www.golem.de/microsite/abo/ Frame 2407
2 KB
1 KB
Stylesheet
General
Full URL
https://www.golem.de/microsite/abo/minibanner_flat2.css
Requested by
Host: www.golem.de
URL: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
14c912652278a80cde809c24f37f3e86754d820ca7c7b2c409af205de7d22d9a

Request headers

Referer
https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Wed, 12 Aug 2015 17:46:08 GMT
Server
nginx
ETag
W/"55cb8660-8d2"
Vary
Accept-Encoding
Content-Type
text/css
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
160622-teaser_4scotty.png
www.golem.de/_img/
22 KB
22 KB
Image
General
Full URL
https://www.golem.de/_img/160622-teaser_4scotty.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
02a8df34e2a6941840bd5caa0e5e71a7f5e773768b55c395c2f1d023042c1908

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 22 Jun 2016 19:41:43 GMT
Server
nginx
ETag
"576ae9f7-580c"
Content-Type
image/png
X-UPSTREAM
hybrid2.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
22540
Expires
Sat, 15 Jun 2019 15:01:26 GMT
identitystatus
irqs.ioam.de/
25 B
204 B
XHR
General
Full URL
https://irqs.ioam.de/identitystatus?offerIdentifier=golem&siteIdentifier=G_SEC&sampleType=in&pixelType=CP&isFadeoutFlash=true&isFadeoutFrame=true&isFadeoutForm=true&positionTop=10&positionLeft=100&zIndex=1100000&c=0.3302245518209368
Requested by
Host: script.ioam.de
URL: https://script.ioam.de/iam.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
193.46.63.75 Alfter, 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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:26 GMT
server
nginx
status
200
vary
Origin
content-type
application/vnd.api+json
access-control-allow-origin
https://www.golem.de
access-control-allow-credentials
true
strict-transport-security
max-age=15768000
tx.io
de.ioam.de/
Redirect Chain
  • https://de.ioam.de/tx.io?st=golem&cp=G_SEC&sv=i2&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.golem.de&xy=1600x1200x24&lo=DE%2FHessen&cb=0018&i2=00185baa8738ec99f5cdc29c6&ep=1588577014&vr=414&id=s9k4q...
  • https://de.ioam.de/tx.io?st=golem&cp=G_SEC&sv=i2&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.golem.de&xy=1600x1200x24&lo=DE%2FHessen&cb=0018&i2=00185baa8738ec99f5cdc29c6&ep=1588577014&vr=414&id=s9k4q...
0
694 B
Script
General
Full URL
https://de.ioam.de/tx.io?st=golem&cp=G_SEC&sv=i2&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.golem.de&xy=1600x1200x24&lo=DE%2FHessen&cb=0018&i2=00185baa8738ec99f5cdc29c6&ep=1588577014&vr=414&id=s9k4qs&i3=00185baa8738ec99f5cdc29c6%3A1584889286649%3A1557932486649%3A.golem.de%3A1%3Agolem%3AG_SEC%3Anoevent%3A1557932486649%3Anby4n5&n1=1&dntt=0&lt=1557932486653&ev=&cs=jc2sjt&mo=1&sr=71
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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 / BLACKBIRD-RCV v1.05.0 0023
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Server
nginx
X-Powered-By
BLACKBIRD-RCV v1.05.0 0023
Transfer-Encoding
chunked
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
*
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/x-javascript
Access-Control-Allow-Headers
DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Cookies

Redirect headers

Date
Wed, 15 May 2019 15:01:26 GMT
X-Powered-By
BLACKBIRD-RCV v1.05.0 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
Wed, 15 May 2019 15:01:26 GMT
Server
nginx
Location
/tx.io?st=golem&cp=G_SEC&sv=i2&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.golem.de&xy=1600x1200x24&lo=DE%2FHessen&cb=0018&i2=00185baa8738ec99f5cdc29c6&ep=1588577014&vr=414&id=s9k4qs&i3=00185baa8738ec99f5cdc29c6%3A1584889286649%3A1557932486649%3A.golem.de%3A1%3Agolem%3AG_SEC%3Anoevent%3A1557932486649%3Anby4n5&n1=1&dntt=0&lt=1557932486653&ev=&cs=jc2sjt&mo=1&sr=71
Access-Control-Allow-Methods
GET, POST, OPTIONS
Content-Type
text/html
Access-Control-Allow-Origin
*
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
Tue, 15 May 2018 15:01:26 GMT
IjvnOpbzskTW
cdn.onthe.io/io.js/
72 KB
27 KB
Script
General
Full URL
https://cdn.onthe.io/io.js/IjvnOpbzskTW
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.197.186.29 Frankfurt am Main, Germany, ASN14061 (DIGITALOCEAN-ASN - DigitalOcean, LLC, US),
Reverse DNS
cdn-eu-15.fra1.do.onthe.io
Software
nginx/1.14.0 (Ubuntu) /
Resource Hash
cfedbaf841d07ac07ac1a0c50542476d7b97bf14dc2121841d780ad22d0b8751

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
Content-Encoding
gzip
Last-Modified
Mon, 04 Mar 2019 12:32:01 GMT
Server
nginx/1.14.0 (Ubuntu)
ETag
W/"5c7d1ac1-11e36"
Transfer-Encoding
chunked
X-Hostname
cdn-eu-15
Content-Type
text/javascript
Cache-Control
max-age=86400, public
Connection
keep-alive
Expires
Thu, 16 May 2019 12:40:05 GMT
ga.js
www.google-analytics.com/
45 KB
17 KB
Script
General
Full URL
https://www.google-analytics.com/ga.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:814::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
1259ea99bd76596239bfd3102c679eb0a5052578dc526b0452f4d42f8bcdd45f
Security Headers
Name Value
Strict-Transport-Security max-age=10886400; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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=10886400; includeSubDomains; preload
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 02 May 2019 01:33:03 GMT
server
Golfe2
age
1505
date
Wed, 15 May 2019 14:36:21 GMT
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
public, max-age=7200
timing-allow-origin
*
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
17168
expires
Wed, 15 May 2019 16:36:21 GMT
146005_67aa4bdf07fc8a6dd839add1ec7302a1
lib.selfcampaign.com/tag/
9 KB
4 KB
Script
General
Full URL
https://lib.selfcampaign.com/tag/146005_67aa4bdf07fc8a6dd839add1ec7302a1?async=1
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
148.251.131.173 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.173.131.251.148.clients.your-server.de
Software
nginx/1.14.0 (Ubuntu) /
Resource Hash
8e4859141f1cdb475d683d436647e38741241ab793fdb4cc365455b625520f70
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:33 GMT
Content-Encoding
gzip
X-Content-Type-Options
nosniff
Server
nginx/1.14.0 (Ubuntu)
Transfer-Encoding
chunked
Content-Type
text/javascript; charset=utf-8
Cache-Control
no-cache, no-store, max-age=0, must-revalidate
X-Runtime
4.660742
Connection
keep-alive
Vary
Accept-Encoding
X-XSS-Protection
1; mode=block
X-Request-Id
c04e18ab-285c-44d3-b9f0-6cf9162fc54a
Expires
Fri, 01 Jan 1990 00:00:00 GMT
rmp-rl_129-min.js
www.golem.de/staticrl/scripts/radiant/
17 KB
7 KB
Script
General
Full URL
https://www.golem.de/staticrl/scripts/radiant/rmp-rl_129-min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
2b6ecd14c32260d425578d9278b8af4705c9fe9d86980a43bece283fa24e2e91

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Thu, 09 May 2019 18:51:30 GMT
Server
nginx
ETag
W/"5cd476b2-440d"
Vary
Accept-Encoding
Content-Type
application/javascript
X-UPSTREAM
hybrid2.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
golem_cpxl_113-min.js
www.golem.de/staticrl/scripts/
8 KB
4 KB
Script
General
Full URL
https://www.golem.de/staticrl/scripts/golem_cpxl_113-min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
42bb877744c06037d98b964f68c3e5d4794968c0915fef531db5137a39b3b0c5

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-1e61"
Vary
Accept-Encoding
Content-Type
application/javascript
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
sp_140505-194704-194702_rc.jpg
www.golem.de/1905/
32 KB
32 KB
Image
General
Full URL
https://www.golem.de/1905/sp_140505-194704-194702_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
9b989a4ec9504073a81fda90e33853f122408f4ccfdf93571dd7e80f5d513a7a

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Thu, 02 May 2019 07:17:04 GMT
Server
nginx
ETag
"5cca9970-7e13"
Content-Type
image/jpeg
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
32275
Expires
Sat, 15 Jun 2019 15:01:26 GMT
sp_140993-194914-194911_rc.jpg
www.golem.de/1905/
23 KB
23 KB
Image
General
Full URL
https://www.golem.de/1905/sp_140993-194914-194911_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
0fbf9416ccb522246292db276304ff1731ae648aa49f96c85f5a98526e85d224

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Fri, 03 May 2019 10:02:06 GMT
Server
nginx
ETag
"5ccc119e-5bd4"
Content-Type
image/jpeg
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
23508
Expires
Sat, 15 Jun 2019 15:01:26 GMT
sp_140743-194296-194294_rc.jpg
www.golem.de/1904/
18 KB
19 KB
Image
General
Full URL
https://www.golem.de/1904/sp_140743-194296-194294_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
4c0ee9bd341966920fbcf99fc42e339d1ca84893564ca54e9dc2d19b1e8eac2a

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 30 Apr 2019 07:01:04 GMT
Server
nginx
ETag
"5cc7f2b0-4984"
Content-Type
image/jpeg
X-UPSTREAM
hybrid3.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
18820
Expires
Sat, 15 Jun 2019 15:01:26 GMT
cpx.php
cpx.golem.de/
42 B
420 B
Image
General
Full URL
https://cpx.golem.de/cpx.php?class=1&aid=141275&page=1&ts=1557932487&ref=
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.149 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
Apache /
Resource Hash
b2c78c910f5ea29e3a9d223dabc203c055c8708b1fe7d83788b490638126db4d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:27 GMT
Last-Modified
Wed, 15 May 2019 15:01:27 GMT
Server
Apache
P3P
CP="NOI NID ADMa OUR IND UNI COM NAV"
Cache-Control
no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection
close
Content-Type
image/gif
Content-Length
42
Expires
Sat, 10 Oct 2000 03:33:33 GMT
cfdeb2e72a2eff788500e423.js
static.plista.com/async/pub/
47 KB
5 KB
Script
General
Full URL
https://static.plista.com/async/pub/cfdeb2e72a2eff788500e423.js
Requested by
Host: static.plista.com
URL: https://static.plista.com/async.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
004b67b2a3f963c068d93b3f8e23005f48277c8b61f3d3623da9ce9e6539a456
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Wed, 15 May 2019 14:52:57 GMT
server
nginx
age
508
vary
Accept-Encoding
content-type
application/javascript; charset=utf-8
status
200
cache-control
public, must-revalidate, proxy-revalidate
x-varnish
715939997 799071770
accept-ranges
bytes
content-length
4886
via
1.1 varnish-v4
expires
Thu, 16 May 2019 14:52:58 GMT
display-mit-werbung5.png
www.golem.de/microsite/abo/img/ Frame 2407
984 B
1 KB
Image
General
Full URL
https://www.golem.de/microsite/abo/img/display-mit-werbung5.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
a5bca980db62cd62b8af6d7e13a8fca10bcf3275d804a266bac4cd2907e206d2

Request headers

Referer
https://www.golem.de/microsite/abo/minibanner_flat2.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
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 12 Aug 2015 17:41:58 GMT
Server
nginx
ETag
"55cb8566-3d8"
Content-Type
image/png
X-UPSTREAM
hybrid2.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
984
Expires
Sat, 15 Jun 2019 15:01:26 GMT
display-ohne-werbung5.png
www.golem.de/microsite/abo/img/ Frame 2407
875 B
1 KB
Image
General
Full URL
https://www.golem.de/microsite/abo/img/display-ohne-werbung5.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
71561a3bca82f8abb1c48231b9d1a6500aa76c5f3eb838f2ac1dc0c81c5811ae

Request headers

Referer
https://www.golem.de/microsite/abo/minibanner_flat2.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
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Wed, 12 Aug 2015 17:41:59 GMT
Server
nginx
ETag
"55cb8567-36b"
Content-Type
image/png
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
875
Expires
Sat, 15 Jun 2019 15:01:26 GMT
DroidSans-Bold.woff2
www.golem.de/staticrl/fonts/droidsans/ Frame 2407
22 KB
22 KB
Font
General
Full URL
https://www.golem.de/staticrl/fonts/droidsans/DroidSans-Bold.woff2
Requested by
Host: www.golem.de
URL: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
e94712bd5679e91d66469fac2cbf6322a706e4e8f25fe37c762b8167391a7c2c

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.golem.de/staticrl/styles/font-face-1.0.5.css
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-57f4"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
22516
Expires
Sat, 15 Jun 2019 15:01:26 GMT
DroidSans.woff2
www.golem.de/staticrl/fonts/droidsans/ Frame 2407
21 KB
21 KB
Font
General
Full URL
https://www.golem.de/staticrl/fonts/droidsans/DroidSans.woff2
Requested by
Host: www.golem.de
URL: https://www.golem.de/microsite/abo/minibanner_flat_620.shtml
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
d5ea92e80113829e1cc60cb096ac79b4cf7c30c836991667ca7c6605f181bb13

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.golem.de/staticrl/styles/font-face-1.0.5.css
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-53c8"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
21448
Expires
Sat, 15 Jun 2019 15:01:26 GMT
sp_irS3-420742_rc.jpg
www.golem.de/6249/
68 B
486 B
Image
General
Full URL
https://www.golem.de/6249/sp_irS3-420742_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx / AdDefend GmbH
Resource Hash
adfa0c7de03bc3bea3de80b4a4514881c8b6296568f43a5acd5cd7a16fffd1c9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:26 GMT
Server
nginx
X-Powered-By
AdDefend GmbH
Vary
Accept-Encoding
Content-Type
image/png
Cache-Control
max-age=0, max-stale=0, must-revalidate, no-cache, no-store, no-transform, post-check=0, pre-check=0, private, no-cache
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
68
Expires
0
collect
stats.g.doubleclick.net/r/
Redirect Chain
  • https://ssl.google-analytics.com/r/__utm.gif?utmwv=5.7.2&utms=1&utmn=530231576&utmhn=www.golem.de&utmcs=UTF-8&utmsr=1600x1200&utmvp=1585x1200&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=-&utmdt=Best%20o...
  • https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-518800-2&cid=154558382.1557932487&jid=1525606687&_v=5.7.2&z=530231576
35 B
102 B
Image
General
Full URL
https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-518800-2&cid=154558382.1557932487&jid=1525606687&_v=5.7.2&z=530231576
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:400c:c08::9b Brussels, Belgium, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
Strict-Transport-Security max-age=10886400; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
strict-transport-security
max-age=10886400; includeSubDomains; preload
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
access-control-allow-origin
*
date
Wed, 15 May 2019 15:01:26 GMT
content-type
image/gif
status
200
cache-control
no-cache, no-store, must-revalidate
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
35
expires
Fri, 01 Jan 1990 00:00:00 GMT

Redirect headers

pragma
no-cache
date
Wed, 15 May 2019 15:01:26 GMT
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
access-control-allow-origin
*
location
https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-518800-2&cid=154558382.1557932487&jid=1525606687&_v=5.7.2&z=530231576
content-type
text/html; charset=UTF-8
status
302
cache-control
no-cache, no-store, must-revalidate
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
367
expires
Fri, 01 Jan 1990 00:00:00 GMT
global_config.json
s3.amazonaws.com/homad-global-configs.schneevonmorgen.com/
53 B
642 B
XHR
General
Full URL
https://s3.amazonaws.com/homad-global-configs.schneevonmorgen.com/global_config.json
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/rmp-rl_129-min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.216.228.179 Ashburn, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:28 GMT
Last-Modified
Wed, 15 May 2019 14:59:20 GMT
Server
AmazonS3
x-amz-request-id
E51142043BBEB912
ETag
"3f42d83ce95b1a6eea170c73c8842d09"
Vary
Origin, Access-Control-Request-Headers, Access-Control-Request-Method
Access-Control-Allow-Methods
GET, POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Access-Control-Max-Age
3000
Cache-Control
no-cache, no-store
Accept-Ranges
bytes
Content-Length
53
x-amz-id-2
DuN6R97bBMZ4PQZEQei2FxPm6mQAUXp6qSuGaBrtBKjx8ahpYS8Ch0BXZhWTpi4tzlsrvlbShCw=
Expires
0
homadclienthttpsle-json.php
video.golem.de/staticrl/scripts/radiant/
291 B
682 B
XHR
General
Full URL
https://video.golem.de/staticrl/scripts/radiant/homadclienthttpsle-json.php
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/rmp-rl_129-min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:175 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
25b8c26212dbd48007be24a885e489432092cdeb9ae7d70a223d5cd88582205d

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
Vary
User-Agent, Accept-Encoding
Access-Control-Allow-Methods
POST, GET, OPTIONS
Content-Type
application/json;charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
rmp.min.js
www.golem.de/staticrl/scripts/radiant/4.9.1/js/
378 KB
110 KB
Script
General
Full URL
https://www.golem.de/staticrl/scripts/radiant/4.9.1/js/rmp.min.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
3eac381fd296094c158c1fe2690efd8ec90c4065a681597f57f35855a3c4a98d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-5e9f0"
Vary
Accept-Encoding
Content-Type
application/javascript
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:26 GMT
show_ads_impl.js
pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/
204 KB
76 KB
Script
General
Full URL
https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/show_ads_impl.js
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
3d5094c1d23b5cf90a1e612d406a1c09b89533c889c287e316aa8ec1da3151f0
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
77648
x-xss-protection
0
server
cafe
etag
10849630386184038813
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
private, max-age=1209600
timing-allow-origin
*
expires
Wed, 15 May 2019 15:01:26 GMT
show_ads_impl.js
pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/ Frame 6187
204 KB
76 KB
Script
General
Full URL
https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/show_ads_impl.js
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
3d5094c1d23b5cf90a1e612d406a1c09b89533c889c287e316aa8ec1da3151f0
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:26 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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
77648
x-xss-protection
0
server
cafe
etag
10849630386184038813
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
private, max-age=1209600
timing-allow-origin
*
expires
Wed, 15 May 2019 15:01:26 GMT
ca-pub-2342548244565729.js
pagead2.googlesyndication.com/pub-config/r20160913/
133 B
277 B
Script
General
Full URL
https://pagead2.googlesyndication.com/pub-config/r20160913/ca-pub-2342548244565729.js
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
7e7fa886d5d75c745d95be4fc3c5bfb4c988019b3f643c669734612345e1b8c8
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 04:20:04 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Sun, 12 May 2019 19:20:24 GMT
server
sffe
age
38482
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
public, max-age=43200
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
125
x-xss-protection
0
expires
Wed, 15 May 2019 16:20:04 GMT
zrt_lookup.html
googleads.g.doubleclick.net/pagead/html/r20190513/r20190131/ Frame 0A58
0
0
Document
General
Full URL
https://googleads.g.doubleclick.net/pagead/html/r20190513/r20190131/zrt_lookup.html
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:809::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
googleads.g.doubleclick.net
:scheme
https
:path
/pagead/html/r20190513/r20190131/zrt_lookup.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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
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"
timing-allow-origin
*
vary
Accept-Encoding
date
Mon, 13 May 2019 13:17:50 GMT
expires
Mon, 27 May 2019 13:17:50 GMT
content-type
text/html; charset=UTF-8
etag
7423447574459395779
x-content-type-options
nosniff
content-encoding
gzip
server
cafe
content-length
6990
x-xss-protection
0
cache-control
public, max-age=1209600
age
179016
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
json
cpxl.golem.de/
0
474 B
XHR
General
Full URL
https://cpxl.golem.de/json
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/golem_main_114-min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:181 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
/ Express
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Accept
*/*
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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; charset=UTF-8

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
X-RateLimit-Limit
800
X-Powered-By
Express
Vary
X-HTTP-Method-Override
Access-Control-Allow-Methods
POST, OPTIONS
Access-Control-Allow-Origin
https://www.golem.de
Access-Control-Max-Age
86400
Access-Control-Allow-Credentials
true
X-RateLimit-Remaining
797
Connection
keep-alive
Access-Control-Allow-Headers
Origin, X-Requested-With, Content-Type, Accept
ETag
W/"a-oQDOV50e1MN2H/N8GYi+8w"
json
cpxl.golem.de/
0
474 B
XHR
General
Full URL
https://cpxl.golem.de/json
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/golem_main_114-min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:181 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
/ Express
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Accept
*/*
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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; charset=UTF-8

Response headers

Date
Wed, 15 May 2019 15:01:26 GMT
X-RateLimit-Limit
800
X-Powered-By
Express
Vary
X-HTTP-Method-Override
Access-Control-Allow-Methods
POST, OPTIONS
Access-Control-Allow-Origin
https://www.golem.de
Access-Control-Max-Age
86400
Access-Control-Allow-Credentials
true
X-RateLimit-Remaining
796
Connection
keep-alive
Access-Control-Allow-Headers
Origin, X-Requested-With, Content-Type, Accept
ETag
W/"a-oQDOV50e1MN2H/N8GYi+8w"
5a9fe1dae45a1d155411456a.js
insights.plista.com/app/5a/9f/e1/
53 KB
19 KB
Script
General
Full URL
https://insights.plista.com/app/5a/9f/e1/5a9fe1dae45a1d155411456a.js
Requested by
Host: static.plista.com
URL: https://static.plista.com/async/pub/cfdeb2e72a2eff788500e423.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
23.111.11.152 Phoenix, United States, ASN33438 (HIGHWINDS2 - Highwinds Network Group, Inc., US),
Reverse DNS
Software
NetDNA-cache/2.2 /
Resource Hash
13b219900bd84f484766a5a90357d312a6583a41591452752da8c9c12cc662b6

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
content-encoding
gzip
last-modified
Tue, 09 Apr 2019 09:39:18 GMT
server
NetDNA-cache/2.2
etag
W/"d219-58615ba1a52aa"
vary
Accept-Encoding
x-cache
HIT
content-type
application/javascript
status
200
cache-control
max-age=1800
expires
Wed, 15 May 2019 15:25:49 GMT
async_lib.js
farm.plista.com/
32 KB
11 KB
Script
General
Full URL
https://farm.plista.com/async_lib.js?json=%7B%22name%22%3A%22PLISTA_%5B0%5D%22%2C%22publickey%22%3A%22cfdeb2e72a2eff788500e423%22%2C%22objectid%22%3A%22141275%22%2C%22rev%22%3A1555494349%2C%22req%22%3A%5B%5B%22isarticle%22%5D%2C%5B%22widgetload%22%2C%7B%22widgets%22%3A%5B%22underArticle%22%5D%2C%22ab%22%3A0%2C%22vo%22%3Atrue%2C%22pm%22%3Atrue%2C%22sc%22%3A%221600x1200%22%2C%22px%22%3A1%2C%22vs%22%3A%220.6.12%22%2C%22vp%22%3Atrue%2C%22ww%22%3A1600%2C%22wb%22%3Atrue%7D%5D%5D%7D&x=1557932486940
Requested by
Host: static.plista.com
URL: https://static.plista.com/async.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a01:4f8:202:42d4::2 Schriesheim, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
Software
nginx /
Resource Hash
54004a8f61222fc9e81860418b192ab08ffe085746205e2c3bb7c67f8fbf83d4

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:27 GMT
content-encoding
gzip
last-modified
Wed, 15 May 2019 15:01:26 GMT
server
nginx
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"
status
200
cache-control
no-cache, must-revalidate
content-type
application/javascript; charset=utf-8
content-length
9817
expires
Mon, 26 Jul 1997 05:00:00 GMT
config.json
hgc-cf-cache-1.svonm.com/www.golem.de/
288 B
946 B
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/www.golem.de/config.json
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/rmp-rl_129-min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
13.32.223.225 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-13-32-223-225.fra56.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
640f0a03cd1e9c721ac8844b006b9047b070a9f7d13a3278b98fb0461947dd8f

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:27 GMT
Via
1.1 df874ca0e51df630ccc49eab9f1f7fb3.cloudfront.net (CloudFront)
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
X-Cache
Hit from cloudfront
Connection
keep-alive
Content-Length
288
Last-Modified
Tue, 30 Apr 2019 15:43:40 GMT
Server
AmazonS3
ETag
"54c7dbe42d2e906013c324c59a35e181"
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
rgq29FgvglrKyqDDarefolG5KPndios3z2pKrsj-vDBu8IRCjn3gHw==
Expires
0
sp_irS3-150589_rc.jpg
www.golem.de/3509/adfeedback/
68 B
486 B
Image
General
Full URL
https://www.golem.de/3509/adfeedback/sp_irS3-150589_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx / AdDefend GmbH
Resource Hash
adfa0c7de03bc3bea3de80b4a4514881c8b6296568f43a5acd5cd7a16fffd1c9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:27 GMT
Server
nginx
X-Powered-By
AdDefend GmbH
Vary
Accept-Encoding
Content-Type
image/png
Cache-Control
max-age=0, max-stale=0, must-revalidate, no-cache, no-store, no-transform, post-check=0, pre-check=0, private, no-cache
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
68
Expires
0
sp_irS3-336955_rc.jpg
www.golem.de/2643/adfeedback/
68 B
486 B
Image
General
Full URL
https://www.golem.de/2643/adfeedback/sp_irS3-336955_rc.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx / AdDefend GmbH
Resource Hash
adfa0c7de03bc3bea3de80b4a4514881c8b6296568f43a5acd5cd7a16fffd1c9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:27 GMT
Server
nginx
X-Powered-By
AdDefend GmbH
Vary
Accept-Encoding
Content-Type
image/png
Cache-Control
max-age=0, max-stale=0, must-revalidate, no-cache, no-store, no-transform, post-check=0, pre-check=0, private, no-cache
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
68
Expires
0
1.png
static.plista.com/image/adchoices/de/13/119,119,119/0/
1 KB
1 KB
Image
General
Full URL
https://static.plista.com/image/adchoices/de/13/119,119,119/0/1.png
Requested by
Host: static.plista.com
URL: https://static.plista.com/async.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
76ceb9b46c9787fba45d74064ac8e7ea819b8cfe3060d11a0c9cea3706f4575f

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
last-modified
Wed, 15 May 2019 10:14:43 GMT
server
nginx
age
17202
content-type
Content-type: image/png; charset=utf-8
status
200
cache-control
public, must-revalidate, proxy-revalidate
x-varnish
777730986 779193594
accept-ranges
bytes
content-length
1148
expires
Fri, 14 Jun 2019 10:14:44 GMT
trk.js
cdn.adnxs.com/v/s/162/
80 KB
30 KB
Script
General
Full URL
https://cdn.adnxs.com/v/s/162/trk.js
Requested by
Host: static.plista.com
URL: https://static.plista.com/async.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
151.101.121.108 Paris, France, ASN54113 (FASTLY - Fastly, US),
Reverse DNS
Software
Apache /
Resource Hash
585cc11b4d20958229b3e7f944f3c7d616e947fdf93777fdee3bae2b3da47207

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
Content-Encoding
gzip
Age
2963825
X-Cache
HIT, HIT
X-Cache-Hits
1, 3491192
Connection
keep-alive
Content-Length
30115
Via
1.1 varnish, 1.1 varnish
X-Served-By
cache-jfk8126-JFK, cache-cdg20768-CDG
Last-Modified
Thu, 11 Apr 2019 07:33:08 GMT
Server
Apache
Cache-Control
max-age=31536000
X-Timer
S1557932487.227928,VS0,VE0
ETag
"41c9cba9146dc2b11581787d690f54a1:1554967990"
Vary
Accept-Encoding
Content-Type
application/x-javascript
Access-Control-Allow-Origin
*, *
Fastly-Debug-Digest
df7da41614d72a8e6eaa4710ddee5477ec8337a3f77c397da0c440d282fd83dd
Accept-Ranges
bytes
Expires
Fri, 10 Apr 2020 07:44:22 GMT
zYS9rFQE5UGvmN9_1_15477371065c409812128e2_320x180_8404.jpeg
static.plista.com/image/resized/c/1023972/
22 KB
22 KB
Image
General
Full URL
https://static.plista.com/image/resized/c/1023972/zYS9rFQE5UGvmN9_1_15477371065c409812128e2_320x180_8404.jpeg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
c44428e0a45053c5db8ec6ef8c243ae6e90c7dd4f56bc73dde46a046aebe7fc9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
server
nginx
age
48
x-varnish
222509116 799665866
status
200
cache-control
max-age=2592000
accept-ranges
bytes
content-type
image/jpeg
content-length
22451
expires
Fri, 14 Jun 2019 15:00:38 GMT
3900.jpg
static.plista.com/imageserver/c/3318/141205/320/180/
11 KB
12 KB
Image
General
Full URL
https://static.plista.com/imageserver/c/3318/141205/320/180/3900.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
6a1cf4449f7e36f0be6c7109311442b030b10fc4cdaafa0d2f94b11423c8aacc

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
server
nginx
age
26311
x-varnish
800215762 766440480
status
200
cache-control
max-age=2592000
accept-ranges
bytes
content-type
image/jpeg
content-length
11675
expires
Fri, 14 Jun 2019 07:42:56 GMT
vcdn.adnxs.com%2Fp%2Fcreative-image%2F84%2F3e%2F46%2F46%2F843e4646-2a1d-4738-8c44-a7465c039942.jpg
media.plista.com/Pst0ZbX4FXnvq8PDckr8gHdD5ks=/320x180/filters:format(webp):quality(85)/
22 KB
22 KB
Image
General
Full URL
https://media.plista.com/Pst0ZbX4FXnvq8PDckr8gHdD5ks=/320x180/filters:format(webp):quality(85)/vcdn.adnxs.com%2Fp%2Fcreative-image%2F84%2F3e%2F46%2F46%2F843e4646-2a1d-4738-8c44-a7465c039942.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
23.111.11.152 Phoenix, United States, ASN33438 (HIGHWINDS2 - Highwinds Network Group, Inc., US),
Reverse DNS
Software
NetDNA-cache/2.2 /
Resource Hash
46c74c2d8d78fcba820e298bc02dca4153e794d98367799240ae49340c627e47

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
server
NetDNA-cache/2.2
etag
"eeffc0f8729889d759cd6f7c1dc2a0888929d71b"
x-cache
HIT
content-type
image/webp
status
200
cache-control
max-age=2592000,public
content-length
22308
expires
Tue, 11 Jun 2019 22:49:18 GMT
3902.jpg
static.plista.com/imageserver/c/3318/141228/320/180/
3 KB
3 KB
Image
General
Full URL
https://static.plista.com/imageserver/c/3318/141228/320/180/3902.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
66f800ffe97e28c9141b4b3bfd12f5cc5d3ab3aeb268c91603096130b4c3a843

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
server
nginx
age
9577
x-varnish
222509121 788164039
status
200
cache-control
max-age=2592000
accept-ranges
bytes
content-type
image/jpeg
content-length
3192
expires
Fri, 14 Jun 2019 12:21:49 GMT
3900.jpg
static.plista.com/imageserver/c/3318/141210/320/180/
7 KB
7 KB
Image
General
Full URL
https://static.plista.com/imageserver/c/3318/141210/320/180/3900.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
47a97160441648cbce3f357259296a681608f1468272da33cb9cf3aa136af8f5

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
server
nginx
age
2611
x-varnish
768729768 794099181
status
200
cache-control
max-age=2592000
accept-ranges
bytes
content-type
image/jpeg
content-length
6888
expires
Fri, 14 Jun 2019 14:17:55 GMT
vcdn.adnxs.com%2Fp%2Fcreative-image%2F5a%2Fe2%2F25%2F5e%2F5ae2255e-5be3-4db0-9f98-03c2296ebc4e.png
media.plista.com/sQp9ZoTeTEjEVnvnxAlq89-k4Bo=/320x180/filters:format(webp):quality(85)/
16 KB
16 KB
Image
General
Full URL
https://media.plista.com/sQp9ZoTeTEjEVnvnxAlq89-k4Bo=/320x180/filters:format(webp):quality(85)/vcdn.adnxs.com%2Fp%2Fcreative-image%2F5a%2Fe2%2F25%2F5e%2F5ae2255e-5be3-4db0-9f98-03c2296ebc4e.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
23.111.11.152 Phoenix, United States, ASN33438 (HIGHWINDS2 - Highwinds Network Group, Inc., US),
Reverse DNS
Software
NetDNA-cache/2.2 /
Resource Hash
13533d8fe0663f05bac2eea2a5bd334b6936ccde08a9aa1f86257a5ce90450ea

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
server
NetDNA-cache/2.2
etag
"78623e7241f23a31ee538b38340f0795b8d2e81f"
x-cache
HIT
content-type
image/webp
status
200
cache-control
max-age=2592000,public
content-length
16478
expires
Fri, 24 May 2019 17:34:11 GMT
6746.jpg
static.plista.com/imageserver/c/3318/22888/320/180/
10 KB
10 KB
Image
General
Full URL
https://static.plista.com/imageserver/c/3318/22888/320/180/6746.jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
fe95af1157170e1c4ab3ce9ff4809c4428750248a14944bc81a6828e41122a57

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
server
nginx
age
34499
x-varnish
777764793 754242128
status
200
cache-control
max-age=2592000
accept-ranges
bytes
content-type
image/jpeg
content-length
9824
expires
Fri, 14 Jun 2019 05:26:27 GMT
vcdn.adnxs.com%2Fp%2Fcreative-image%2F1f%2Ff3%2F1e%2Fb2%2F1ff31eb2-3b8b-4daf-a2b7-5af2016010f5.jpeg
media.plista.com/VehHIQaNHmNjifHcP4m7Ai5zWeg=/320x180/filters:format(webp):quality(85)/
15 KB
15 KB
Image
General
Full URL
https://media.plista.com/VehHIQaNHmNjifHcP4m7Ai5zWeg=/320x180/filters:format(webp):quality(85)/vcdn.adnxs.com%2Fp%2Fcreative-image%2F1f%2Ff3%2F1e%2Fb2%2F1ff31eb2-3b8b-4daf-a2b7-5af2016010f5.jpeg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
23.111.11.152 Phoenix, United States, ASN33438 (HIGHWINDS2 - Highwinds Network Group, Inc., US),
Reverse DNS
Software
NetDNA-cache/2.2 /
Resource Hash
3cf807f67ce81c36350ad1d8cf93a17311c476af13ff496280b8b2a5ef35ebf2

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
server
NetDNA-cache/2.2
etag
"1e6d6110b0ed790993cdf87d2828525099ef01f9"
x-cache
HIT
content-type
image/webp
status
200
cache-control
max-age=2592000,public
content-length
15050
expires
Sun, 26 May 2019 17:14:42 GMT
logo_plista_small_AAAAAA.png
static.plista.com/image/
496 B
699 B
Image
General
Full URL
https://static.plista.com/image/logo_plista_small_AAAAAA.png
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
138.201.125.235 Ratingen, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.235.125.201.138.clients.your-server.de
Software
nginx /
Resource Hash
16e25371ff703d0ba961524d37e86162c72bddd7849b6fe393caf735cde51152

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
via
1.1 varnish-v4
server
nginx
age
14619
x-varnish
799667435 782540016
status
200
cache-control
max-age=2592000
accept-ranges
bytes
content-type
Content-type: image/png; charset=utf-8
content-length
496
expires
Fri, 14 Jun 2019 10:57:47 GMT
it
fra1-ib.adnxs.com/
0
657 B
Image
General
Full URL
https://fra1-ib.adnxs.com/it?an_audit=0&referrer=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&e=wqT_3QL5CPBDeQQAAAMA1gAFAQjI0_DmBRC44JD0gIm4higYxIiFuYXawq4_KjYJB5lk5Czs2T8RB5lk5Cz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wtdmVydGVpbHQta2V5bG9nZ2VyLTE5MDUtMTQxMjc1Lmh0bWyAAwGIAwGQAwCYAxSgAwGqAwDAA-CoAcgDANgD3rgo4AMA6AMA-AMDgAQAkgQJL29wZW5ydGIymAQAqAQAsgQMCAAQABgAIAAwADgAuAQAwAQAyAQA0gQOMzU2MyNGUkExOjM5MTLaBAIIAeAEAPAEhobCS4gFAZgFAKAF____________AaoFETQ3MTUzMzA4MzQ3NjcyMjM5wAUAyQUAAAAAAADwP9IFCQkAAAAAAAAAANgFAeAFAfAFNvoFBAgAEACQBgGYBgC4BgDBBgAAAAUvIMgGANoGFgoQADoBADgQABgA4AYM8gYCCACABwE.&s=b8d562a59649e7aa15458c772ec41be65e59b620&pp=0.34928600000000004
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
37.252.173.27 , Ascension Island, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
539.bm-nginx-loadbalancer.mgmt.fra1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
efd6cb69-936d-4c61-bdc6-eb13d6f4fca9
Content-Type
text/html; charset=utf-8
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
*
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 539.bm-nginx-loadbalancer.mgmt.fra1; *.adnxs.com; 37.252.173.43:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
it
fra1-ib.adnxs.com/
0
658 B
Image
General
Full URL
https://fra1-ib.adnxs.com/it?an_audit=0&referrer=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&e=wqT_3QL3CPBDdwQAAAMA1gAFAQjI0_DmBRC79a7O-aiH310YxIiFuYXawq4_KjYJF30Facai1T8RF30Facai1T8ZAAAAYGZmCEAhF30JGwApESTwyTEAAADAHoXrPzCK44EGOOsbQOsbSAJQ2-irSFjum1hgAGjUy3x4-JMFgAEBigEDVVNEkgEDRVVSmAEBoAEBqAEBsAEAuAECwAEEyAEC0AEJ2AEA4AEA8AEAigKUAXVmKCdhJywgMzE2Mzk4NCwgMTU1NzkzMjQ4OCk7dWYoJ2knLCAxMDg5OTM0LCAxNTU3OTMyNDg4KTt1ZignZycsIDc2MzQ3NjksIDE1NTc5MzI0ODgpO3VmKCdjJywgMjgyOTM1NzgsIDE1NTcuWAAscicsIDE1MTcxMjg1Oj0A9HUBkgLlAiFzVlV2NEFqSzg3NE5FTnZvcTBnWUFDRHVtMWd3QkRnQVFBUkk2eHRRaXVPQkJsZ0FZUF9fX184UGFBQndBWGdCZ0FFQmlBRUJrQUVCbUFFQm9BRVFxQUVLc0FFQXVRSFkyajliSUVmVFA4RUJPNDN6OGJ5aTFUX0pBUUFBQU1DUFhQQV8yUUVYbndKZ1BJUHNQLUFCanNOQzlRRUFBRDVEbUFJQW9BSUV0UUlBQUFBQXZRSUFBQUFfd0FJQnlBSUIwQUlCMkFJQjRBSUE2QUlBLUFJQWdBTUJtQU1Cb2dNVUNJXzIwd1VRQWhnQkxRQUFBQUF5QkdOelh6V2lBdzRJanVhSEJoQUVHQUV0NVROTE9xSURFd2lxdm9NR0VBb1lBUzEtNUlJX01nTjFibXVvQThyenZnMjZBd2xHVWtFeE9qTTVNVExnQS1vTGdBVC14UGNCaUFTMHFmNEJrQVFCbUFRQpoCYSFQUk5CVndqSzg9aNA3cHRZSUFRb0FERlN1QjZGNjFISVB6b0pSbEpCTVRvek9URXlRT29MU1JlZkFtQThnLXdfVSE4DQEAVx0M9EgB2ALmkwHgApiTRuoCWmh0dHBzOi8vd3d3LmdvbGVtLmRlL25ld3MvYmVzdC1vZi10aGUtd2ViLXRydXN0LXNpZWdlbC12ZXJ0ZWlsdC1rZXlsb2dnZXItMTkwNS0xNDEyNzUuaHRtbIADAYgDAZADAJgDFKADAaoDAMAD4KgByAMA2APeuCjgAwDoAwD4AwOABACSBAkvb3BlbnJ0YjKYBACoBACyBAwIABAAGAAgADAAOAC4BADABADIBADSBA4zNTYzI0ZSQTE6MzkxMtoEAggB4AQA8ATb6KtIiAUBmAUAoAX___________8BqgURNDcxNTMzMDgzNDc2NzIyMznABQDJBQAAAAAAAPA_0gUJCQAAAAAAAAAA2AUB4AUB8AXSxh_6BQQIABAAkAYBmAYAuAYAwQYAAAAAAADwP8gGANoGFgoQAAAJQxEBOBAAGADgBgzyBgIIAIAHAQ..&s=1348950ba4cd09e1f1f09b14b77b4aeea952bd75&pp=0.277214
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
37.252.173.27 , Ascension Island, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
539.bm-nginx-loadbalancer.mgmt.fra1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
caea4376-58fc-46ed-a8cf-fe30746d7628
Content-Type
text/html; charset=utf-8
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
*
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 539.bm-nginx-loadbalancer.mgmt.fra1; *.adnxs.com; 37.252.172.184:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
it
fra1-ib.adnxs.com/
0
657 B
Image
General
Full URL
https://fra1-ib.adnxs.com/it?an_audit=0&referrer=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&e=wqT_3QKUCfBMlAQAAAMA1gAFAQjI0_DmBRC3k4fZre7Zo0gYxIiFuYXawq4_KjYJychZ2NMO1T8RWkpe6fEF0T8ZAAAAYGZmCEAhWkpe6fEF0T8pycgJJPCVMQAAAMAehes_MIrjgQY46xtAtDhIAlC4ocpFWO6bWGAAaNTLfHj4kwWAAQGKAQNVU0SSAQNFVVKYAQGgAQGoAQGwAQC4AQLAAQXIAQLQAQnYAQDgAQDwAQCKApMBdWYoJ2EnLCAxMzQwMjQyLCAxNTU3OTMyNDg4KTt1ZignaScsIDkxNTg5OSwgMTU1NzkzMjQ4OCk7ARwwZycsIDc3MDk4NDQsID45ACxjJywgMjg1MTgxNjZGHgAAcgF0GDQ1OTIwMTg6PQD0jgGSAoEDITQxajlfZ2lVenN3TkVMaW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..&s=ecb89e765bb9112b517ec597584aada310ce7ee5&pp=0.22069668985222302
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
37.252.173.27 , Ascension Island, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
539.bm-nginx-loadbalancer.mgmt.fra1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
dcc85cdf-e349-443f-9840-c0726889018c
Content-Type
text/html; charset=utf-8
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
*
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 539.bm-nginx-loadbalancer.mgmt.fra1; *.adnxs.com; 37.252.173.50:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
/
farm.plista.com/matching/pixel/
Redirect Chain
  • https://secure.adnxs.com/getuid?https%3A%2F%2Ffarm.plista.com%2Fmatching%2Fpixel%2F%3Fssp%3Dc3de%26dsp_user_id%3D$UID
  • https://secure.adnxs.com/bounce?%2Fgetuid%3Fhttps%253A%252F%252Ffarm.plista.com%252Fmatching%252Fpixel%252F%253Fssp%253Dc3de%2526dsp_user_id%253D%24UID
  • https://farm.plista.com/matching/pixel/?ssp=c3de&dsp_user_id=6346681586954832159
35 B
385 B
Image
General
Full URL
https://farm.plista.com/matching/pixel/?ssp=c3de&dsp_user_id=6346681586954832159
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a01:4f8:202:42d4::2 Schriesheim, Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
Software
nginx /
Resource Hash
6a842ea462daca2a0b5a0f5f25bcfc8e0059ac811ca6c6a1bc54e4d9119621c3

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:28 GMT
content-encoding
gzip
server
nginx
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"
content-length
51
content-type
image/gif

Redirect headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
30d9ef24-43c1-46ba-8df5-bd97b709e60b
Content-Type
text/html; charset=utf-8
Server
nginx/1.13.4
Location
https://farm.plista.com/matching/pixel/?ssp=c3de&dsp_user_id=6346681586954832159
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
*
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 318.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.220.16:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
rum.js
pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/
47 KB
18 KB
Script
General
Full URL
https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/rum.js
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/show_ads_impl.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
84523662a2d9525bbe7456722081bb57749cef2d5ad289b00e9a72ba08da3605
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 13 May 2019 16:01:32 GMT
content-encoding
gzip
x-content-type-options
nosniff
age
169195
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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
18175
x-xss-protection
0
server
cafe
etag
9321039951123376521
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
public, max-age=1209600
timing-allow-origin
*
expires
Mon, 27 May 2019 16:01:32 GMT
ads
googleads.g.doubleclick.net/pagead/ Frame B40E
0
0
Document
General
Full URL
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2342548244565729&output=html&h=120&slotname=7370415692&adk=795422400&adf=1229236390&w=1000&lmt=1557932487&num_ads=2&guci=1.2.0.0.2.2.0.0&format=1000x120&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&flash=0&wgl=1&adsid=NT&dt=1557932486790&bpp=40&bdt=834&fdt=381&idt=381&shv=r20190513&cbv=r20190131&saldr=aa&abxe=1&correlator=7308550299401&rume=1&frm=20&pv=2&ga_vid=154558382.1557932487&ga_sid=1557932487&ga_hid=1317382592&ga_fc=1&iag=0&icsg=3393333577668544&dssz=65&mdo=0&mso=32&u_tz=0&u_his=2&u_java=0&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_nplug=0&u_nmime=0&adx=293&ady=2007&biw=1585&bih=1200&scr_x=0&scr_y=0&eid=20040081%2C21060549%2C21060853%2C410075103%2C20040010&oid=3&rx=0&eae=0&fc=656&brdim=0%2C0%2C0%2C0%2C1600%2C0%2C1600%2C1200%2C1600%2C1200&vis=1&rsz=%7C%7CeEbr%7C&abl=CS&pfx=0&fu=16&bc=31&osw_key=4092314402&ifi=1&uci=1.fu8oc8mto3pv&fsb=1&xpc=Q6jlf2PstG&p=https%3A//www.golem.de&dtd=435
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/show_ads_impl.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:809::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
googleads.g.doubleclick.net
:scheme
https
:path
/pagead/ads?client=ca-pub-2342548244565729&output=html&h=120&slotname=7370415692&adk=795422400&adf=1229236390&w=1000&lmt=1557932487&num_ads=2&guci=1.2.0.0.2.2.0.0&format=1000x120&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&flash=0&wgl=1&adsid=NT&dt=1557932486790&bpp=40&bdt=834&fdt=381&idt=381&shv=r20190513&cbv=r20190131&saldr=aa&abxe=1&correlator=7308550299401&rume=1&frm=20&pv=2&ga_vid=154558382.1557932487&ga_sid=1557932487&ga_hid=1317382592&ga_fc=1&iag=0&icsg=3393333577668544&dssz=65&mdo=0&mso=32&u_tz=0&u_his=2&u_java=0&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_nplug=0&u_nmime=0&adx=293&ady=2007&biw=1585&bih=1200&scr_x=0&scr_y=0&eid=20040081%2C21060549%2C21060853%2C410075103%2C20040010&oid=3&rx=0&eae=0&fc=656&brdim=0%2C0%2C0%2C0%2C1600%2C0%2C1600%2C1200%2C1600%2C1200&vis=1&rsz=%7C%7CeEbr%7C&abl=CS&pfx=0&fu=16&bc=31&osw_key=4092314402&ifi=1&uci=1.fu8oc8mto3pv&fsb=1&xpc=Q6jlf2PstG&p=https%3A//www.golem.de&dtd=435
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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
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"
timing-allow-origin
*
content-type
text/html; charset=UTF-8
x-content-type-options
nosniff
content-encoding
br
date
Wed, 15 May 2019 15:01:27 GMT
server
cafe
content-length
20963
x-xss-protection
0
set-cookie
test_cookie=CheckForPermission; expires=Wed, 15-May-2019 15:16:27 GMT; path=/; domain=.doubleclick.net
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
expires
Wed, 15 May 2019 15:01:27 GMT
cache-control
private
osd.js
www.googletagservices.com/activeview/js/current/
76 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd.js?cb=%2Fr20100101
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/show_ads_impl.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
53af729e9e4b8c8d2aae917515b562dba0d5273acc77c8775d6e05a6cddfcefd
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28615
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:27 GMT
vgs.json
cdn.radiantmediatechs.com/rmp/rr/
5 KB
3 KB
XHR
General
Full URL
https://cdn.radiantmediatechs.com/rmp/rr/vgs.json?rdm=432759
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/4.9.1/js/rmp.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2606:4700:30::6818:6624 , United States, ASN13335 (CLOUDFLARENET - Cloudflare, Inc., US),
Reverse DNS
Software
cloudflare /
Resource Hash
a1143eb79f86618f8a72788f8f9f8e5884797dbd12e6d0a7c212f46c1dd1e525
Security Headers
Name Value
X-Content-Type-Options nosniff

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:27 GMT
content-encoding
br
x-content-type-options
nosniff
cf-cache-status
HIT
cf-ray
4d75fcbe2d9426dc-FRA
status
200
last-modified
Tue, 14 May 2019 09:23:00 GMT
server
cloudflare
expect-ct
max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
vary
Accept-Encoding
content-type
application/json; charset=utf-8
access-control-allow-origin
*
cache-control
public, max-age=3600
timing-allow-origin
*
access-control-allow-headers
Origin, X-Requested-With, Content-Type, Accept, Range
expires
Wed, 15 May 2019 16:01:27 GMT
rmp-s2.min.css
www.golem.de/staticrl/scripts/radiant/4.9.1/css/
57 KB
12 KB
Stylesheet
General
Full URL
https://www.golem.de/staticrl/scripts/radiant/4.9.1/css/rmp-s2.min.css
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/4.9.1/js/rmp.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
208b975a401cac12224ab9aa61d73bb5e9d75f4561ae756896e2c59be6074ba9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
Content-Encoding
gzip
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
W/"5c3e3687-e209"
Vary
Accept-Encoding
Content-Type
text/css
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
Expires
Sat, 15 Jun 2019 15:01:27 GMT
p
insights.plista.com/
0
66 B
Image
General
Full URL
https://insights.plista.com/p?i=5a9fe1dae45a1d155411456a&r=&sr=&mt=Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger%20-%20Golem.de&ma=-1&tg=-1&ctg=-1&mp=-1&mu=-1&mi=https%3A%2F%2Fwww.golem.de%2F1905%2F141275-196128-196126_rc.jpg&md=Eigentlich%20soll%20das%20Best-of-the-Web-Siegel%20die%20Sicherheit%20von%20Webseiten%20zertifizieren%2C%20stattdessen%20wurden%20%C3%BCber%20ein%20gehacktes%20Script%20Keylogger%20eingebunden.&or=-1&wc=-1&pw=&pwu=0&co=0&il=&hv=&sc=-1&p=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&c=desktop&t=article&s=&_r=1557932487356:4.7.12:20190409-113831
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
23.111.11.152 Phoenix, United States, ASN33438 (HIGHWINDS2 - Highwinds Network Group, Inc., US),
Reverse DNS
Software
NetDNA-cache/2.2 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
204
date
Wed, 15 May 2019 15:01:27 GMT
server
NetDNA-cache/2.2
x-cache
MISS
hd-main.js
hgc-cf-cache-1.svonm.com/
211 KB
57 KB
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/hd-main.js?cache=lQfLMEmTIB
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/rmp-rl_129-min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
13.32.223.225 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-13-32-223-225.fra56.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
5d6c44d5980f3c680724df4abe386d27d13c519f4ffa1262dc6e649b32f6a5d8

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:27 GMT
Content-Encoding
gzip
Last-Modified
Tue, 14 May 2019 14:38:58 GMT
Server
AmazonS3
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Access-Control-Allow-Methods
GET, POST
Content-Type
application/javascript
Access-Control-Allow-Origin
*
Access-Control-Max-Age
3000
Cache-Control
no-cache
Transfer-Encoding
chunked
X-Cache
Hit from cloudfront
Connection
keep-alive
X-Amz-Cf-Id
N-CD1mfU_MYYswkU3z9vOCS1TzRn4NnRDMsDfYJ1q1dWgeFaVbW0oQ==
Via
1.1 df874ca0e51df630ccc49eab9f1f7fb3.cloudfront.net (CloudFront)
vevent
fra1-ib.adnxs.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AEoN3B0WUlBQW9BREUFmQUBfERvSlJsSkJNVG8wTXpNNVFPb0xTUmVmQW1BOGctd19VJVQJAQBXHQzwddgC5pMB4AKYk0bqAlpodHRwczovL3d3dy5nb2xlbS5kZS9uZXdzL2Jlc3Qtb2YtdGhlLXdlYi10cnVzdC1zaWVnZWwtdmVydGVpbHQta2V5bG9nZ2VyLTE5MDUtMTQxMjc1Lmh0bWzyAhEKBkNQR19JRBIHNzdFryzyAhEKBUNQX0lEEghRpUDyAhMKD0NVU1RPTV9NT0RFTAEeFADyAhoKFjIWACBMRUFGX05BTUUBHQgeCho2HQAIQVNUAT7w7UlGSUVEEgCAAwGIAwGQA4LrHZgDFKADAaoDAMAD4KgByAMA2APeuCjgAwDoAwD4AwOABACSBAkvb3BlbnJ0YjKYBACoBACyBAwIABAAGAAgADAAOAC4BADABADIBADSBA43MjIwI0ZSQTE6NDMzOdoEAggB4AQA8AS4ocpFiAUBmAUAoAX___________8BqgURNDcxNTMzMDgzNDc2NzIyMznABQDJBQAAAAAAAPA_0gUJCQAAAAAAAAAA2AUB4AUB8AXOmwH6BQQIABAAkAYBmAYAuAYAwQYAAAAAAADwP8gGANoGFgoQAAAAAAAFNwkBOBAAGADgBgzyBgIIAIAHAQ..&s=7e6df32d80fd0f03f57977c0ffd61b92c02d5201&type=nv&nvt=5&jm=1003&px=1058&py=2466&bw=235&bh=183&sid=4093843511517787222&vd=ct~0|rr~0&sv=162&tv=native1-18hs&ua=chrome52&pl=mac&x=v&tag_id=12611978&sw=1600&sh=1200&pw=1585&ph=5419&ww=1600&wh=1200&ft=0
Requested by
Host: cdn.adnxs.com
URL: https://cdn.adnxs.com/v/s/162/trk.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
37.252.173.27 , Ascension Island, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
539.bm-nginx-loadbalancer.mgmt.fra1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
29ee5d77-55e7-4fd8-ad4c-5dde987afc44
Content-Type
text/html; charset=utf-8
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.golem.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 539.bm-nginx-loadbalancer.mgmt.fra1; *.adnxs.com; 37.252.173.13:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
ima3.js
imasdk.googleapis.com/js/sdkloader/
236 KB
81 KB
Script
General
Full URL
https://imasdk.googleapis.com/js/sdkloader/ima3.js
Requested by
Host: www.golem.de
URL: https://www.golem.de/staticrl/scripts/radiant/4.9.1/js/rmp.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81d::200a Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
2f25e5f6f042386f0cbd93633fb42ce8351f2928108824351cb9717460214354
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 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, stale-while-revalidate=3600
accept-ranges
bytes
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
82617
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:27 GMT
best-of-the-web-trust-seal-(firmenvideo).jpg
video.golem.de/teaser/1/1/22898/thumb-high-700/
54 KB
54 KB
Image
General
Full URL
https://video.golem.de/teaser/1/1/22898/thumb-high-700/best-of-the-web-trust-seal-(firmenvideo).jpg
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:175 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
e5d1abb983fb4642a5c12b36921ee88e3444084d8d34265be58c85f13c22dc45

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:27 GMT
Last-Modified
Wed, 15 May 2019 14:22:34 GMT
Server
nginx
ETag
"5cdc20aa-d692"
Content-Type
image/jpeg
X-UPSTREAM
hybrid1.golem.de
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
54930
Expires
Sat, 15 Jun 2019 15:01:27 GMT
truncated
/
2 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
9d02d662da8a47fb5fb610b545007507b6017028043dbb63cd09ec897d3b9627

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

Response headers

Content-Type
image/png
truncated
/
715 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
5a3f1dd74233f605e511f1b5b244bedf85ac88ba264caf4d6401bc7ec2017dcd

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

Response headers

Content-Type
image/png
roboto-v18-latin-regular.woff2
www.golem.de/staticrl/scripts/radiant/4.9.1/css/fonts/
15 KB
15 KB
Font
General
Full URL
https://www.golem.de/staticrl/scripts/radiant/4.9.1/css/fonts/roboto-v18-latin-regular.woff2
Requested by
Host: cdn.adnxs.com
URL: https://cdn.adnxs.com/v/s/162/trk.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
3e253b66056519aa065b00a453bac37ac5ed8f3e6fe7b542e93a9dcdcc11d0bc

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.golem.de/staticrl/scripts/radiant/4.9.1/css/rmp-s2.min.css
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:27 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-3bf0"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
15344
Expires
Sat, 15 Jun 2019 15:01:27 GMT
rmp-font.woff2
www.golem.de/staticrl/scripts/radiant/4.9.1/css/fonts/
8 KB
9 KB
Font
General
Full URL
https://www.golem.de/staticrl/scripts/radiant/4.9.1/css/fonts/rmp-font.woff2?vj7w12
Requested by
Host: cdn.adnxs.com
URL: https://cdn.adnxs.com/v/s/162/trk.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
77.247.84.129 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
5c53c39018b0b497f2aa2e27114075534e637621a37383bcfa38bcbfff734418

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.golem.de/staticrl/scripts/radiant/4.9.1/css/rmp-s2.min.css
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:27 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
ETag
"5c3e3687-20e4"
Content-Type
application/octet-stream
Access-Control-Allow-Origin
*
Cache-Control
max-age=2678400
Connection
keep-alive
Accept-Ranges
bytes
Keep-Alive
timeout=3
Content-Length
8420
Expires
Sat, 15 Jun 2019 15:01:27 GMT
vevent
fra1-ib.adnxs.com/
0
809 B
Other
General
Full URL
https://fra1-ib.adnxs.com/vevent?an_audit=0&referrer=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&e=wqT_3QLNCfBDzQQAAAMA1gAFAQjI0_DmBRC44JD0gIm4higYxIiFuYXawq4_KjYJB5lk5Czs2T8RB5lk5Czs2T8ZAAAAYGZmCEAhB5kJGwApESTwyTEAAADAHoXrPzCK44EGOOsbQOsbSAJQhobCS1jum1hgAGjUy3x4-JMFgAEBigEDVVNEkgEDRVVSmAEBoAEBqAEBsAEAuAECwAEEyAEC0AEJ2AEA4AEA8A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VNUX01PRElGSUVEEgCAAwGIAwGQAwCYAxSgAwGqAwDAA-CoAcgDANgD3rgo4AMA6AMA-AMDgAQAkgQJL29wZW5ydGIymAQAqAQAsgQMCAAQABgAIAAwADgAuAQAwAQAyAQA0gQOMzU2MyNGUkExOjM5MTLaBAIIAeAEAPAEhobCS4gFAZgFAKAF____________AaoFETQ3MTUzMzA4MzQ3NjcyMjM5wAUAyQUAAAAAAADwP9IFCQkAAAAAAAAAANgFAeAFAfAFNvoFBAgAEACQBgGYBgC4BgDBBgAAAAAAAPA_yAYA2gYWChAAAAAAAAAAAAAAAAAAAAAAEAAYAOAGDPIGAggAgAcB&s=cd9f68052bf461c09894796e788ed57dc5e75926&type=nv&nvt=5&jm=1003&px=803&py=2283&bw=235&bh=51&sid=4093843511517787222&vd=ct~0|rr~0&sv=162&tv=native1-18hs&ua=chrome52&pl=mac&x=v&tag_id=12611978&cid=3&cr=nv&sw=1600&sh=1200&pw=1585&ph=5419&ww=1600&wh=1200&ft=0
Requested by
Host: cdn.adnxs.com
URL: https://cdn.adnxs.com/v/s/162/trk.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
37.252.173.27 , Ascension Island, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
539.bm-nginx-loadbalancer.mgmt.fra1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
ccf85fff-494f-41cd-a9cd-e47bde7bde52
Content-Type
text/html; charset=utf-8
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.golem.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 539.bm-nginx-loadbalancer.mgmt.fra1; *.adnxs.com; 37.252.172.207:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
vevent
fra1-ib.adnxs.com/
0
809 B
Other
General
Full URL
https://fra1-ib.adnxs.com/vevent?an_audit=0&referrer=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&e=wqT_3QLLCfBDywQAAAMA1gAFAQjI0_DmBRC79a7O-aiH310YxIiFuYXawq4_KjYJF30Facai1T8RF30Facai1T8ZAAAAYGZmCEAhF30JGwApESTwyTEAAADAHoXrPzCK44EGOOsbQOsbSAJQ2-irSFjum1hgAGjUy3x4-JMFgAEBigEDVVNEkgEDRVVSmAEBoAEBqAEBsAEAuAECwAEEyAEC0AEJ2AEA4AEA8AEAigKUAXVmKCdhJywgMzE2Mzk4NCwgMTU1NzkzMjQ4OCk7dWYoJ2knLCAxMDg5OTM0LCAxNTU3OTMyNDg4KTt1ZignZycsIDc2MzQ3NjksIDE1NTc5MzI0ODgpO3VmKCdjJywgMjgyOTM1NzgsIDE1NTcuWAAscicsIDE1MTcxMjg1Oj0A9HUBkgLlAiFzVlV2NEFqSzg3NE5FTnZvcTBnWUFDRHVtMWd3QkRnQVFBUkk2eHRRaXVPQkJsZ0FZUF9fX184UGFBQndBWGdCZ0FFQmlBRUJrQUVCbUFFQm9BRVFxQUVLc0FFQXVRSFkyajliSUVmVFA4RUJPNDN6OGJ5aTFUX0pBUUFBQU1DUFhQQV8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0&sv=162&tv=native1-18hs&ua=chrome52&pl=mac&x=v&tag_id=12611978&cid=3&cr=nv&sw=1600&sh=1200&pw=1585&ph=5419&ww=1600&wh=1200&ft=0
Requested by
Host: cdn.adnxs.com
URL: https://cdn.adnxs.com/v/s/162/trk.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
37.252.173.27 , Ascension Island, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
539.bm-nginx-loadbalancer.mgmt.fra1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:30 GMT
AN-X-Request-Uuid
93d7997a-c7ba-48bc-9b72-4df4815aa8e2
Content-Type
text/html; charset=utf-8
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.golem.de
Cache-Control
no-store, no-cache, private
Access-Control-Allow-Credentials
true
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 539.bm-nginx-loadbalancer.mgmt.fra1; *.adnxs.com; 37.252.172.110:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT
truncated
/
211 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
5d6c44d5980f3c680724df4abe386d27d13c519f4ffa1262dc6e649b32f6a5d8

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

Response headers

Content-Type
text/javascript
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43098:uniques_instantly[domain:www.golem.de,url:%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html,page:Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger,author:No%20Author,language:de,site_skin:desktop,custom_page_type:Article%20page,article_layout:default,category:news,type_article:shortread,pub_date:15%20May%202019%2016%3A15%3A00%20CEST,reference_time:101,user_agent:Mozilla%2F5.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,device:desktop,browser_version:Other%2067,browser:Other,depth:1,user_type:new,user_id:bfb4dbef7.3136f60c7_1557932487883,cdn_version:7]&s=6acc7c777cce3be138a245218c439c54&1557932487893
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:28 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT
/
tt.onthe.io/uniques/
33 B
515 B
Script
General
Full URL
https://tt.onthe.io/uniques/?current=15&holding=108810e7aaccba71ff5759d480adc9d0&hash_user=bfb4dbef7.3136f60c7_1557932487883&1557932487896
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
166f9390df29e23f9c9c45c50026de3b8ea04605424c6edc8557a3d3e71af7b8

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:28 GMT
Server
nginx
Content-Type
text/html
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
33
Expires
Thu, 01 Jan 1970 00:00:01 GMT
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43098:visits_instantly[domain:www.golem.de,url:%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html,page:Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger,author:No%20Author,language:de,site_skin:desktop,custom_page_type:Article%20page,article_layout:default,category:news,type_article:shortread,pub_date:15%20May%202019%2016%3A15%3A00%20CEST,reference_time:101,user_agent:Mozilla%2F5.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,device:desktop,browser_version:Other%2067,browser:Other,depth:1,user_type:new,user_id:bfb4dbef7.3136f60c7_1557932487883,cdn_version:7]&s=6acc7c777cce3be138a245218c439c54&__io=bfb4dbef7.3136f60c7_1557932487883&1557932487936
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:28 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43098:pageviews[domain:www.golem.de,url:%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html,page:Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger,author:No%20Author,language:de,site_skin:desktop,custom_page_type:Article%20page,article_layout:default,category:news,type_article:shortread,pub_date:15%20May%202019%2016%3A15%3A00%20CEST,reference_time:101,user_agent:Mozilla%2F5.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,device:desktop,browser_version:Other%2067,browser:Other,depth:1,user_type:new,user_id:bfb4dbef7.3136f60c7_1557932487883,cdn_version:7]&s=6acc7c777cce3be138a245218c439c54&1557932487983
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:28 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT
global_config.json
s3.amazonaws.com/homad-global-configs.schneevonmorgen.com/
53 B
642 B
XHR
General
Full URL
https://s3.amazonaws.com/homad-global-configs.schneevonmorgen.com/global_config.json?cache=2080564425
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIE9vdGFlbG9veWVlYmFaZWU9T290YWVsb295ZWViYVplZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBkYSgpe3kuT2V8fCh5Lk9lPTApO3kuT2UrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXkudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eS52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eS5PZSYmd2luZG93LnNldFRpbWVvdXQoZGEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRv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WF0aC5hYnMoLTEpLCJ0ZiIsIlooVFREWlRSUiIpO3dpbmRvdy5BPVdkLkdvKDQpfSkuY2FsbChPb3RhZWxvb3llZWJhWmVlLE9vdGFlbG9veWVlYmFaZWUpOwo=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.216.228.179 Ashburn, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:29 GMT
Last-Modified
Wed, 15 May 2019 14:59:20 GMT
Server
AmazonS3
x-amz-request-id
E87813689E14484C
ETag
"3f42d83ce95b1a6eea170c73c8842d09"
Vary
Origin, Access-Control-Request-Headers, Access-Control-Request-Method
Access-Control-Allow-Methods
GET, POST
Content-Type
application/json
Access-Control-Allow-Origin
*
Access-Control-Max-Age
3000
Cache-Control
no-cache, no-store
Accept-Ranges
bytes
Content-Length
53
x-amz-id-2
FSIdJRBC2vRZBsRnFcF1SMi7CZ5NWN31OJMlhpvEzXCzThu43uFRtLYep9MsxP7w6yMsXQaEY3k=
Expires
0
homadclienthttpsle-json.php
video.golem.de/staticrl/scripts/radiant/
291 B
682 B
XHR
General
Full URL
https://video.golem.de/staticrl/scripts/radiant/homadclienthttpsle-json.php?cache=6768358894
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIE9vdGFlbG9veWVlYmFaZWU9T290YWVsb295ZWViYVplZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBkYSgpe3kuT2V8fCh5Lk9lPTApO3kuT2UrKzt3aW5kb3cudmlkZW9wa2dJbn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7cmV0dXJuIDk8CmE/dGhpcy5Razp0aGlzLmooYSl9LGo6ZnVuY3Rpb24oYSl7cmV0dXJuIDY8YT90aGlzLmw6YX19fSkoYyk7dmFyIGNkPWMuY218fGNkLFdkPW5ldyBjZCgxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwidHJ1ZSIsbmF2aWdhdG9yLCJsLWtleSIsITEsTWF0aC5hYnMoLTEpLCJ0ZiIsIlooVFREWlRSUiIpO3dpbmRvdy5BPVdkLkdvKDQpfSkuY2FsbChPb3RhZWxvb3llZWJhWmVlLE9vdGFlbG9veWVlYmFaZWUpOwo=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2a00:13c8:f5::f:4b3d:175 , Germany, ASN25291 (SYSELEVEN SysEleven GmbH, DE),
Reverse DNS
Software
nginx /
Resource Hash
25b8c26212dbd48007be24a885e489432092cdeb9ae7d70a223d5cd88582205d

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:28 GMT
Last-Modified
Tue, 15 Jan 2019 19:37:43 GMT
Server
nginx
Vary
User-Agent, Accept-Encoding
Access-Control-Allow-Methods
POST, GET, OPTIONS
Content-Type
application/json;charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Transfer-Encoding
chunked
Connection
keep-alive
Keep-Alive
timeout=3
config.json
hgc-cf-cache-1.svonm.com/www.golem.de/
288 B
955 B
XHR
General
Full URL
https://hgc-cf-cache-1.svonm.com/www.golem.de/config.json?cache=2224972254
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIE9vdGFlbG9veWVlYmFaZWU9T290YWVsb295ZWViYVplZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBkYSgp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4gNDxhP3RoaXMuUXE6dGhpcy5QayhhKX0sUGs6ZnVuY3Rpb24oYSl7cmV0dXJuIDk8CmE/dGhpcy5Razp0aGlzLmooYSl9LGo6ZnVuY3Rpb24oYSl7cmV0dXJuIDY8YT90aGlzLmw6YX19fSkoYyk7dmFyIGNkPWMuY218fGNkLFdkPW5ldyBjZCgxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwidHJ1ZSIsbmF2aWdhdG9yLCJsLWtleSIsITEsTWF0aC5hYnMoLTEpLCJ0ZiIsIlooVFREWlRSUiIpO3dpbmRvdy5BPVdkLkdvKDQpfSkuY2FsbChPb3RhZWxvb3llZWJhWmVlLE9vdGFlbG9veWVlYmFaZWUpOwo=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
13.32.223.225 Seattle, United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
server-13-32-223-225.fra56.r.cloudfront.net
Software
AmazonS3 /
Resource Hash
640f0a03cd1e9c721ac8844b006b9047b070a9f7d13a3278b98fb0461947dd8f

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:27 GMT
Via
1.1 df874ca0e51df630ccc49eab9f1f7fb3.cloudfront.net (CloudFront)
Vary
Origin,Access-Control-Request-Headers,Access-Control-Request-Method
Age
55
X-Cache
Hit from cloudfront
Connection
keep-alive
Content-Length
288
Last-Modified
Tue, 30 Apr 2019 15:43:40 GMT
Server
AmazonS3
ETag
"54c7dbe42d2e906013c324c59a35e181"
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
783lHWpTAFbC1b_6EZd3jLq6c-37Bu11TRiu3B3aN__TPnwghtlSqw==
Expires
0
bridge3.304.0_de.html
imasdk.googleapis.com/js/core/ Frame F4F2
0
0
Document
General
Full URL
https://imasdk.googleapis.com/js/core/bridge3.304.0_de.html
Requested by
Host: imasdk.googleapis.com
URL: https://imasdk.googleapis.com/js/sdkloader/ima3.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81d::200a Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
imasdk.googleapis.com
:scheme
https
:path
/js/core/bridge3.304.0_de.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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
content-length
183567
date
Mon, 13 May 2019 19:23:50 GMT
expires
Tue, 12 May 2020 19:23:50 GMT
last-modified
Mon, 13 May 2019 19:20:55 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
0
cache-control
public, max-age=31536000
age
157058
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
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
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2006 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
62f2eeec7851ae0d5e322062cf40092478236d4a4fc5a2cfd87b257739104147
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:28 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="46,44,43,39"
content-length
10523
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:28 GMT
/
ssl.2.damoh.golem.de/82b8ab0162121433f4c743e41599465fa41e46cb/
288 B
1 KB
XHR
General
Full URL
https://ssl.2.damoh.golem.de/82b8ab0162121433f4c743e41599465fa41e46cb/
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIE9vdGFlbG9veWVlYmFaZWU9T290YWVsb295ZWViYVplZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBkYSgpe3kuT2V8fCh5Lk9lPTApO3kuT2UrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXkudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eS52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eS5PZSYmd2luZG93LnNldFRpbWVvdXQoZGEsNTAwKX1mdW5jdGlvbiB6KCl7d2lu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idHJ1ZSIsbmF2aWdhdG9yLCJsLWtleSIsITEsTWF0aC5hYnMoLTEpLCJ0ZiIsIlooVFREWlRSUiIpO3dpbmRvdy5BPVdkLkdvKDQpfSkuY2FsbChPb3RhZWxvb3llZWJhWmVlLE9vdGFlbG9veWVlYmFaZWUpOwo=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.235.107 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.107.235.251.148.clients.your-server.de
Software
AmazonS3 /
Resource Hash
640f0a03cd1e9c721ac8844b006b9047b070a9f7d13a3278b98fb0461947dd8f

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:28 GMT
Connection
keep-alive
Content-Length
288
Last-Modified
Tue, 30 Apr 2019 15:43:41 GMT
Server
AmazonS3
Etag
"54c7dbe42d2e906013c324c59a35e181"
Vary
Accept-Encoding
Access-Control-Allow-Methods
GET, POST, OPTIONS
Content-Type
application/json
Access-Control-Allow-Origin
https://www.golem.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
de5-homad-3
X-Homad-Url
http://homad-global-configs-eu-fra.schneevonmorgen.com.s3.amazonaws.com/www.golem.de/config.json
Accept-Ranges
bytes
Access-Control-Allow-Headers
X-Homad-Compatible-Vpaid, X-Homad-Post, X-Homad-Url
Expires
0
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43067:uniques_holding&s=6acc7c777cce3be138a245218c439c54&__io=bfb4dbef7.3136f60c7_1557932487883&1557932488749
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:28 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT
hic_qos
ssl.1.damoh.golem.de/
24 B
281 B
Script
General
Full URL
https://ssl.1.damoh.golem.de/hic_qos?ads&adserv=1&_werbebanner_&simple_ad_
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIE9vdGFlbG9veWVlYmFaZWU9T290YWVsb295ZWViYVplZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBkYSgpe3kuT2V8fCh5Lk9lPTApO3kuT2UrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXkudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eS52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eS5PZSYmd2luZG93LnNldFRpbWVvdXQoZGEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3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SUiIpO3dpbmRvdy5BPVdkLkdvKDQpfSkuY2FsbChPb3RhZWxvb3llZWJhWmVlLE9vdGFlbG9veWVlYmFaZWUpOwo=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
136.243.102.69 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.69.102.243.136.clients.your-server.de
Software
openresty/1.13.6.2 /
Resource Hash
ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:28 GMT
Last-Modified
Wed, 24 Apr 2019 07:48:14 GMT
Server
openresty/1.13.6.2
ETag
"5cc014be-18"
Content-Type
application/octet-stream
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
24
truncated
/ Frame DCD1
241 B
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
e4cb8cf94193e76c36519aa528f94f70b81a39b88d21349e39967320f1977159

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

Response headers

Content-Type
text/javascript
/
ssl.2.damoh.golem.de/5be23de484df8fb08837f5aca86e1804fae4c9ac/
110 B
672 B
XHR
General
Full URL
https://ssl.2.damoh.golem.de/5be23de484df8fb08837f5aca86e1804fae4c9ac/
Requested by
Host: text
URL: data:text/javascript;base64,dmFyIE9vdGFlbG9veWVlYmFaZWU9T290YWVsb295ZWViYVplZXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBkYSgpe3kuT2V8fCh5Lk9lPTApO3kuT2UrKzt3aW5kb3cudmlk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3Rpb24oYSl7cmV0dXJuIDk8CmE/dGhpcy5Razp0aGlzLmooYSl9LGo6ZnVuY3Rpb24oYSl7cmV0dXJuIDY8YT90aGlzLmw6YX19fSkoYyk7dmFyIGNkPWMuY218fGNkLFdkPW5ldyBjZCgxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwidHJ1ZSIsbmF2aWdhdG9yLCJsLWtleSIsITEsTWF0aC5hYnMoLTEpLCJ0ZiIsIlooVFREWlRSUiIpO3dpbmRvdy5BPVdkLkdvKDQpfSkuY2FsbChPb3RhZWxvb3llZWJhWmVlLE9vdGFlbG9veWVlYmFaZWUpOwo=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.235.107 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.107.235.251.148.clients.your-server.de
Software
TornadoServer/4.5.3 /
Resource Hash
9326b813f05efe1ac285085eef770b1036f77bdbbedf69f79eb83b35a121040c

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:29 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.golem.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
110
dmp
tracking.m6r.eu/sync/
86 B
592 B
XHR
General
Full URL
https://tracking.m6r.eu/sync/dmp?checkcookies=true
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.19.33.59 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a2-19-33-59.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
093fedc7f03d95ca75cc4668a740b740cdc78d60290983a785b946fd3a98af68

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Date
Wed, 15 May 2019 15:01:29 GMT
Content-Encoding
gzip
Server
nginx
Vary
Accept-Encoding
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Access-Control-Allow-Origin
https://www.golem.de
Access-Control-Allow-Credentials
true
Connection
keep-alive
Content-Type
application/json; charset=utf-8
Content-Length
100
api
cdn.m6r.eu/sync/
1 KB
1 KB
Script
General
Full URL
https://cdn.m6r.eu/sync/api
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.111.215.171 , Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-111-215-171.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
5ccef4c578bc4792e27c6b094f421f3948add858035cf045a8471cbe2d7d59ed

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:29 GMT
Content-Encoding
gzip
Last-Modified
Mon, 13 May 2019 14:40:38 GMT
Server
nginx
Vary
Accept-Encoding
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control
max-age=86400
Connection
keep-alive
Content-Type
application/javascript; charset=utf-8
Content-Length
649
Expires
Thu, 16 May 2019 15:01:29 GMT
ads
securepubads.g.doubleclick.net/gampad/
484 B
777 B
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=3794680507854700&correlator=4017832430250644&output=json_html&callback=googletag.impl.pubads.callbackProxy1&impl=fifs&adsid=NT&json_a=1&eid=21061865%2C21062753%2C953563516&vrg=2019050901&guci=1.2.0.0.2.2.0.0&plat=1%3A32776%2C2%3A32776%2C8%3A32776&sc=1&sfv=1-0-33&iu_parts=4444%2Cdisp_ctc_golem.de_sd%2Cartikel&enc_prev_ius=0%2F1%2F2&prev_iu_szs=800x450%7C580x500%7C580x360&prev_scp=adslot%3Dposterad%26pc%3D1%26af%3Dptad%2Cintxspt&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dsra%26yt%3D0%26adset%3Dbrsl%26flash%3Dno%26keywords%3Dsec%252Cinet%252Cdatensicherheit%252Ckeylogger%252Ctsilkcalb%252Citsicherheit%252Cmalware%252Csicherheitsluecke%252Cautormoritztremmel%252Cserver%252Cinternet%252Csecurity%26nuggad%3Dn3-1%252Cn5-5%252Cn6-2%252Cn7-2%252Cn8-5%252Cn9-0%252Cn10-1%252Cn11-1%252Cn12-6%252Cn17-4%252Cn18-2%252Cn20-2%252Cn21-4%252Cn33-4%252Cn38-2%252Cn39-4%252Cn43-3%252Cn44-3%252Cn46-4%252Cn52-2%252Cn57-3%252Cn58-4%252Cn60-3%252Cn62-3%252Cn67-0%252Cn70-4%252Cn71-7%252Cn75-0%252Cn76-1%252Cn77-0%252Cn78-1%252Cn79-1%252Cn80-0%252Cn81-1%252Cn82-1%252Cn83-0%252Cn84-0%252Cn85-1%252Cn86-0%252Cn87-0%252Cn88-1%252Cn117-2%252Cn118-6%252Cn119-3%252Cn120-2%252Cn121-2%252Cn122-1%252Cn123-2%252Cn127-0%252Cn128-2%252Cn135-9%252Cn15-1%252Cn66-1%252Cn89-2%252Cn90-1%252Cn92-1%252Cn93-3%252Cn94-2%252Cn97-1%252Cn98-1%252Cn99-1%252Cn101-1%252Cn104-1%252Cn106-1%252Cn107-1%252Cn114-1%252Cn115-1%252Cn124-1%252Cn125-1%252Cn126-1%252Cn139-1%252Cn153-1%252Cn154-1%252Cn155-1%252Cn156-1%252Cn157-1%252Cn158-1%252Cn159-1%252Cn160-1%252Cn161-1%26mbrStatus%3Dcalled-idfound%26mbrid%3Db03c1ca71ac9b590ac4dfddc5f3ad735%26mbrseg%3D3e05b94d%252Cb3838f1f&cookie_enabled=1&bc=31&abxe=1&lmt=1557932489&dt=1557932489882&dlt=1557932485956&idt=3653&frm=20&biw=1585&bih=1200&oid=3&adxs=0&adys=0&adks=1587276660&ucis=1&ifi=2&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.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&dssz=72&icsg=1000566855655168&mso=32&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1000x0&msz=800x450&blev=1&bisch=1&ga_vid=154558382.1557932487&ga_sid=1557932487&ga_hid=1317382592&fws=128
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
c1d9a432d3d7f3f8a9bb30bada1c2b6dc01a7931eeabc74488976d39a7acb0ca
Security Headers
Name Value
X-Content-Type-Options nosniff
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:30 GMT
content-encoding
br
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="46,44,43,39"
content-length
325
x-xss-protection
0
google-lineitem-id
-2
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
-2
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.golem.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_2019050901.js
securepubads.g.doubleclick.net/gpt/
71 KB
27 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
93d39da3773a26f38a235454f91d1d2a57a0d9d066c72f9a41452651b08e539e
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:30 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
27443
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:30 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/
0
0
Other
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash

Request headers

Purpose
prefetch
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

translator
hbopenbid.pubmatic.com/
0
114 B
XHR
General
Full URL
https://hbopenbid.pubmatic.com/translator?source=prebid-client
Requested by
Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
185.64.189.112 , United Kingdom, ASN62713 (AS-PUBMATIC - PubMatic, Inc., US),
Reverse DNS
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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

Response headers

status
204
date
Wed, 15 May 2019 15:01:30 GMT
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
access-control-allow-origin
https://www.golem.de
v1
dmx.districtm.io/b/
0
271 B
XHR
General
Full URL
https://dmx.districtm.io/b/v1
Requested by
Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Protocol
H2
Security
TLS 1.2, ECDHE_ECDSA, AES_256_GCM
Server
35.203.66.107 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
107.66.203.35.bc.googleusercontent.com
Software
nginx/1.13.12 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains; preload

Request headers

Access-Control-Request-Method
POST
Origin
https://www.golem.de
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Access-Control-Request-Headers
content-type

Response headers

date
Wed, 15 May 2019 15:01:30 GMT
server
nginx/1.13.12
access-control-allow-origin
https://www.golem.de
vary
origin
access-control-allow-methods
OPTIONS, POST
status
204
access-control-max-age
14400
access-control-allow-credentials
true
strict-transport-security
max-age=31536000; includeSubDomains; preload
access-control-allow-headers
origin, content-type
prebid
ib.adnxs.com/ut/v3/
21 B
838 B
XHR
General
Full URL
https://ib.adnxs.com/ut/v3/prebid
Requested by
Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
185.33.223.209 , Netherlands, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
314.bm-nginx-loadbalancer.mgmt.ams1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:32 GMT
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 314.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.223.240:80
AN-X-Request-Uuid
44cb68e7-567f-4372-9108-5a9ffa614520
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.golem.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/
51 KB
7 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=3794680507854700&correlator=4017832430250644&output=json_html&callback=googletag.impl.pubads.callbackProxy2&impl=fifs&adsid=NT&json_a=1&eid=21061865%2C21062753%2C953563516&vrg=2019050901&guci=1.2.0.0.2.2.0.0&plat=1%3A32776%2C2%3A32776%2C8%3A32776&sc=1&sfv=1-0-33&iu_parts=4444%2Cdisp_ctc_golem.de_sd%2Cartikel&enc_prev_ius=0%2F1%2F2%2C0%2F1%2F2%2C0%2F1%2F2%2C0%2F1%2F2&prev_iu_szs=10x40%7C10x30%7C10x20%7C10x22%7C120x600%7C160x600%7C200x600%7C300x600%2C20x10%7C30x10%7C40x10%7C80x10%7C800x250%7C970x250%7C728x90%7C728x180%7C770x250%2C10x20%7C10x10%7C300x250%7C300x601%7C300x125%2C10x10%7C10x11%7C301x250%7C300x126&prev_scp=adslot%3Dsky%26rfree%3D200-299%26pc%3D1%26yieldlove_reloads%3D0%26yieldlove_reloaded%3Dfalse%26yieldlove_meta%3Dpid%253A17298.sb%253Af%26yieldlove_pid%3D17298%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Dsky%26af%3Df1x4%2Cf1x3%2Cf1x2%2Cds%2Csky%2Chpad%2Cband%7Cadslot%3Dbanner%26pc%3D1%26yieldlove_reloads%3D0%26yieldlove_reloaded%3Dfalse%26yieldlove_meta%3Dpid%253A17295.sb%253Af%26yieldlove_pid%3D17295%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Dbanner%26af%3Df2x1%2Cf3x1%2Cf4x1%2Cf8x1%2Cwp%2Cush%2Cbb%2Cvidwa%2Cfufrad%7Cadslot%3Drectangle%26pc%3D1%26yieldlove_reloads%3D0%26yieldlove_reloaded%3Dfalse%26yieldlove_meta%3Dpid%253A17299.sb%253Af%26yieldlove_pid%3D17299%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Drectangle%26af%3Df1x2%2Cf1x1%2Cmrec%7Cadslot%3Drectangle2%26pc%3D1%26yieldlove_reloads%3D0%26yieldlove_reloaded%3Dfalse%26yieldlove_meta%3Dpid%253A17300.sb%253Af%26yieldlove_pid%3D17300%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Drectangle2%26af%3Df1x1%2Cmrec&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dsra%26yt%3D0%26adset%3Dbrsl%26flash%3Dno%26keywords%3Dsec%252Cinet%252Cdatensicherheit%252Ckeylogger%252Ctsilkcalb%252Citsicherheit%252Cmalware%252Csicherheitsluecke%252Cautormoritztremmel%252Cserver%252Cinternet%252Csecurity%26nuggad%3Dn3-1%252Cn5-5%252Cn6-2%252Cn7-2%252Cn8-5%252Cn9-0%252Cn10-1%252Cn11-1%252Cn12-6%252Cn17-4%252Cn18-2%252Cn20-2%252Cn21-4%252Cn33-4%252Cn38-2%252Cn39-4%252Cn43-3%252Cn44-3%252Cn46-4%252Cn52-2%252Cn57-3%252Cn58-4%252Cn60-3%252Cn62-3%252Cn67-0%252Cn70-4%252Cn71-7%252Cn75-0%252Cn76-1%252Cn77-0%252Cn78-1%252Cn79-1%252Cn80-0%252Cn81-1%252Cn82-1%252Cn83-0%252Cn84-0%252Cn85-1%252Cn86-0%252Cn87-0%252Cn88-1%252Cn117-2%252Cn118-6%252Cn119-3%252Cn120-2%252Cn121-2%252Cn122-1%252Cn123-2%252Cn127-0%252Cn128-2%252Cn135-9%252Cn15-1%252Cn66-1%252Cn89-2%252Cn90-1%252Cn92-1%252Cn93-3%252Cn94-2%252Cn97-1%252Cn98-1%252Cn99-1%252Cn101-1%252Cn104-1%252Cn106-1%252Cn107-1%252Cn114-1%252Cn115-1%252Cn124-1%252Cn125-1%252Cn126-1%252Cn139-1%252Cn153-1%252Cn154-1%252Cn155-1%252Cn156-1%252Cn157-1%252Cn158-1%252Cn159-1%252Cn160-1%252Cn161-1%26mbrStatus%3Dcalled-idfound%26mbrid%3Db03c1ca71ac9b590ac4dfddc5f3ad735%26mbrseg%3D3e05b94d%252Cb3838f1f&cookie_enabled=1&bc=31&abxe=1&lmt=1557932490&dt=1557932490268&dlt=1557932485956&idt=3653&frm=20&biw=1585&bih=1200&oid=3&adxs=0%2C0%2C0%2C0&adys=0%2C0%2C0%2C0&adks=4154185509%2C3506586144%2C2040986986%2C2621756903&ucis=3%7C4%7C5%7C6&ifi=4&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.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&dssz=73&icsg=1000566855655168&mso=32&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=160x0%7C1000x0%7C0x0%7C300x2&msz=10x40%7C20x10%7C10x20%7C10x10&blev=1&bisch=1&ga_vid=154558382.1557932487&ga_sid=1557932487&ga_hid=1317382592&fws=128%2C128%2C128%2C128
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
172e97436652b954e64f95c8607ccbb0035fa762e04217d422260e3b86e12e8e
Security Headers
Name Value
X-Content-Type-Options nosniff
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:31 GMT
content-encoding
br
x-content-type-options
nosniff
google-mediationgroup-id
-2,-2,-2,-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="46,44,43,39"
content-length
7180
x-xss-protection
0
google-lineitem-id
4889676871,4889797896,4889680744,4889801247
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
138267872638,138267578040,138267872656,138267872671
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.golem.de
cache-control
no-cache, must-revalidate
access-control-allow-credentials
true
timing-allow-origin
*
expires
Fri, 01 Jan 1990 00:00:00 GMT
v1
dmx.districtm.io/b/
0
0

container
tracking.m6r.eu/pixel/
Redirect Chain
  • https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n3=1&n5=5&n6=2&n7=2&n8=5&n9=0&n10=1&n11=1&n12=6&n17=4&n18=2&n20=2&n21=4&n33=4&n38=2&n39=4&n43=3&n44=3&n46=4&n52=...
  • https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n3=1&n5=5&n6=2&n7=2&n8=5&n9=0&n10=1&n11=1&n12=6&n17=4&n18=2&n20=2&n21=4&n33=4&n38=2&n39=4&n43=3&n44=3&n46=4&n52=...
3 KB
2 KB
Script
General
Full URL
https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n3=1&n5=5&n6=2&n7=2&n8=5&n9=0&n10=1&n11=1&n12=6&n17=4&n18=2&n20=2&n21=4&n33=4&n38=2&n39=4&n43=3&n44=3&n46=4&n52=2&n57=3&n58=4&n60=3&n62=3&n67=0&n70=4&n71=7&n75=0&n76=1&n77=0&n78=1&n79=1&n80=0&n81=1&n82=1&n83=0&n84=0&n85=1&n86=0&n87=0&n88=1&n117=2&n118=6&n119=3&n120=2&n121=2&n122=1&n123=2&n127=0&n128=2&n135=9&n15=1&n66=1&n89=2&n90=1&n92=1&n93=3&n94=2&n97=1&n98=1&n99=1&n101=1&n104=1&n106=1&n107=1&n114=1&n115=1&n124=1&n125=1&n126=1&n139=1&n153=1&n154=1&n155=1&n156=1&n157=1&n158=1&n159=1&n160=1&n161=1&checkcookies=true
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.19.33.59 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a2-19-33-59.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
fac122458b5b1684db8cb42e570d29c21e8526612beb209ba61f5a13f54080b9

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:30 GMT
Content-Encoding
gzip
Server
nginx
Vary
Accept-Encoding
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control
no-cache
Connection
keep-alive
Content-Type
text/javascript; charset=utf-8
Content-Length
1507

Redirect headers

Location
https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n3=1&n5=5&n6=2&n7=2&n8=5&n9=0&n10=1&n11=1&n12=6&n17=4&n18=2&n20=2&n21=4&n33=4&n38=2&n39=4&n43=3&n44=3&n46=4&n52=2&n57=3&n58=4&n60=3&n62=3&n67=0&n70=4&n71=7&n75=0&n76=1&n77=0&n78=1&n79=1&n80=0&n81=1&n82=1&n83=0&n84=0&n85=1&n86=0&n87=0&n88=1&n117=2&n118=6&n119=3&n120=2&n121=2&n122=1&n123=2&n127=0&n128=2&n135=9&n15=1&n66=1&n89=2&n90=1&n92=1&n93=3&n94=2&n97=1&n98=1&n99=1&n101=1&n104=1&n106=1&n107=1&n114=1&n115=1&n124=1&n125=1&n126=1&n139=1&n153=1&n154=1&n155=1&n156=1&n157=1&n158=1&n159=1&n160=1&n161=1&checkcookies=true
Date
Wed, 15 May 2019 15:01:30 GMT
Server
nginx
Connection
keep-alive
Content-Length
627
Content-Type
text/plain; charset=utf-8
adscaleSyncDone
tracking.m6r.eu/sync/
Redirect Chain
  • https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=aa71e10da3e37a80171888ccc7f0350b&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3Daa71e10da3e37a80171888ccc7f0350b%2...
  • https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=aa71e10da3e37a80171888ccc7f0350b&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3Daa71e10da3e37a80171888ccc7f0350b%2...
  • https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=aa71e10da3e37a80171888ccc7f0350b&userId=adscale-user:70b9337cadd54c1cbd2f0f3b524c9a41
  • https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=aa71e10da3e37a80171888ccc7f0350b&userId=adscale-user%3A70b9337cadd54c1cbd2f0f3b524c9a41&checkcookies=true
44 B
528 B
Image
General
Full URL
https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=aa71e10da3e37a80171888ccc7f0350b&userId=adscale-user%3A70b9337cadd54c1cbd2f0f3b524c9a41&checkcookies=true
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.19.33.59 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a2-19-33-59.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
821e2efd660f6b759d561cd5cd194670e51ecebcbc06055cdcbebcd91ec94a56

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:38 GMT
Cache-Control
no-cache
Server
nginx
Connection
keep-alive
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Content-Length
44
Content-Type
image/gif

Redirect headers

Location
https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=aa71e10da3e37a80171888ccc7f0350b&userId=adscale-user%3A70b9337cadd54c1cbd2f0f3b524c9a41&checkcookies=true
Date
Wed, 15 May 2019 15:01:38 GMT
Server
nginx
Connection
keep-alive
Content-Length
185
Content-Type
text/plain; charset=utf-8
setuid
ib.adnxs.com/
Redirect Chain
  • https://tracking.m6r.eu/sync/appnexusRedirect
  • https://ib.adnxs.com/setuid?entity=197&code=aa71e10da3e37a80171888ccc7f0350b
0
584 B
Image
General
Full URL
https://ib.adnxs.com/setuid?entity=197&code=aa71e10da3e37a80171888ccc7f0350b
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_ECDSA, AES_128_GCM
Server
185.33.223.209 , Netherlands, ASN29990 (ASN-APPNEXUS - AppNexus, Inc, US),
Reverse DNS
314.bm-nginx-loadbalancer.mgmt.ams1.adnexus.net
Software
nginx/1.13.4 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:33 GMT
AN-X-Request-Uuid
7f314a10-d014-4cf3-830a-2a8a96c58b0c
Content-Type
text/html; charset=utf-8
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"
Cache-Control
no-store, no-cache, private
Connection
keep-alive
X-Proxy-Origin
5.254.82.68; 5.254.82.68; 314.bm-nginx-loadbalancer.mgmt.ams1; *.adnxs.com; 185.33.220.8:80
Content-Length
0
X-XSS-Protection
0
Expires
Sat, 15 Nov 2008 16:00:00 GMT

Redirect headers

Location
https://ib.adnxs.com/setuid?entity=197&code=aa71e10da3e37a80171888ccc7f0350b
Date
Wed, 15 May 2019 15:01:31 GMT
Server
nginx
Connection
keep-alive
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Content-Length
98
Content-Type
text/plain; charset=utf-8
adxSyncDone
tracking.m6r.eu/sync/
Redirect Chain
  • https://cm.g.doubleclick.net/pixel?google_nid=m6r&google_ula=158217889&google_hm=qnHhDaPjeoAXGIjMx_A1Cw
  • https://tracking.m6r.eu/sync/adxSyncDone?google_ula=158217889,0
44 B
523 B
Image
General
Full URL
https://tracking.m6r.eu/sync/adxSyncDone?google_ula=158217889,0
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.19.33.59 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a2-19-33-59.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
821e2efd660f6b759d561cd5cd194670e51ecebcbc06055cdcbebcd91ec94a56

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:32 GMT
Cache-Control
no-cache
Server
nginx
Connection
keep-alive
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Content-Length
44
Content-Type
image/gif

Redirect headers

pragma
no-cache
date
Wed, 15 May 2019 15:01:32 GMT
server
HTTP server (unknown)
location
https://tracking.m6r.eu/sync/adxSyncDone?google_ula=158217889,0
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
cache-control
no-cache, must-revalidate
content-type
text/html; charset=UTF-8
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
260
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
m
ad.yieldlab.net/
Redirect Chain
  • https://tracking.m6r.eu/sync/yieldlabRedirect
  • https://ad.yieldlab.net/m?dt_id=36356&ext_id=aa71e10da3e37a80171888ccc7f0350b
0
495 B
Image
General
Full URL
https://ad.yieldlab.net/m?dt_id=36356&ext_id=aa71e10da3e37a80171888ccc7f0350b
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.20.169.32 , Ascension Island, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a2-20-169-32.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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:31 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
Tue, 14 May 2019 15:01:31 GMT

Redirect headers

Location
https://ad.yieldlab.net/m?dt_id=36356&ext_id=aa71e10da3e37a80171888ccc7f0350b
Date
Wed, 15 May 2019 15:01:31 GMT
Server
nginx
Connection
keep-alive
P3P
CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Content-Length
99
Content-Type
text/plain; charset=utf-8
view
securepubads.g.doubleclick.net/pcs/ Frame 0901
0
296 B
Fetch
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvGgg5akOC4z_4M-RY86l8tmFFeK6liI2WtyvBqS2kPH3F3a-bT8LIo6iS68vLz-EQjp0uzkrCumvTaKyuzcouQaUE0xR9j8X0ekPZWNQcO30QXiugqeQjFLw-3rDV2WQMJGEH6Ff3MP_hhQpTVwzPmrAyBF3IJk-YUXvhWVZ5CRtdJ6c-0fkoJTo8BWX5pVRH1dXmp2ChEpULK30ktCzPitzGrn1uwbWmR8FSdRx8HHhdU0TPVBrOvzyJTBmwYKBLGncGqIwMc8LcSI9F0&sai=AMfl-YTyiVZ7HvmvHsG4gyTTudFd9HR1I1CPMECtejOFCx54QbkWXbL5zEE4HxcabI4v1SFNHf1yUA0C53ULyIalI4-LzuTCtSLvOCdDBHiBeiLLKP2xRGb6-DILiNg&sig=Cg0ArKJSzNP9A51Ml8xpEAE&urlfix=1&adurl=
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:31 GMT
x-content-type-options
nosniff
server
cafe
status
200
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"
access-control-allow-origin
*
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
0
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
gpt.js
www.googletagservices.com/tag/js/ Frame 0901
31 KB
10 KB
Script
General
Full URL
https://www.googletagservices.com/tag/js/gpt.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
3e8dadf2162e744a31d12d4935c7986dbc5c519a6829807c7582411c7972dc6d
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"166 / 149 of 1000 / last-modified: 1557857174"
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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
10550
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
osd_listener.js
www.googletagservices.com/activeview/js/current/ Frame 0901
75 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
58d5d69efb99ba86b86e44a4753304d14f0ebcda68e3b9b31faa68d85d2a9811
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28693
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame 07F8
0
57 B
Fetch
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjssb-LPsjtBVlW1AYYECIZ66djU9xwZ9vKZQBYktAShsRn2P5pKpBKsdKTdP2Vj4ObJsntZkauNdLon0GzKshG3l4He5tBQQ1b31K0hOxU6SULydprpsUMfPtjxhNpbasNNCG7cfowcshx_77QTmPN19NlldFiYn30WuFsuw1pX7-ZHz6VrUFKTNCCiUGHtbCeWeTUbHAMQq-Adm2zXtibRkG7OOBGZSRxo8Ht6wr5c9NnwijOOaIc8wJrlAw1i2nHqyorYF14iSubkGbniD&sai=AMfl-YSm08r5c8SoOClsxVQtXUWdQgZDWGL6rKykg3Hqik76Nqopm8kyPT_tp_w6jat3hipZeIG0rN28aYPmxVspkGg8eWnB9Aqs-EZO9J5PTiUs9xkhm1hV_aggiQM&sig=Cg0ArKJSzFTrn2CpV_YXEAE&urlfix=1&adurl=
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:31 GMT
x-content-type-options
nosniff
server
cafe
status
200
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"
access-control-allow-origin
*
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
0
x-xss-protection
0
gpt.js
www.googletagservices.com/tag/js/ Frame 07F8
31 KB
10 KB
Script
General
Full URL
https://www.googletagservices.com/tag/js/gpt.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
3e8dadf2162e744a31d12d4935c7986dbc5c519a6829807c7582411c7972dc6d
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"166 / 833 of 1000 / last-modified: 1557857174"
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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
10550
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
osd_listener.js
www.googletagservices.com/activeview/js/current/ Frame 07F8
75 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
58d5d69efb99ba86b86e44a4753304d14f0ebcda68e3b9b31faa68d85d2a9811
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28693
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame DCA4
0
57 B
Fetch
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstlfasP71v16dn5a-_YjrIcfmeM2e9_9rRh3DdS2f0lRCpMNv9xgwsMufjX9ls8AiMsoHagH3PHIwT4aiZu2JYP4TA4DhSZE_IDif9k4GZWgkKBvxgSRTmz_7_b0lC1NV_5um-1u0Gf4XbLgR3X5cog4ZVSePR1NcDevcu6ifWs_Mz931sxGoeJR4DKhEklZyJPK5c2HpEx4kooGi1dECEre9k30yHc27uKPFFoWRdMrVUelPmOgrBOvqZJr0EjAUjKI4nowQDsma2AO8ey&sai=AMfl-YQSYKzcwL8OKBFNpG7l_mB0FnHYZg1adaqKwgzm9kwaWZapY4eUcfQgouekDS8lsPui6inIFs5IAtn4nZJX5FyCClxy-RXasWu5x15oer16umXf7q7amtzcnIw&sig=Cg0ArKJSzJl27LnbZOBBEAE&urlfix=1&adurl=
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:31 GMT
x-content-type-options
nosniff
server
cafe
status
200
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"
access-control-allow-origin
*
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
0
x-xss-protection
0
gpt.js
www.googletagservices.com/tag/js/ Frame DCA4
31 KB
10 KB
Script
General
Full URL
https://www.googletagservices.com/tag/js/gpt.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
3e8dadf2162e744a31d12d4935c7986dbc5c519a6829807c7582411c7972dc6d
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"166 / 651 of 1000 / last-modified: 1557857174"
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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
10550
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
osd_listener.js
www.googletagservices.com/activeview/js/current/ Frame DCA4
75 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
58d5d69efb99ba86b86e44a4753304d14f0ebcda68e3b9b31faa68d85d2a9811
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28693
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
view
securepubads.g.doubleclick.net/pcs/ Frame 8D90
0
48 B
Fetch
General
Full URL
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstZd2EhF9PAwmOAW0JxUCSNbfo7z5mEbROR-WvE5UguNquadV_fPedL4Qo1Ye2pdNTqutgA7l9B5nVhEApNTiJaF-V_JJXY04IFu8pEih5tNRybFY0TT6G8lwoKctdKkLkytDTge-i1wRej1wAhUsYvAQvKaWme-FXqndpgezji77-OV7B4BpPYDT93VrOWfLsXrBRN1tYcLlmufqyZ2XGIaqnPj_eIxL5CmIs4uS2S8uXY3SsIR3u2VQCOrVWdgfnXx64jqBqgENH7m0Gp&sai=AMfl-YQlY8MUpHLEQn7acdab5GOAT-8-dnQvBs60HSo2yt5PBBlJHmLEPtvl0i4HFz9irI2DGt0ahZReOTyF9CLakJdBj0U-vvplKu8kGhE6kfbZHGHbNyJOlRzJi5g&sig=Cg0ArKJSzFo_09O334SSEAE&urlfix=1&adurl=
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:31 GMT
x-content-type-options
nosniff
server
cafe
status
200
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"
access-control-allow-origin
*
cache-control
private
content-type
image/gif
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
0
x-xss-protection
0
gpt.js
www.googletagservices.com/tag/js/ Frame 8D90
31 KB
10 KB
Script
General
Full URL
https://www.googletagservices.com/tag/js/gpt.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
3e8dadf2162e744a31d12d4935c7986dbc5c519a6829807c7582411c7972dc6d
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"166 / 122 of 1000 / last-modified: 1557857174"
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="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
10550
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
osd_listener.js
www.googletagservices.com/activeview/js/current/ Frame 8D90
75 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
58d5d69efb99ba86b86e44a4753304d14f0ebcda68e3b9b31faa68d85d2a9811
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28693
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
pubads_impl_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame 0901
150 KB
55 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
a161cba4b2b8a90e2ca19e935256925fa3920b6ed129ec1568fccbd1a290b1b1
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
55799
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
integrator.sync.js
adservice.google.de/adsid/ Frame 0901
113 B
178 B
Script
General
Full URL
https://adservice.google.de/adsid/integrator.sync.js?domain=www.golem.de
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81c::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ea03bfd7fdda1eac185ebc3e8e74b33065b04c8e0adc48cbbd4136748dbd2742
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
content-type
application/javascript; charset=UTF-8
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"
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
108
x-xss-protection
0
pubads_impl_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame 07F8
150 KB
55 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
a161cba4b2b8a90e2ca19e935256925fa3920b6ed129ec1568fccbd1a290b1b1
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
55799
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
integrator.sync.js
adservice.google.de/adsid/ Frame 07F8
113 B
175 B
Script
General
Full URL
https://adservice.google.de/adsid/integrator.sync.js?domain=www.golem.de
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81c::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ea03bfd7fdda1eac185ebc3e8e74b33065b04c8e0adc48cbbd4136748dbd2742
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
content-type
application/javascript; charset=UTF-8
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"
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
108
x-xss-protection
0
pubads_impl_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame DCA4
150 KB
55 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
a161cba4b2b8a90e2ca19e935256925fa3920b6ed129ec1568fccbd1a290b1b1
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
55799
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
integrator.sync.js
adservice.google.de/adsid/ Frame DCA4
113 B
175 B
Script
General
Full URL
https://adservice.google.de/adsid/integrator.sync.js?domain=www.golem.de
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81c::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ea03bfd7fdda1eac185ebc3e8e74b33065b04c8e0adc48cbbd4136748dbd2742
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
content-type
application/javascript; charset=UTF-8
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"
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
108
x-xss-protection
0
pubads_impl_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame 8D90
150 KB
55 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
a161cba4b2b8a90e2ca19e935256925fa3920b6ed129ec1568fccbd1a290b1b1
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
55799
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
integrator.sync.js
adservice.google.de/adsid/ Frame 8D90
113 B
175 B
Script
General
Full URL
https://adservice.google.de/adsid/integrator.sync.js?domain=www.golem.de
Requested by
Host: www.googletagservices.com
URL: https://www.googletagservices.com/tag/js/gpt.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:81c::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ea03bfd7fdda1eac185ebc3e8e74b33065b04c8e0adc48cbbd4136748dbd2742
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
content-type
application/javascript; charset=UTF-8
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"
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
108
x-xss-protection
0
ads
securepubads.g.doubleclick.net/gampad/ Frame 0901
14 KB
8 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1113286740582558&correlator=3641283363823441&output=json_html&callback=googletag.impl.pubads.callbackProxy1&impl=fif&vrg=2019050901&guci=1.2.0.0.2.2.0.0&plat=1%3A32776%2C2%3A32776%2C8%3A32776&sc=1&sfv=1-0-33&iu=%2F53015287%2Fgolem.de_d_300x600_1_dc&sz=10x40%7C10x30%7C10x20%7C10x22%7C120x600%7C160x600%7C200x600%7C300x600&scp=adslot%3Dsky%26src%3Dsdg&eri=6&cookie=ID%3D6179713e097812bd%3AT%3D1557932490%3AS%3DALNI_MYWuNjYuD9XUb_eEyoXq1Rt88rGQQ&cdm=www.golem.de&bc=31&lmt=1557932491&dt=1557932491483&dlt=1557932491168&idt=286&ea=0&frm=23&biw=1585&bih=1185&isw=300&ish=600&oid=3&adx=1303&ady=10&adk=3954477340&uci=y2tsqdtg66ta&ifi=1&ifk=3472037449&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&nhd=1&iag=3&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&top=www.golem.de&dssz=6&icsg=10&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=300x40&msz=300x40&blev=1&bisch=1&ga_vid=415309479.1557932491&ga_sid=1557932491&ga_hid=602018485&fws=256
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
3c87063ebe72bb0cd5466feb8822d04f2039e6c650a55078af025095e85d5bb8
Security Headers
Name Value
X-Content-Type-Options nosniff
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:31 GMT
content-encoding
br
x-content-type-options
nosniff
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="46,44,43,39"
content-length
7716
x-xss-protection
0
google-lineitem-id
-1
pragma
no-cache
server
cafe
google-creative-id
-1
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.golem.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_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame 0901
71 KB
27 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
93d39da3773a26f38a235454f91d1d2a57a0d9d066c72f9a41452651b08e539e
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
27443
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame 0901
0
0
Other
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash

Request headers

Purpose
prefetch
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

ads
securepubads.g.doubleclick.net/gampad/ Frame 07F8
23 KB
9 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=376961236329577&correlator=1532647006570652&output=json_html&callback=googletag.impl.pubads.callbackProxy1&impl=fif&eid=21062454&vrg=2019050901&guci=1.2.0.0.2.2.0.0&plat=1%3A32776%2C2%3A32776%2C8%3A32776&sc=1&sfv=1-0-33&iu=%2F53015287%2Fgolem.de_d_970x250_1_dc&sz=20x10%7C30x10%7C40x10%7C80x10%7C800x250%7C970x250%7C728x90%7C728x180%7C770x250&scp=adslot%3Dbanner%26src%3Dsdg&eri=6&cookie=ID%3D6179713e097812bd%3AT%3D1557932490%3AS%3DALNI_MYWuNjYuD9XUb_eEyoXq1Rt88rGQQ&cdm=www.golem.de&bc=31&lmt=1557932491&dt=1557932491525&dlt=1557932491228&idt=266&ea=0&frm=23&biw=1585&bih=1185&isw=970&ish=250&oid=3&adx=308&ady=140&adk=3221795798&uci=tmgro1a32b02&ifi=1&ifk=1903402356&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&nhd=1&iag=3&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&top=www.golem.de&dssz=6&icsg=10&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=970x10&msz=970x10&blev=1&bisch=1&ga_vid=561995917.1557932492&ga_sid=1557932492&ga_hid=595838723&fws=256
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
409f0f3299f686120393ade2c293cf0cb937e2de0d4dde5755b92abf0cbda44a
Security Headers
Name Value
X-Content-Type-Options nosniff
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:31 GMT
content-encoding
br
x-content-type-options
nosniff
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="46,44,43,39"
content-length
9610
x-xss-protection
0
google-lineitem-id
-1
pragma
no-cache
server
cafe
google-creative-id
-1
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.golem.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_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame 07F8
71 KB
27 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
93d39da3773a26f38a235454f91d1d2a57a0d9d066c72f9a41452651b08e539e
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
27443
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame 07F8
0
0
Other
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash

Request headers

Purpose
prefetch
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

ads
securepubads.g.doubleclick.net/gampad/ Frame DCA4
23 KB
9 KB
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=3242110677570838&correlator=1692563263842781&output=json_html&callback=googletag.impl.pubads.callbackProxy1&impl=fif&eid=21062453%2C21062456%2C21063388%2C953563516&vrg=2019050901&guci=1.2.0.0.2.2.0.0&plat=1%3A32776%2C2%3A32776%2C8%3A32776&sc=1&sfv=1-0-33&iu=%2F53015287%2Fgolem.de_d_300x600_2_dc&sz=10x20%7C10x10%7C300x250%7C300x601%7C300x125&scp=adslot%3Drectangle%26src%3Dsdg&eri=6&cookie=ID%3D6179713e097812bd%3AT%3D1557932490%3AS%3DALNI_MYWuNjYuD9XUb_eEyoXq1Rt88rGQQ&cdm=www.golem.de&bc=31&lmt=1557932491&dt=1557932491549&dlt=1557932491274&idt=262&frm=23&biw=1585&bih=1185&isw=300&ish=601&oid=3&adx=993&ady=1062&adk=789778236&uci=ijz3qoeihsu1&ifi=1&ifk=1255530642&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&nhd=1&iag=3&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&top=www.golem.de&dssz=6&icsg=10&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&blev=1&bisch=1&ga_vid=1789509072.1557932492&ga_sid=1557932492&ga_hid=587863424&fws=256
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
1812d0532c826bd829f1bde5806d299a1fa53eeb7d2ebc3e6659202e9012d05c
Security Headers
Name Value
X-Content-Type-Options nosniff
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:31 GMT
content-encoding
br
x-content-type-options
nosniff
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="46,44,43,39"
content-length
9569
x-xss-protection
0
google-lineitem-id
-1
pragma
no-cache
server
cafe
google-creative-id
-1
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.golem.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_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame DCA4
71 KB
27 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
93d39da3773a26f38a235454f91d1d2a57a0d9d066c72f9a41452651b08e539e
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
27443
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame DCA4
0
0
Other
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash

Request headers

Purpose
prefetch
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

ads
securepubads.g.doubleclick.net/gampad/ Frame 8D90
326 B
285 B
XHR
General
Full URL
https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=2096587843271216&correlator=4090092662935464&output=json_html&callback=googletag.impl.pubads.callbackProxy1&impl=fif&eid=21062420&vrg=2019050901&guci=1.2.0.0.2.2.0.0&plat=1%3A32776%2C2%3A32776%2C8%3A32776&sc=1&sfv=1-0-33&iu=%2F53015287%2Fgolem.de_d_300x250_2_dc&sz=10x10%7C10x11%7C301x250%7C300x126&scp=adslot%3Drectangle2%26src%3Dsdg&eri=6&cookie=ID%3D6179713e097812bd%3AT%3D1557932490%3AS%3DALNI_MYWuNjYuD9XUb_eEyoXq1Rt88rGQQ&cdm=www.golem.de&bc=31&lmt=1557932491&dt=1557932491640&dlt=1557932491317&idt=296&ea=0&frm=23&biw=1585&bih=1185&isw=301&ish=250&oid=3&adx=993&ady=3953&adk=4292326851&uci=8ukw4rxwmpm2&ifi=1&ifk=3514803478&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&nhd=1&iag=3&url=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&top=www.golem.de&dssz=6&icsg=10&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=301x10&msz=301x10&blev=1&bisch=1&ga_vid=1640646129.1557932492&ga_sid=1557932492&ga_hid=76576653&fws=256
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
cafe /
Resource Hash
410943e6f84a76cfc31b928d5e086229f730bbccfe001df4a6bfc06e4263202a
Security Headers
Name Value
X-Content-Type-Options nosniff
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

date
Wed, 15 May 2019 15:01:31 GMT
content-encoding
br
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="46,44,43,39"
content-length
207
x-xss-protection
0
google-lineitem-id
-2
pragma
no-cache
server
cafe
google-mediationtag-id
-2
google-creative-id
-2
content-type
text/javascript; charset=UTF-8
access-control-allow-origin
https://www.golem.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_2019050901.js
securepubads.g.doubleclick.net/gpt/ Frame 8D90
71 KB
27 KB
Script
General
Full URL
https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
216.58.206.2 Mountain View, United States, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
fra16s20-in-f2.1e100.net
Software
sffe /
Resource Hash
93d39da3773a26f38a235454f91d1d2a57a0d9d066c72f9a41452651b08e539e
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Thu, 09 May 2019 13:16:49 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="46,44,43,39"
content-length
27443
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame 8D90
0
0
Other
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
/
Resource Hash

Request headers

Purpose
prefetch
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

truncated
/ Frame 0901
212 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
4f24351d34c589338fbf6359d13035738266d14066c965fa399de3c262a235e4

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

Response headers

Content-Type
image/png
truncated
/ Frame 07F8
215 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
1f2a2f4ed483d554d424a20f1cde1ec3958eae363a5dd9770e56dd89a5cc31cb

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

Response headers

Content-Type
image/png
truncated
/ Frame DCA4
215 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
dabb1d24e6de4761e390b21aa7aa3495e1c7a102f06a08bae29628fc8da97f3d

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

Response headers

Content-Type
image/png
truncated
/ Frame 8D90
217 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
8c801ec4e6b873002ed9d72aeee9563dd900bc296674071896370bd008e9353b

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

Response headers

Content-Type
image/png
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame 38D4
0
0
Document
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
tpc.googlesyndication.com
:scheme
https
:path
/safeframe/1-0-33/html/container.html?n=1
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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
timing-allow-origin
*
content-length
3444
date
Thu, 18 Apr 2019 17:58:21 GMT
expires
Fri, 17 Apr 2020 17:58:21 GMT
last-modified
Tue, 16 Apr 2019 19:37:56 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
0
cache-control
public, immutable, max-age=31536000
age
2322190
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
osd.js
www.googletagservices.com/activeview/js/current/ Frame 0901
76 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd.js?cb=%2Fr20100101
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
53af729e9e4b8c8d2aae917515b562dba0d5273acc77c8775d6e05a6cddfcefd
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:31 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28615
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:31 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame 22E5
0
0
Document
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
tpc.googlesyndication.com
:scheme
https
:path
/safeframe/1-0-33/html/container.html?n=1
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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
timing-allow-origin
*
content-length
3444
date
Thu, 18 Apr 2019 17:58:21 GMT
expires
Fri, 17 Apr 2020 17:58:21 GMT
last-modified
Tue, 16 Apr 2019 19:37:56 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
0
cache-control
public, immutable, max-age=31536000
age
2322190
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
osd.js
www.googletagservices.com/activeview/js/current/ Frame DCA4
76 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd.js?cb=%2Fr20100101
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
53af729e9e4b8c8d2aae917515b562dba0d5273acc77c8775d6e05a6cddfcefd
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:32 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28615
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:32 GMT
container.html
tpc.googlesyndication.com/safeframe/1-0-33/html/ Frame 171C
0
0
Document
General
Full URL
https://tpc.googlesyndication.com/safeframe/1-0-33/html/container.html?n=1
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:806::2001 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
tpc.googlesyndication.com
:scheme
https
:path
/safeframe/1-0-33/html/container.html?n=1
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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
accept-ranges
bytes
vary
Accept-Encoding
content-encoding
gzip
content-type
text/html
timing-allow-origin
*
content-length
3444
date
Thu, 18 Apr 2019 17:58:21 GMT
expires
Fri, 17 Apr 2020 17:58:21 GMT
last-modified
Tue, 16 Apr 2019 19:37:56 GMT
x-content-type-options
nosniff
server
sffe
x-xss-protection
0
cache-control
public, immutable, max-age=31536000
age
2322191
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
osd.js
www.googletagservices.com/activeview/js/current/ Frame 07F8
76 KB
28 KB
Script
General
Full URL
https://www.googletagservices.com/activeview/js/current/osd.js?cb=%2Fr20100101
Requested by
Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019050901.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:816::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
sffe /
Resource Hash
53af729e9e4b8c8d2aae917515b562dba0d5273acc77c8775d6e05a6cddfcefd
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:32 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
sffe
etag
"1557761362186258"
vary
Accept-Encoding
content-type
text/javascript
status
200
cache-control
private, max-age=3000
accept-ranges
bytes
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
28615
x-xss-protection
0
expires
Wed, 15 May 2019 15:01:32 GMT
csi
csi.gstatic.com/
0
56 B
Other
General
Full URL
https://csi.gstatic.com/csi?v=2&s=pagead&action=csi_pagead&dmc=8&puid=1~jvpcs18j&c=7308550299401&e=20040081%2C21060549%2C21060853%2C410075103%2C20040010&ctx=1&met.9=1.na~2.340
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/rum.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2404:6800:4003:c04::5e Singapore, Singapore, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:33 GMT
last-modified
Wed, 21 Jan 2004 19:51:30 GMT
server
Golfe2
access-control-allow-origin
*
content-type
image/gif
status
204
cache-control
no-cache, no-store, must-revalidate
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
activeview
pagead2.googlesyndication.com/pcs/ Frame 0901
42 B
112 B
Image
General
Full URL
https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjsscpXHvpU6OtLJU1Hxudv31-bQjPhk86_HQoZGwYZsY5Bu10i4LJlI7seOv_QPqcm5ySyvSUcPxD4PaOSBvwg9jfp_F9nFKkNnhcaOkiXw&sig=Cg0ArKJSzPniL3s70m0rEAE&adk=4154185509&tt=-1&bs=1585%2C1185&mtos=0,1020,1020,1020,1020&tos=0,1020,0,0,0&p=10,1303,610,1603&mkm=1&mcvt=1020&rs=3&ht=0&tfs=4001&tls=5021&mc=0.94&lte=0.94&bas=0&bac=0&avms=geo&md=2&rst=1557932491176&rpt=580&isd=0&msd=0&lm=2&oseid=3&xdi=0&ps=1603%2C5501&ss=1600%2C1200&pt=-1&deb=1-1-5-98-18-87-68-17&tvt=4953&r=v&id=osdim&vs=4&uc=8&upc=1&tgt=DIV&cl=1&cec=1&clc=1&cac=1&cd=0x0&itpl=19&v=20190513
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:33 GMT
x-content-type-options
nosniff
content-type
image/gif
server
cafe
access-control-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
cache-control
no-cache, must-revalidate
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
activeview
pagead2.googlesyndication.com/pcs/ Frame 07F8
42 B
110 B
Image
General
Full URL
https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjsvzwsuN1-_pCvrZyYjqwWRbw5cnXzaRsSdbBuyvvv4990h78Px1unjULGkgTtjFbe5ItkpGyJdNO9WIqcpTvv6Qf7x5zahmPONDS0yacQU&sig=Cg0ArKJSzHXKoXQP-Vy-EAE&adk=3506586144&tt=-1&bs=1585%2C1185&mtos=1020,1020,1020,1020,1020&tos=1020,0,0,0,0&p=140,429,230,1157&mkm=1&mcvt=1020&rs=3&ht=0&tfs=4001&tls=5021&mc=1&lte=1&bas=0&bac=0&avms=geo&md=2&rst=1557932491253&rpt=529&isd=0&msd=0&lm=2&oseid=3&xdi=0&ps=1603%2C5501&ss=1600%2C1200&pt=-1&deb=1-1-5-98-18-87-68-17&tvt=4953&r=v&id=osdim&vs=4&uc=8&upc=1&tgt=DIV&cl=1&cec=1&clc=1&cac=1&cd=0x0&itpl=19&v=20190513
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:33 GMT
x-content-type-options
nosniff
content-type
image/gif
server
cafe
access-control-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
cache-control
no-cache, must-revalidate
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
activeview
pagead2.googlesyndication.com/pcs/ Frame DCA4
42 B
110 B
Image
General
Full URL
https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjstKA5UKHhsafg-5pboJAmPSDZSG6EbIbL3z4riZlA8ZnlmjwuXbD15HGOFmdBhC7M4ZwNdek8uPp29ibw2YdZVNJ6S923qXU42sJYG-q7Y&sig=Cg0ArKJSzKNwNeQboC7dEAE&adk=2040986986&tt=-1&bs=1585%2C1185&mtos=1020,1020,1020,1020,1020&tos=1020,0,0,0,0&p=902,993,1152,1293&mkm=1&mcvt=1020&rs=3&ht=0&tfs=4001&tls=5021&mc=1&lte=1&bas=0&bac=0&avms=geo&md=2&rst=1557932491292&rpt=498&isd=0&msd=0&lm=2&oseid=3&xdi=0&ps=1603%2C5501&ss=1600%2C1200&pt=-1&deb=1-1-5-98-18-87-68-17&tvt=4953&r=v&id=osdim&vs=4&uc=8&upc=1&tgt=DIV&cl=1&cec=1&clc=1&cac=1&cd=0x0&itpl=19&v=20190513
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:820::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:33 GMT
x-content-type-options
nosniff
content-type
image/gif
server
cafe
access-control-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
status
200
cache-control
no-cache, must-revalidate
timing-allow-origin
*
alt-svc
quic="googleads.g.doubleclick.net:443"; ma=2592000; v="46,44,43,39",quic=":443"; ma=2592000; v="46,44,43,39"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
Cookie set frame
delivery.selfcampaign.com/tag/146005/ Frame 725C
0
0
Document
General
Full URL
https://delivery.selfcampaign.com/tag/146005/frame?title=Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger%20-%20Golem.de&meta_keywords=&meta_description=Eigentlich%20soll%20das%20Best-of-the-Web-Siegel%20die%20Sicherheit%20von%20Webseiten%20zertifizieren%2C%20stattdesse...
Requested by
Host: lib.selfcampaign.com
URL: https://lib.selfcampaign.com/tag/146005_67aa4bdf07fc8a6dd839add1ec7302a1?async=1
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
148.251.131.173 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.173.131.251.148.clients.your-server.de
Software
nginx/1.14.0 (Ubuntu) /
Resource Hash
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 1; mode=block

Request headers

Host
delivery.selfcampaign.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,application/signed-exchange;v=b3
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Accept-Encoding
gzip, deflate, br
Cookie
_auid=2a345f73fd39ec760c6933a51227b039
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

Server
nginx/1.14.0 (Ubuntu)
Date
Wed, 15 May 2019 15:01:37 GMT
Content-Type
text/html; charset=utf-8
Transfer-Encoding
chunked
Connection
keep-alive
X-XSS-Protection
1; mode=block
X-Content-Type-Options
nosniff
Cache-Control
no-cache, no-store, max-age=0, must-revalidate
Pragma
no-cache
Expires
Fri, 01 Jan 1990 00:00:00 GMT
Vary
Accept-Encoding
Content-Encoding
gzip
Set-Cookie
_session_id=5ee746f48ecf9cd89e0e31cb367f105a; path=/; HttpOnly
X-Request-Id
546e92d1-2c32-46e3-a7fb-3bc40353e34c
X-Runtime
0.110917
fbevents.js
connect.facebook.net/en_US/
53 KB
15 KB
Script
General
Full URL
https://connect.facebook.net/en_US/fbevents.js
Requested by
Host: lib.selfcampaign.com
URL: https://lib.selfcampaign.com/tag/146005_67aa4bdf07fc8a6dd839add1ec7302a1?async=1
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f01c:216:face:b00c:0:3 , Ireland, ASN32934 (FACEBOOK - Facebook, Inc., US),
Reverse DNS
Software
/
Resource Hash
fa59b1ed1b011e084474ad818b5f6986d84fc678e2f37fee9330eb52d86860b3
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' 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:* attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self';
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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=31536000; preload; includeSubDomains
content-encoding
gzip
x-content-type-options
nosniff
status
200
vary
Origin, Accept-Encoding
content-length
15397
x-xss-protection
0
pragma
public
x-fb-debug
h+NixEdmnuyoYc6q3XcEK7k+DtIklp1VeYRpwUdCueMb8WZClBLRaCTLvNVbcfNfHL6qQxn4bGjq65brQ2NC4g==
date
Wed, 15 May 2019 15:01:33 GMT
x-frame-options
DENY
access-control-allow-methods
OPTIONS
content-type
application/x-javascript; charset=utf-8
access-control-allow-origin
https://connect.facebook.net
access-control-expose-headers
X-FB-Debug, X-Loader-Length
cache-control
public, max-age=1200
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' 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:* attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self';
expires
Sat, 01 Jan 2000 00:00:00 GMT
/
track2.selfcampaign.com/tag/
43 B
501 B
Image
General
Full URL
https://track2.selfcampaign.com/tag/?request_id=c04e18ab-285c-44d3-b9f0-6cf9162fc54a&_auid=2a345f73fd39ec760c6933a51227b039&tag=146005&tags_usergroup=2805&project_id=611&account_id=545&ipzones=&pxs=&_autags=T0T&marked_tags=&lang=en-US&screen=1600x1200&screen_a=1200x1600&color_d=24&location=https%3A//www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&referrer=&location_utm_medium=&location_utm_source=&location_utm_campaign=&location_utm_term=&location_utm_content=&title=Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger%20-%20Golem.de&meta_keywords=&meta_description=Eigentlich%20soll%20das%20Best-of-the-Web-Siegel%20die%20Sicherheit%20von%20Webseiten%20zertifizieren%2C%20stattdesse...
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.69.233 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.233.69.251.148.clients.your-server.de
Software
nginx/1.9.7 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:33 GMT
Server
nginx/1.9.7
P3P
CP="NOI DSP COR LAW CUR ADM TAI PSA PSD IVA IVD HIS OUR SAM OTR LEG UNI COM NAV DEM CNT LOC"
Cache-Control
post-check=0, pre-check=0
X-CW-LOC
PAGE
Connection
close
Content-Type
image/gif
Content-Length
43
Expires
Mon, 26 Jul 1997 05:00:00 GMT
/
track2.selfcampaign.com/map_td/
Redirect Chain
  • https://match.adsrvr.org/track/cmf/generic?ttd_pid=b2bmedia&ttd_tpi=1&ttd_puid=2a345f73fd39ec760c6933a51227b039
  • https://match.adsrvr.org/track/cmb/generic?ttd_pid=b2bmedia&ttd_tpi=1&ttd_puid=2a345f73fd39ec760c6933a51227b039
  • https://track.selfcampaign.com/map_td/?tdid=45ce332b-46b1-45ca-a465-be0929065911
  • https://track2.selfcampaign.com/map_td/?tdid=45ce332b-46b1-45ca-a465-be0929065911
43 B
488 B
Image
General
Full URL
https://track2.selfcampaign.com/map_td/?tdid=45ce332b-46b1-45ca-a465-be0929065911
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.69.233 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.233.69.251.148.clients.your-server.de
Software
nginx/1.9.7 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:36 GMT
Server
nginx/1.9.7
P3P
CP="NOI DSP COR LAW CUR ADM TAI PSA PSD IVA IVD HIS OUR SAM OTR LEG UNI COM NAV DEM CNT LOC"
Cache-Control
post-check=0, pre-check=0
X-CW-LOC
PAGE
Connection
close
Content-Type
image/gif
Content-Length
43
Expires
Mon, 26 Jul 1997 05:00:00 GMT

Redirect headers

Location
https://track2.selfcampaign.com/map_td/?tdid=45ce332b-46b1-45ca-a465-be0929065911
Date
Wed, 15 May 2019 15:01:35 GMT
Server
nginx/1.6.2
Connection
keep-alive
Content-Length
160
Content-Type
text/html
/
track2.selfcampaign.com/map_td/
Redirect Chain
  • https://c1.adform.net/serving/cookie/match?party=1173
  • https://c1.adform.net/serving/cookie/match?CC=1&party=1173
  • https://track2.selfcampaign.com/map_td/?tdid=2287851576156690562&source=adform
43 B
488 B
Image
General
Full URL
https://track2.selfcampaign.com/map_td/?tdid=2287851576156690562&source=adform
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
148.251.69.233 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.233.69.251.148.clients.your-server.de
Software
nginx/1.9.7 /
Resource Hash
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:37 GMT
Server
nginx/1.9.7
P3P
CP="NOI DSP COR LAW CUR ADM TAI PSA PSD IVA IVD HIS OUR SAM OTR LEG UNI COM NAV DEM CNT LOC"
Cache-Control
post-check=0, pre-check=0
X-CW-LOC
PAGE
Connection
close
Content-Type
image/gif
Content-Length
43
Expires
Mon, 26 Jul 1997 05:00:00 GMT

Redirect headers

pragma
no-cache
date
Wed, 15 May 2019 15:01:37 GMT
server
nginx
access-control-allow-origin
*
location
https://track2.selfcampaign.com/map_td/?tdid=2287851576156690562&source=adform
status
302
cache-control
no-cache, no-store, must-revalidate, no-transform
content-length
0
expires
-1
mark
lib.selfcampaign.com/tag/146005/
0
0
Image
General
Full URL
https://lib.selfcampaign.com/tag/146005/mark?t=1557932493
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
148.251.131.173 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.173.131.251.148.clients.your-server.de
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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

413343732388253
connect.facebook.net/signals/config/
207 KB
55 KB
Script
General
Full URL
https://connect.facebook.net/signals/config/413343732388253?v=2.8.47&r=stable
Requested by
Host: connect.facebook.net
URL: https://connect.facebook.net/en_US/fbevents.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f01c:216:face:b00c:0:3 , Ireland, ASN32934 (FACEBOOK - Facebook, Inc., US),
Reverse DNS
Software
/
Resource Hash
d645956646bc0e6e1a33190fce79233b95079081e906891293f343a7c98492bc
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' 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:* attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self';
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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=31536000; preload; includeSubDomains
content-encoding
gzip
x-content-type-options
nosniff
status
200
vary
Origin, Accept-Encoding
content-length
56215
x-xss-protection
0
pragma
public
x-fb-debug
rAjAQNyVgVpb/6QfDjxg424t7eBu06z6/bNM3P9cZH4NqUG/IcVyJICDGZ4XL+tN2tDMi620sbCjBT6CdBOAbw==
date
Wed, 15 May 2019 15:01:33 GMT
x-frame-options
DENY
access-control-allow-methods
OPTIONS
content-type
application/x-javascript; charset=utf-8
access-control-allow-origin
https://connect.facebook.net
access-control-expose-headers
X-FB-Debug, X-Loader-Length
cache-control
public, max-age=1200
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' 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:* attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self';
expires
Sat, 01 Jan 2000 00:00:00 GMT
submit
lb44.s400.meetrics.net/bb-mx/
43 B
291 B
Image
General
Full URL
https://lb44.s400.meetrics.net/bb-mx/submit?/ilKUBDBAA/whFaBo0F0wFz6BvvA33F3uBnvFslFtuBklFvuEl3FzvBilFz0FtvEmtB0oFltB3lFitB0yF1zF0tBzpFlnFlsFt2ElyF0lFpsF0tBrlF5sFvnFnlFytBx5Aw1AtxA0xAy3A1uAo0FtsFfpyF+k2FoywAx5AtwA1tAw2AtxAz6A10At2A35A2wAwtAyuAxwA5uAytAwmEm3B0yAzxAL2wFBLl1FCz2iFjsFpjFrfFqhFjrFpuFnfFpmFyhFtlF/2xFMCylFx1FlzF0mF1sFszFjyFllFugBm1FssFzjFylFluFluFhiFslFkgB3pFukFv3Ff3FliFrpF0yFlxF1lFz0FhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0FjhFujFlsFhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0Fz0FvyFhnFlpFumFvgBjzFzfF3lFirFp0FOprFw6lCOqwFw6lClqwF23A52AwwALkmFBTkzFsFAAAAAAAZwS9VBPAAAAAAAAAOAAAAGLAAAAAAZwS9VBBRksFAQtjFo5kCTA
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
136.243.5.229 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
h231.meetrics.de
Software
nginx /
Resource Hash
548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:37 GMT
Server
nginx
Content-Type
image/gif
Cache-control
no-cache,no-store,must-revalidate
Connection
keep-alive
Content-Length
43
Expires
Wed, 15 May 2019 15:01:36 GMT
data
lb44.s400.meetrics.net/
43 B
308 B
Image
General
Full URL
https://lb44.s400.meetrics.net/data?/ilKUCDBAATkzFARksFAQtjFvrJNSA
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
136.243.5.229 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
h231.meetrics.de
Software
nginx /
Resource Hash
548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:37 GMT
Server
nginx
Transfer-Encoding
chunked
Content-Type
image/gif
Cache-control
no-cache,no-store,must-revalidate
Connection
keep-alive
Expires
Wed, 15-May-19 15:01:36 GMT
inferredEvents.js
connect.facebook.net/signals/plugins/
1 KB
908 B
Script
General
Full URL
https://connect.facebook.net/signals/plugins/inferredEvents.js?v=2.8.47
Requested by
Host: connect.facebook.net
URL: https://connect.facebook.net/en_US/fbevents.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f01c:216:face:b00c:0:3 , Ireland, ASN32934 (FACEBOOK - Facebook, Inc., US),
Reverse DNS
Software
/
Resource Hash
cd1c301a8e7960a1786e2a959226b0b78b56dbea284bd114265f1662d6ca280e
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 0

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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=31536000; preload; includeSubDomains
content-encoding
gzip
x-content-type-options
nosniff
status
200
vary
Origin, Accept-Encoding
content-length
772
x-xss-protection
0
pragma
private
x-fb-debug
VWyh/kT9eUnP4B7ZTjfdprIu2LWnXq3Nkc5CoVbvfnPWestJgSVim2jtFC+7iaCigeW3ame+uOK0F1JQ3xZd+A==
date
Wed, 15 May 2019 15:01:33 GMT
x-frame-options
DENY
access-control-allow-methods
OPTIONS
content-type
application/x-javascript; charset=utf-8
access-control-allow-origin
https://connect.facebook.net
access-control-expose-headers
X-FB-Debug, X-Loader-Length
cache-control
private
access-control-allow-credentials
true
expires
Sat, 01 Jan 2000 00:00:00 GMT
/
www.facebook.com/tr/
44 B
319 B
Image
General
Full URL
https://www.facebook.com/tr/?id=413343732388253&ev=TagView&dl=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&rl=&if=false&ts=1557932494087&cd[tag_id]=146005&sw=1600&sh=1200&v=2.8.47&r=stable&ec=0&o=30&fbp=fb.1.1557932494078.517815023&it=1557932493461&coo=false&rqm=GET
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f11c:8083:face:b00c:0:25de , Ireland, ASN32934 (FACEBOOK - Facebook, Inc., US),
Reverse DNS
Software
proxygen-bolt /
Resource Hash
10d8d42d73a02ddb877101e72fbfa15a0ec820224d97cedee4cf92d571be5caa
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:34 GMT
last-modified
Fri, 21 Dec 2012 00:00:01 GMT
server
proxygen-bolt
strict-transport-security
max-age=31536000; includeSubDomains
content-type
image/gif
status
200
cache-control
no-cache, must-revalidate, max-age=0
content-length
44
expires
Wed, 15 May 2019 15:01:34 GMT
async_usersync.html
acdn.adnxs.com/ib/static/usersync/v3/ Frame 6E6A
0
0
Document
General
Full URL
https://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html
Requested by
Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.111.215.51 , Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-111-215-51.deploy.static.akamaitechnologies.com
Software
nginx/1.9.13 /
Resource Hash

Request headers

Host
acdn.adnxs.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,application/signed-exchange;v=b3
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Accept-Encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

Last-Modified
Fri, 20 May 2016 02:07:09 GMT
ETag
W/"573e714d-3e3"
Server
nginx/1.9.13
Content-Type
text/html
Vary
Accept-Encoding
Access-Control-Allow-Origin
*
Content-Encoding
gzip
Content-Length
506
Cache-Control
max-age=31536000
Expires
Thu, 14 May 2020 15:01:34 GMT
Date
Wed, 15 May 2019 15:01:34 GMT
Connection
keep-alive
Cookie set showad.js
ads.pubmatic.com/AdServer/js/ Frame 09F9
0
0
Document
General
Full URL
https://ads.pubmatic.com/AdServer/js/showad.js
Requested by
Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.111.215.68 , Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-111-215-68.deploy.static.akamaitechnologies.com
Software
Apache/2.2.15 (CentOS) /
Resource Hash

Request headers

Host
ads.pubmatic.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,application/signed-exchange;v=b3
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Accept-Encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

Last-Modified
Thu, 25 Apr 2019 07:31:59 GMT
ETag
"13006b6-a159-58755d04349cb"
Server
Apache/2.2.15 (CentOS)
Set-Cookie
KTPCACOOKIE=YES; domain=.pubmatic.com; path=/; max-age=7776000;
Accept-Ranges
bytes
Content-Encoding
gzip
P3P
CP="NOI DSP COR LAW CUR ADMo DEVo TAIo PSAo PSDo IVAo IVDo HISo OTPo OUR SAMo BUS UNI COM NAV INT DEM CNT STA PRE LOC", CP="NOI DSP COR LAW CUR ADMo DEVo TAIo PSAo PSDo IVAo IVDo HISo OTPo OUR SAMo BUS UNI COM NAV INT DEM CNT STA PRE LOC"
Content-Length
15468
Content-Type
text/html; charset=UTF-8
Cache-Control
public, max-age=128331
Expires
Fri, 17 May 2019 02:40:26 GMT
Date
Wed, 15 May 2019 15:01:35 GMT
Connection
keep-alive
Vary
Accept-Encoding
index.html
cdn.districtm.io/ids/ Frame CDCE
0
0
Document
General
Full URL
https://cdn.districtm.io/ids/index.html
Requested by
Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?golem.de
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2606:4700:30::681c:12e8 , United States, ASN13335 (CLOUDFLARENET - Cloudflare, Inc., US),
Reverse DNS
Software
cloudflare /
Resource Hash

Request headers

:method
GET
:authority
cdn.districtm.io
:scheme
https
:path
/ids/index.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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
date
Wed, 15 May 2019 15:01:34 GMT
content-type
text/html
set-cookie
__cfduid=db5bc8bed46a2cf450bc9641c5c8ad9a51557932494; expires=Thu, 14-May-20 15:01:34 GMT; path=/; domain=.districtm.io; HttpOnly
last-modified
Thu, 10 Jan 2019 16:50:48 GMT
cache-control
s-maxage=1209600, max-age=14400
expect-ct
max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server
cloudflare
cf-ray
4d75fcecd85a63b3-FRA
content-encoding
br
/
www.facebook.com/tr/ Frame 7B2E
0
0
Document
General
Full URL
https://www.facebook.com/tr/
Requested by
Host: connect.facebook.net
URL: https://connect.facebook.net/en_US/fbevents.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f11c:8083:face:b00c:0:25de , Ireland, ASN32934 (FACEBOOK - Facebook, Inc., US),
Reverse DNS
Software
proxygen-bolt /
Resource Hash
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains

Request headers

:method
POST
:authority
www.facebook.com
:scheme
https
:path
/tr/
content-length
2422
pragma
no-cache
cache-control
no-cache
origin
https://www.golem.de
upgrade-insecure-requests
1
content-type
application/x-www-form-urlencoded
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,application/signed-exchange;v=b3
referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
accept-encoding
gzip, deflate, br
cookie
fr=0O50ISunrHNw52YUJ..Bc3CnO...1.0.Bc3CnO.
Origin
https://www.golem.de
Upgrade-Insecure-Requests
1
Content-Type
application/x-www-form-urlencoded
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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

status
200
content-type
text/plain
access-control-allow-origin
https://www.golem.de
access-control-allow-credentials
true
strict-transport-security
max-age=31536000; includeSubDomains
content-length
0
server
proxygen-bolt
date
Wed, 15 May 2019 15:01:34 GMT
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43098:time[url:%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html,type_article:shortread,article_layout:default,site_skin:desktop,device:desktop,custom_page_type:Article%20page,cdn_version:7]&s=6acc7c777cce3be138a245218c439c54&1557932497992
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:39 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT
data
lb44.s400.meetrics.net/
43 B
308 B
Image
General
Full URL
https://lb44.s400.meetrics.net/data?/ilKUDgOBAKktFLkqFFlqwF23A52AwwATkzFARksFAQtjFyCYNSA
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
136.243.5.229 , Germany, ASN24940 (HETZNER-AS, DE),
Reverse DNS
h231.meetrics.de
Software
nginx /
Resource Hash
548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:38 GMT
Server
nginx
Transfer-Encoding
chunked
Content-Type
image/gif
Cache-control
no-cache,no-store,must-revalidate
Connection
keep-alive
Expires
Wed, 15-May-19 15:01:37 GMT
pixel
tracking.m6r.eu/consent/
44 B
209 B
Image
General
Full URL
https://tracking.m6r.eu/consent/pixel?nocookie=true&nosync=true&consent=true
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
2.19.33.59 , Ascension Island, ASN20940 (AKAMAI-ASN1, US),
Reverse DNS
a2-19-33-59.deploy.static.akamaitechnologies.com
Software
nginx /
Resource Hash
821e2efd660f6b759d561cd5cd194670e51ecebcbc06055cdcbebcd91ec94a56

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:38 GMT
Cache-Control
no-cache
Server
nginx
Connection
keep-alive
Content-Length
44
Content-Type
image/gif
pl
insights.plista.com/
0
66 B
Image
General
Full URL
https://insights.plista.com/pl?i=5a9fe1dae45a1d155411456a&ct=21.733&rt=0.418&pt=22.151&pvr=&p=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html&c=desktop&t=article&s=&tg=-1&ctg=-1&_r=1557932507738:4.7.12:20190409-113831
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
23.111.11.152 Phoenix, United States, ASN33438 (HIGHWINDS2 - Highwinds Network Group, Inc., US),
Reverse DNS
Software
NetDNA-cache/2.2 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
204
date
Wed, 15 May 2019 15:01:47 GMT
server
NetDNA-cache/2.2
x-cache
MISS
map.js
js.adscale.de/
21 KB
6 KB
Script
General
Full URL
https://js.adscale.de/map.js
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.111.215.171 , Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-111-215-171.deploy.static.akamaitechnologies.com
Software
AmazonS3 /
Resource Hash
64d36d1aeede6488eafcd8844abb6ea473c9e8bda92b79b51517716cc9d90953

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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-amz-version-id
x_soTKTeWkKa8VVAYf_8xh_Bj_jVduxx
Content-Encoding
gzip
Last-Modified
Mon, 01 Apr 2019 21:35:44 GMT
Server
AmazonS3
x-amz-request-id
7901DC7CE7480DAE
ETag
"0253570faeffb9f0f2478d761e0edfa7"
Vary
Accept-Encoding
Content-Type
text/javascript
Cache-Control
max-age=300
Date
Wed, 15 May 2019 15:01:51 GMT
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
5428
x-amz-id-2
xaxojAsLG4pvVxxBEr1gJ8fJIpWSSnJ5usWMmBLX51dof2Si3c9eDx5j4qv/w7kZ870hELAx36c=
adex.js
dmp.theadex.com/d/607/2256/s/
39 KB
14 KB
Script
General
Full URL
https://dmp.theadex.com/d/607/2256/s/adex.js?ts=29476048
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
89.163.159.107 Oelde, Germany, ASN24961 (MYLOC-AS, DE),
Reverse DNS
Software
nginx /
Resource Hash
a5d7896fb3a07c86f0f6f78a31c7b99e2a060a4a0212cfb5d010eeaa38ad0c93

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:47 GMT
content-encoding
gzip
last-modified
Fri, 05 Apr 2019 11:26:03 GMT
server
nginx
etag
W/"5ca73b4b-9c8f"
content-type
application/javascript
status
200
cache-control
max-age=300
access-control-allow-credentials
true
expires
Wed, 15 May 2019 15:06:47 GMT
ibb_map.js
bbcdn-bbnaut.ibillboard.com/library/
1 KB
1014 B
Script
General
Full URL
https://bbcdn-bbnaut.ibillboard.com/library/ibb_map.js
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
62.168.44.118 , Czech Republic, ASN5588 (GTSCE GTS Central Europe / Antel Germany, CZ),
Reverse DNS
cdn2.bbmedia.cz
Software
ibillboard /
Resource Hash
0fcdcfd13a1beb422d1068e345ba2f7a71595f093cf755768808f352c9aa8f47

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:50 GMT
Content-Encoding
gzip
Last-Modified
Sun, 01 Oct 2017 19:11:53 GMT
Server
ibillboard
Vary
Accept-Encoding, Accept-Encoding
Content-Type
application/javascript
Cache-Control
max-age=604800
Transfer-Encoding
chunked
Connection
keep-alive
Expires
Wed, 22 May 2019 01:28:41 GMT
default.js
ups.xplosion.de/loader/69511/
2 KB
2 KB
Script
General
Full URL
https://ups.xplosion.de/loader/69511/default.js
Requested by
Host: cdn.stroeerdigitalgroup.de
URL: https://cdn.stroeerdigitalgroup.de/metatag/live/ctc_golem/metaTag.min.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.171.119.13 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-171-119-13.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
97cd1bc4baa1de053750912b417b969fa704faeedaaab7ad51ac5276c51e14c6

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:50 GMT
cache-control
must-revalidate,no-cache,no-store
access-control-allow-origin
*
p3p
CP="NOI DSP COR NID PSAo OUR SAMo BUS"
content-length
1543
content-type
text/javascript
learn
de-gmtdmp.mookie1.com/t/v2/
43 B
673 B
Image
General
Full URL
https://de-gmtdmp.mookie1.com/t/v2/learn?tagid=V2_343&src.rand=66564564&src.id=Stroeer
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.122.160.52 Frankfurt am Main, Germany, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-3-122-160-52.eu-central-1.compute.amazonaws.com
Software
Apache /
Resource Hash
a065920df8cc4016d67c3a464be90099c9d28ffe7c9e6ee3a18f257efc58cbd7

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:54 GMT
Server
Apache
P3P
CP="NON DSP COR NID CURa PSAa PSDa OUR STP UNI COM NAV STA LOC OTC",policyref="/w3c/p3p.xml"
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Type
image/gif;charset=UTF-8
Content-Length
43
X-Application-Context
application
Expires
Thu, 01 Jan 1970 00:00:00 GMT
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43098:time[url:%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html,type_article:shortread,article_layout:default,site_skin:desktop,device:desktop,custom_page_type:Article%20page,cdn_version:7]&s=6acc7c777cce3be138a245218c439c54&1557932508004
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:48 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT
csi
csi.gstatic.com/
0
56 B
Other
General
Full URL
https://csi.gstatic.com/csi?v=2&s=pagead&action=csi_pagead&dmc=8&puid=2~jvpcs53w&c=7308550299401&e=20040081%2C21060549%2C21060853%2C410075103%2C20040010&ctx=1&met.1=1.jvpcrzd5~6.0~7.70~8.77~9.77~10.9e~11.7y~12.9e~13.a4~14.bm~15.aj~16.u5~17.u5~18.uu~19.h3k~20.h3k~21.h3o~22.ix~23.ix
Requested by
Host: pagead2.googlesyndication.com
URL: https://pagead2.googlesyndication.com/pagead/js/r20190513/r20190131/rum.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2404:6800:4003:c04::5e Singapore, Singapore, ASN15169 (GOOGLE - Google LLC, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.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
Wed, 15 May 2019 15:01:48 GMT
last-modified
Wed, 21 Jan 2004 19:51:30 GMT
server
Golfe2
access-control-allow-origin
*
content-type
image/gif
status
204
cache-control
no-cache, no-store, must-revalidate
alt-svc
quic=":443"; ma=2592000; v="46,44,43,39"
content-length
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
p.min.js
cdn.emetriq.de/adp/profiling/0.2.1/
4 KB
2 KB
Script
General
Full URL
https://cdn.emetriq.de/adp/profiling/0.2.1/p.min.js
Requested by
Host: ups.xplosion.de
URL: https://ups.xplosion.de/loader/69511/default.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
2600:9000:20bb:a000:1c:8c89:a300:93a1 , United States, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9a7be551755cd40ac554a0106394e6c3f757feac8149e8a0e0f8dcd08b1e0e4d

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 13 Dec 2018 13:56:26 GMT
content-encoding
gzip
last-modified
Thu, 13 Dec 2018 13:47:28 GMT
server
AmazonS3
age
13223126
vary
Accept-Encoding
x-cache
Hit from cloudfront
x-amz-version-id
hiWj6aE8JHqtrvyMwCZ_m8sYL51hXzoR
status
200
cache-control
max-age=31536000, no-transform, public
content-type
application/javascript; charset=utf-8
x-amz-cf-id
7I9JBkognMEmqeA9Ibn5wBgd8oy1AfGLTreyw99ydBNhV7SOpys45w==
via
1.1 170fdbe261f5e85186a08817806feba2.cloudfront.net (CloudFront)
segments
api.theadex.com/v0.9/pub/
56 B
126 B
Script
General
Full URL
https://api.theadex.com/v0.9/pub/segments?access_token=y5fWjpPcqPTEF7fuHtSSUIh1UnD1w2hVEt2Y2PjI&callback=window.ibb_lib.ibb_store
Requested by
Host: bbcdn-bbnaut.ibillboard.com
URL: https://bbcdn-bbnaut.ibillboard.com/library/ibb_map.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
85.114.144.107 , Germany, ASN24961 (MYLOC-AS, DE),
Reverse DNS
Software
/
Resource Hash
893fa7339c102fb976d4065531644d8a8ac565fc84818a77600ad3ed5a72a26b

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:51 GMT
content-length
56
content-type
text/plain; charset=utf-8
data
ups.xplosion.de/
4 KB
3 KB
Script
General
Full URL
https://ups.xplosion.de/data?title=Best%20of%20the%20Web%3A%20Trust-Siegel%20verteilt%20Keylogger%20-%20Golem.de&hostSiteUrl=https%3A%2F%2Fwww.golem.de%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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&mbr=b03c1ca71ac9b590ac4dfddc5f3ad735&event_id=page_view&_sid=69511&_ver=0.2.1&_seg=jsonp&_=359083814710
Requested by
Host: cdn.emetriq.de
URL: https://cdn.emetriq.de/adp/profiling/0.2.1/p.min.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.171.119.13 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-171-119-13.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
c3be169db886efe9704bd3736dca04c9b8541af38b93bbc6c10c59faa161e9e5

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 15:01:51 GMT
content-encoding
gzip
access-control-allow-origin
*
vary
accept-encoding
p3p
CP="NOI DSP COR NID PSAo OUR SAMo BUS"
status
200
cache-control
must-revalidate,no-cache,no-store
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.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
52.210.48.228 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-210-48-228.eu-west-1.compute.amazonaws.com
Software
akka-http/10.1.7 /
Resource Hash
760e4b5d62fd40555e5378e6216c0d4bec64c26bd39d3418b59e14c46ad0aa08

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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, 15 May 2019 09:23:22 GMT
Content-Encoding
gzip
Last-Modified
Wed, 15 May 2019 09:23:06 GMT
Server
akka-http/10.1.7
ETag
"8fda08a34733677008755479a59fa669"
Content-Type
application/javascript; charset=UTF-8
Cache-Control
max-age=86400, must-revalidate
Connection
keep-alive
Content-Length
509
usersync
uss.xplosion.de/ Frame 83E1
Redirect Chain
  • https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSa0WsbsBDa-BSU-BSUkWsfABifABSfABSfABiUABifABfrr&cb=https%3A%2F%2Fuss.xplosion.de%2Fusersync%3Fsid%3D65966%26fpid%3D%7B%7BUUID%7D%7D
  • https://uss.xplosion.de/usersync?sid=65966&fpid=4192566266405755871
42 B
592 B
Image
General
Full URL
https://uss.xplosion.de/usersync?sid=65966&fpid=4192566266405755871
Requested by
Host: www.golem.de
URL: https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.171.119.13 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-171-119-13.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:51 GMT
cache-control
must-revalidate,no-cache,no-store
access-control-allow-origin
*
p3p
CP="NOI DSP COR NID PSAo OUR SAMo BUS"
content-length
42
content-type
image/gif

Redirect headers

pragma
no-cache
date
Wed, 15 May 2019 15:01:51 GMT
server
nginx
location
https://uss.xplosion.de/usersync?sid=65966&fpid=4192566266405755871
p3p
CP="CAO PSAa PSDa IVAa IVDa OUR UNI COM NAV"
status
307
cache-control
no-store, no-cache, must-revalidate
access-control-allow-credentials
true
content-type
text/html; charset=utf-8
content-length
107
expires
0
activation
adstax-match.adrtx.net/ Frame 672F
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.213.21.157 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-52-213-21-157.eu-west-1.compute.amazonaws.com
Software
akka-http/10.1.7 /
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,application/signed-exchange;v=b3
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Accept-Encoding
gzip, deflate, br
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

Cache-Control
no-cache, no-store, must-revalidate
Content-Type
text/html; charset=UTF-8
Date
Wed, 15 May 2019 15:01:51 GMT
Server
akka-http/10.1.7
X-Error-Reason
Missing UserId in activation request for config adaud.
Content-Length
39
Connection
keep-alive
Cookie set map
ih.adscale.de/ Frame A311
Redirect Chain
  • https://ih.adscale.de/map?ssl=1&format=video
  • https://ih.adscale.de/map?ssl=1&format=video&nut&uu=14ae0a1b078f4a458e98be33ab19d584
0
0
Document
General
Full URL
https://ih.adscale.de/map?ssl=1&format=video&nut&uu=14ae0a1b078f4a458e98be33ab19d584
Requested by
Host: js.adscale.de
URL: https://js.adscale.de/map.js
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
104.111.215.171 , Netherlands, ASN16625 (AKAMAI-AS - Akamai Technologies, Inc., US),
Reverse DNS
a104-111-215-171.deploy.static.akamaitechnologies.com
Software
Apache-Coyote/1.1 /
Resource Hash

Request headers

Host
ih.adscale.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,application/signed-exchange;v=b3
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Accept-Encoding
gzip, deflate, br
Cookie
uu=14ae0a1b078f4a458e98be33ab19d584
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
Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html

Response headers

Server
Apache-Coyote/1.1
Content-Type
text/html;charset=ISO-8859-1
Vary
Accept-Encoding
Content-Encoding
gzip
Expires
Wed, 15 May 2019 15:01:51 GMT
Cache-Control
max-age=0, no-cache, no-store
Pragma
no-cache
Date
Wed, 15 May 2019 15:01:51 GMT
Content-Length
624
Connection
keep-alive
Set-Cookie
tu=4#220481566#68~~432759~432759~1#101~~432759~432759~1#38~~432759~432759~1#72~~432759~432759~1#42~~432759~432759~1#75~~432759~432759~1#60~~432759~432759~1#63~~432759~432759~1; Domain=ih.adscale.de; Expires=Fri, 14-Jun-2019 15:01:51 GMT; Path=/

Redirect headers

Server
Apache-Coyote/1.1
Location
https://ih.adscale.de/map?ssl=1&format=video&nut&uu=14ae0a1b078f4a458e98be33ab19d584
Content-Length
0
Expires
Wed, 15 May 2019 15:01:51 GMT
Cache-Control
max-age=0, no-cache, no-store
Pragma
no-cache
Date
Wed, 15 May 2019 15:01:51 GMT
Connection
keep-alive
Set-Cookie
uu=14ae0a1b078f4a458e98be33ab19d584; Domain=.adscale.de; Expires=Tue, 12-May-2020 07:28:31 GMT; Path=/
usersync
uss.xplosion.de/
42 B
592 B
Image
General
Full URL
https://uss.xplosion.de/usersync?sid=69511&fpid=b03c1ca71ac9b590ac4dfddc5f3ad735
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
54.171.119.13 Dublin, Ireland, ASN16509 (AMAZON-02 - Amazon.com, Inc., US),
Reverse DNS
ec2-54-171-119-13.eu-west-1.compute.amazonaws.com
Software
/
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629

Request headers

Referer
https://www.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.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
Wed, 15 May 2019 15:01:51 GMT
cache-control
must-revalidate,no-cache,no-store
access-control-allow-origin
*
p3p
CP="NOI DSP COR NID PSAo OUR SAMo BUS"
content-length
42
content-type
image/gif
/
tt.onthe.io/
0
287 B
XHR
General
Full URL
https://tt.onthe.io/?k[]=43098:time[url:%2Fnews%2Fbest-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html,type_article:shortread,article_layout:default,site_skin:desktop,device:desktop,custom_page_type:Article%20page,cdn_version:7]&s=6acc7c777cce3be138a245218c439c54&1557932517993
Requested by
Host: cdn.onthe.io
URL: https://cdn.onthe.io/io.js/IjvnOpbzskTW
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
95.216.24.150 , Finland, ASN24940 (HETZNER-AS, DE),
Reverse DNS
static.150.24.216.95.clients.your-server.de
Software
nginx /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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.golem.de/news/best-of-the-web-trust-siegel-verteilt-keylogger-1905-141275.html
Origin
https://www.golem.de

Response headers

Pragma
no-cache
Date
Wed, 15 May 2019 15:01:58 GMT
Server
nginx
Content-Type
text/javascript
Access-Control-Allow-Origin
*
Cache-Control
no-cache, no-store, must-revalidate
Connection
keep-alive
Content-Length
0
Expires
Thu, 01 Jan 1970 00:00:01 GMT

Failed requests

These URLs were requested, but there was no response received. You will also see them in the list above.

Domain
dmx.districtm.io
URL
https://dmx.districtm.io/b/v1

Verdicts & Comments Add Verdict or Comment

195 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| onselectstart object| onselectionchange function| queueMicrotask object| Golem object| _gcpx string| _rngnafc boolean| _rngnaf string| gafc_rubrik string| gafc_zone number| ord function| $ function| jQuery string| IVW object| _gafccsi function| getSDG object| SDG function| showSdgDebug object| googletag object| pbjsYLHH boolean| yieldlove_prevent_autoload string| sdgMeetricsStatus object| _enqAdpParam object| fXm_Head object| SDM_head undefined| SDM_resource string| SDM_target boolean| _golem_html5ads_enable function| _onSocialClick string| grmppath object| grmpfuncs function| grmpinit function| loadScript function| grmpload undefined| gs_a undefined| gs_b undefined| gs_getDocHeight undefined| gs_amount_scrolled undefined| gs_init undefined| gs_bindScriptAndCss object| PLISTA object| closure_memoize_cache_ object| googleToken object| googleIMState object| google_js_reporting_queue function| processGoogleToken function| PLISTA_JSONP_DC5498 object| PLISTA_ object| BigScreen object| iAbo function| golemAcceptCookies boolean| deliveringAds boolean| subDomainCheckVar object| gtssec number| gtsrand object| gtsifr object| gtsanc function| YONGZdd object| afrgh9b9Flags string| afrghdf0Rnd object| afrghd1d0tc string| szmvars object| iom object| iam_data string| ioObject function| io object| ioPageArgs object| _io_config string| disableStr object| _gaq string| shareUrl object| ___gcfg boolean| afrgh809sdl boolean| afrgh809sdln string| afrghd1d0genat string| afrghd1d0sthash boolean| afrgh39bforceimp object| adsbygoogle boolean| afrghd99Body boolean| afrghb7eDetect object| afrgh617Mobile object| afrghd1d01 object| afrghd1d0o1 object| afrghd1d0o2 object| afrghd1d0o3 object| afrghd1d02 number| afrghd1d0d3 object| afrghd1d04 object| afrghd1d05 boolean| afrghebbij object| _gat object| gaGlobal object| rmp3pi number| rmp3lphi function| SwfVideo object| exportz object| f object| google_ad_modifications object| ggeac boolean| google_measure_js_timing object| google_reactive_ads_global_state object| google_sa_queue object| google_sl_win function| google_process_slots function| google_spfd number| google_lpabyc number| google_unique_id object| google_sv_map object| google_t12n_vars function| google_sa_impl object| google_jobrunner object| google_persistent_state_async number| google_global_correlator object| google_rum_config object| __google_ad_urls object| google_prev_clients object| ampInaboxIframes object| ampInaboxPendingMessages object| google_iframe_oncopy function| Goog_AdSense_getAdAdapterInstance boolean| google_osd_loaded boolean| google_onload_fired object| core object| __core-js_shared__ object| rmpGlobals function| RadiantMP function| FuckAdBlock object| fuckAdBlock object| LP4 function| doLogRequest function| isNum function| testKey function| testStr object| _lntv function| lntOnLoad number| lnt_z boolean| afrghc3cTrack object| OotaelooyeebaZee number| A object| mg object| ug function| videopkgInterface object| __io object| _google_rum_ns_ function| Goog_Osd_UnloadAdBlock function| Goog_Osd_UpdateElementToMeasure function| google_osd_amcb function| mb function| Goog_AdSense_Lidar_sendVastEvent function| Goog_AdSense_Lidar_getViewability function| Goog_AdSense_Lidar_getUrlSignalsArray function| Goog_AdSense_Lidar_getUrlSignalsList object| ima object| google object| closure_lm_258959 string| _io_uniques_holing_params object| closure_lm_327083 string| hic_qos object| NUGGjson string| n_pbt object| _m6rq object| yieldlove_site_settings object| YLHH object| yieldlove_cmd function| pbjsYLHHChunk boolean| google_noFetch boolean| google_DisableInitialLoad string| logLevel object| clrm object| stroeerCore number| _m6rApiLoaded function| Goog_AdSense_OsdAdapter object| _m6rOnce number| _m6rContainerLoaded object| oms_debug string| sdm_ift object| ScTag146005 object| ScTagAdditional146005 function| fbq function| _fbq object| de_meetrics undefined| google_rum_values function| _h object| _adexc object| adex object| _EQLService object| _EQPScript object| ibb_lib object| _EQPService object| _adrtx number| _emqUSSMutex function| _emqUSSCall string| segments object| segmentsArr undefined| result string| _emqstr

1 Cookies

Domain/Path Name / Value
www.golem.de/ Name: GED_PLAYLIST_ACTIVITY
Value: W3sidSI6IitWL0siLCJ0c2wiOjE1NTc5MzI1MDcsIm52IjowLCJ1cHQiOjE1NTc5MzI0ODYsImx0IjoxNTU3OTMyNDg2fV0.

2 Console Messages

Source Level URL
Text
console-api log URL: https://www.golem.de/staticrl/scripts/golem_main_114-min.js(Line 14)
Message:
JQMIGRATE: Migrate is installed, version 1.4.1
console-api log URL: https://lib.selfcampaign.com/tag/146005_67aa4bdf07fc8a6dd839add1ec7302a1?async=1(Line 1)
Message:
No Cookie

Security Headers

This page lists any security headers set by the main page. If you want to understand what these mean and how to use them, head on over to this page

Header Value
Strict-Transport-Security max-age=11001100; includeSubDomains; preload

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.

acdn.adnxs.com
ad.yieldlab.net
ads.golem.de
ads.pubmatic.com
adservice.google.com
adservice.google.de
adstax-match.adrtx.net
api.theadex.com
bbcdn-bbnaut.ibillboard.com
c1.adform.net
cdn-a.yieldlove.com
cdn.adnxs.com
cdn.adrtx.net
cdn.districtm.io
cdn.emetriq.de
cdn.m6r.eu
cdn.onthe.io
cdn.radiantmediatechs.com
cdn.stroeerdigitalgroup.de
cm.g.doubleclick.net
connect.facebook.net
cpx.golem.de
cpxl.golem.de
csi.gstatic.com
de-gmtdmp.mookie1.com
de.ioam.de
delivery.selfcampaign.com
dmp.theadex.com
dmx.districtm.io
farm.plista.com
fra1-ib.adnxs.com
googleads.g.doubleclick.net
hbopenbid.pubmatic.com
hgc-cf-cache-1.svonm.com
ib.adnxs.com
ih.adscale.de
imasdk.googleapis.com
insights.plista.com
irqs.ioam.de
js.adscale.de
lb44.s400.meetrics.net
lib.selfcampaign.com
match.adsrvr.org
media.plista.com
pagead2.googlesyndication.com
s0.2mdn.net
s3.amazonaws.com
s400.mxcdn.net
script.ioam.de
secure.adnxs.com
securepubads.g.doubleclick.net
si.nuggad.net
ssl-golem.met.vgwort.de
ssl.1.damoh.golem.de
ssl.2.damoh.golem.de
ssl.google-analytics.com
static.plista.com
stats.g.doubleclick.net
tpc.googlesyndication.com
track.selfcampaign.com
track2.selfcampaign.com
tracking.m6r.eu
tt.onthe.io
ups.xplosion.de
uss.xplosion.de
video.golem.de
www.facebook.com
www.golem.de
www.google-analytics.com
www.googletagservices.com
xpl.theadex.com
dmx.districtm.io
104.111.214.228
104.111.215.171
104.111.215.51
104.111.215.68
13.32.223.212
13.32.223.225
136.243.102.69
136.243.12.39
136.243.5.229
138.197.186.29
138.201.125.235
148.251.131.173
148.251.235.107
148.251.69.233
151.101.121.108
161.156.66.178
172.217.22.98
185.33.223.202
185.33.223.209
185.64.189.112
193.46.63.75
2.19.33.59
2.20.169.32
216.58.206.2
23.111.11.152
2404:6800:4003:c04::5e
2600:9000:20bb:a000:1c:8c89:a300:93a1
2606:4700:30::6818:6624
2606:4700:30::681c:12e8
2a00:13c8:f5::f:4b3d:175
2a00:13c8:f5::f:4b3d:17a
2a00:13c8:f5::f:4b3d:181
2a00:1450:4001:806::2001
2a00:1450:4001:809::2002
2a00:1450:4001:814::200e
2a00:1450:4001:816::2002
2a00:1450:4001:81a::2002
2a00:1450:4001:81b::2008
2a00:1450:4001:81c::2002
2a00:1450:4001:81d::200a
2a00:1450:4001:820::2002
2a00:1450:4001:820::2006
2a00:1450:400c:c08::9b
2a01:4f8:202:42d4::2
2a02:26f0:6c00:194::5f76
2a03:2880:f01c:216:face:b00c:0:3
2a03:2880:f11c:8083:face:b00c:0:25de
3.122.160.52
35.203.66.107
37.157.6.245
37.252.173.27
52.210.48.228
52.212.134.12
52.213.21.157
52.216.228.179
54.171.119.13
62.168.44.118
77.247.84.129
77.247.84.149
80.82.201.88
85.114.144.107
89.163.159.107
89.163.159.110
91.215.100.40
91.215.103.64
95.216.24.150
004b67b2a3f963c068d93b3f8e23005f48277c8b61f3d3623da9ce9e6539a456
02a8df34e2a6941840bd5caa0e5e71a7f5e773768b55c395c2f1d023042c1908
0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
0739f9770e6d505d5178442949bf073f474b83f2463b5501ead020722d416038
093fedc7f03d95ca75cc4668a740b740cdc78d60290983a785b946fd3a98af68
0fbf9416ccb522246292db276304ff1731ae648aa49f96c85f5a98526e85d224
0fcdcfd13a1beb422d1068e345ba2f7a71595f093cf755768808f352c9aa8f47
10d8d42d73a02ddb877101e72fbfa15a0ec820224d97cedee4cf92d571be5caa
1259ea99bd76596239bfd3102c679eb0a5052578dc526b0452f4d42f8bcdd45f
13533d8fe0663f05bac2eea2a5bd334b6936ccde08a9aa1f86257a5ce90450ea
13b219900bd84f484766a5a90357d312a6583a41591452752da8c9c12cc662b6
1478c0f24c51bfaeb59e580f11f0baa3742eecf98db25f9f60c04a42ee35f59d
14c912652278a80cde809c24f37f3e86754d820ca7c7b2c409af205de7d22d9a
166f9390df29e23f9c9c45c50026de3b8ea04605424c6edc8557a3d3e71af7b8
16e25371ff703d0ba961524d37e86162c72bddd7849b6fe393caf735cde51152
172e97436652b954e64f95c8607ccbb0035fa762e04217d422260e3b86e12e8e
1812d0532c826bd829f1bde5806d299a1fa53eeb7d2ebc3e6659202e9012d05c
1a774f9ff4c82d8feaa8412ed8a2520174ebda464b59bf772967a319d520e3ed
1f2a2f4ed483d554d424a20f1cde1ec3958eae363a5dd9770e56dd89a5cc31cb
1fed4210a121c97f66f22e47237ee1355119cdc03c8e0ea6f8911428020dc1f9
208b975a401cac12224ab9aa61d73bb5e9d75f4561ae756896e2c59be6074ba9
2302ce8cf6307e809a07b5cd6ba8a546381a971b75fcc2971090154eea40c4f9
25b8c26212dbd48007be24a885e489432092cdeb9ae7d70a223d5cd88582205d
2abfcd790056afc481c48cd6f8e35b79b3bccf309ff6f2c0dfad0650df73d645
2b6ecd14c32260d425578d9278b8af4705c9fe9d86980a43bece283fa24e2e91
2f25e5f6f042386f0cbd93633fb42ce8351f2928108824351cb9717460214354
334edfbf00ad918aebbf33d4ea9365ce1f41afc3346c9f2ba7edd127d6b30f6c
33a615b30f0b0648a299b0d7e7f57e6c5a1b52cfcc831b3572c1f6ff77c1e2b1
3c87063ebe72bb0cd5466feb8822d04f2039e6c650a55078af025095e85d5bb8
3cf807f67ce81c36350ad1d8cf93a17311c476af13ff496280b8b2a5ef35ebf2
3d5094c1d23b5cf90a1e612d406a1c09b89533c889c287e316aa8ec1da3151f0
3e253b66056519aa065b00a453bac37ac5ed8f3e6fe7b542e93a9dcdcc11d0bc
3e8dadf2162e744a31d12d4935c7986dbc5c519a6829807c7582411c7972dc6d
3eac381fd296094c158c1fe2690efd8ec90c4065a681597f57f35855a3c4a98d
409f0f3299f686120393ade2c293cf0cb937e2de0d4dde5755b92abf0cbda44a
410943e6f84a76cfc31b928d5e086229f730bbccfe001df4a6bfc06e4263202a
42bb877744c06037d98b964f68c3e5d4794968c0915fef531db5137a39b3b0c5
46c74c2d8d78fcba820e298bc02dca4153e794d98367799240ae49340c627e47
47a97160441648cbce3f357259296a681608f1468272da33cb9cf3aa136af8f5
4c0ee9bd341966920fbcf99fc42e339d1ca84893564ca54e9dc2d19b1e8eac2a
4e8d6e3b35948e5fb1b6d570acce30f0b1560ed00ec1f300793389f19c967dff
4f24351d34c589338fbf6359d13035738266d14066c965fa399de3c262a235e4
53af729e9e4b8c8d2aae917515b562dba0d5273acc77c8775d6e05a6cddfcefd
54004a8f61222fc9e81860418b192ab08ffe085746205e2c3bb7c67f8fbf83d4
548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
55e30adb2faf80e59e4a70a75809a573ed0acd7b6fb703bde722bd3ddf56584d
585cc11b4d20958229b3e7f944f3c7d616e947fdf93777fdee3bae2b3da47207
58d5d69efb99ba86b86e44a4753304d14f0ebcda68e3b9b31faa68d85d2a9811
5a3f1dd74233f605e511f1b5b244bedf85ac88ba264caf4d6401bc7ec2017dcd
5a7eb85e3b035673ff1e9f66977c697902a8be8235e3ebbd233b8d2636cfaed1
5c53c39018b0b497f2aa2e27114075534e637621a37383bcfa38bcbfff734418
5ccef4c578bc4792e27c6b094f421f3948add858035cf045a8471cbe2d7d59ed
5d6c44d5980f3c680724df4abe386d27d13c519f4ffa1262dc6e649b32f6a5d8
600a0718bc411395294d3af96651470ec26c15c3f0a6ca3b579a523c9098b4ce
62f2eeec7851ae0d5e322062cf40092478236d4a4fc5a2cfd87b257739104147
640f0a03cd1e9c721ac8844b006b9047b070a9f7d13a3278b98fb0461947dd8f
64d36d1aeede6488eafcd8844abb6ea473c9e8bda92b79b51517716cc9d90953
653ecfa4fbb8a0a5085d4eb14fc668c8cd30ff0b51616f7a8032c88d7468ea93
66f800ffe97e28c9141b4b3bfd12f5cc5d3ab3aeb268c91603096130b4c3a843
6a1cf4449f7e36f0be6c7109311442b030b10fc4cdaafa0d2f94b11423c8aacc
6a842ea462daca2a0b5a0f5f25bcfc8e0059ac811ca6c6a1bc54e4d9119621c3
71561a3bca82f8abb1c48231b9d1a6500aa76c5f3eb838f2ac1dc0c81c5811ae
72ce44d1321e5caeec893cabdf662745ce2d8af68b65665b6e62e5f7bbcd5e0f
75cc605db386313d160be1ee29ac9994535314e658ccc25b67d9920dab772a71
760e4b5d62fd40555e5378e6216c0d4bec64c26bd39d3418b59e14c46ad0aa08
76ceb9b46c9787fba45d74064ac8e7ea819b8cfe3060d11a0c9cea3706f4575f
7a8571861150568201139b95e61e158985c9184cb70f87f030f3f8f9f73d1b90
7e7fa886d5d75c745d95be4fc3c5bfb4c988019b3f643c669734612345e1b8c8
821e2efd660f6b759d561cd5cd194670e51ecebcbc06055cdcbebcd91ec94a56
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
84523662a2d9525bbe7456722081bb57749cef2d5ad289b00e9a72ba08da3605
8453ec595b19e74278586279557ad2ed3ff9e76820a6b4c4eaa81072cbd23200
893fa7339c102fb976d4065531644d8a8ac565fc84818a77600ad3ed5a72a26b
8a5ebf17c751099d2f751d23dd57cd262691ccc803fc6f8fa1712922a86a8a8d
8c801ec4e6b873002ed9d72aeee9563dd900bc296674071896370bd008e9353b
8e4859141f1cdb475d683d436647e38741241ab793fdb4cc365455b625520f70
9326b813f05efe1ac285085eef770b1036f77bdbbedf69f79eb83b35a121040c
93d39da3773a26f38a235454f91d1d2a57a0d9d066c72f9a41452651b08e539e
95061a8820dde009f18dd271c6bdb828979a2aac2a79f931b066bc88df962fba
96bff9a63428fcafaa40226d7ccf7b90ab5776979db144a62bdef6a7a77d5eec
97cd1bc4baa1de053750912b417b969fa704faeedaaab7ad51ac5276c51e14c6
98b3d9d20e032f90aca49e9b116225d539ff6fbdb7e42c3c363f63896ac03d2a
9a7be551755cd40ac554a0106394e6c3f757feac8149e8a0e0f8dcd08b1e0e4d
9b989a4ec9504073a81fda90e33853f122408f4ccfdf93571dd7e80f5d513a7a
9d02d662da8a47fb5fb610b545007507b6017028043dbb63cd09ec897d3b9627
9e08d9b8d1eb5cfb13e10bc6afb3a6f3a40f6ac1f65c6ecd076dc66b7edafb6a
9efa53ec1a261a8576a66a71befaf9d03c1a108aac36271f4599b87597b8a71e
a065920df8cc4016d67c3a464be90099c9d28ffe7c9e6ee3a18f257efc58cbd7
a1143eb79f86618f8a72788f8f9f8e5884797dbd12e6d0a7c212f46c1dd1e525
a161cba4b2b8a90e2ca19e935256925fa3920b6ed129ec1568fccbd1a290b1b1
a5bca980db62cd62b8af6d7e13a8fca10bcf3275d804a266bac4cd2907e206d2
a5d7896fb3a07c86f0f6f78a31c7b99e2a060a4a0212cfb5d010eeaa38ad0c93
aaaabde3f68c325033b37bb3ebff887e3b589b7137e717e96648a52221881429
adfa0c7de03bc3bea3de80b4a4514881c8b6296568f43a5acd5cd7a16fffd1c9
ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc
b027fc110a1c4310d433d4be3ffa26b70886ed33a1ec1a2b8270588519507f00
b2c78c910f5ea29e3a9d223dabc203c055c8708b1fe7d83788b490638126db4d
b71c20271d9c80d1a71aa0ab9935281c4fa8ac404533f1a0747d7fb03fc68e79
c1d9a432d3d7f3f8a9bb30bada1c2b6dc01a7931eeabc74488976d39a7acb0ca
c3be169db886efe9704bd3736dca04c9b8541af38b93bbc6c10c59faa161e9e5
c44428e0a45053c5db8ec6ef8c243ae6e90c7dd4f56bc73dde46a046aebe7fc9
cd1c301a8e7960a1786e2a959226b0b78b56dbea284bd114265f1662d6ca280e
cd8cab6134789f4be73101396dea39afb45e9337fc310e1bd11d5ac6cd325ec8
cf4724b2f736ed1a0ae6bc28f1ead963d9cd2c1fd87b6ef32e7799fc1c5c8bda
cfedbaf841d07ac07ac1a0c50542476d7b97bf14dc2121841d780ad22d0b8751
d250260787efed78dd06a1f30ef3503b52ce8271cc22a08b891adaf21eefabc1
d5ea92e80113829e1cc60cb096ac79b4cf7c30c836991667ca7c6605f181bb13
d645956646bc0e6e1a33190fce79233b95079081e906891293f343a7c98492bc
d79a2c08ec56eb5e1c76ca58af8b280d29c8792641565d3e9983a9ea8f7e9bb6
dabb1d24e6de4761e390b21aa7aa3495e1c7a102f06a08bae29628fc8da97f3d
e308c5b563f4ca46d35d9e3296a707ed62758a423d88a6a7d244209e61764e6e
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
e4cb8cf94193e76c36519aa528f94f70b81a39b88d21349e39967320f1977159
e5d1abb983fb4642a5c12b36921ee88e3444084d8d34265be58c85f13c22dc45
e6f7ca4fc92e11a42ddbb3a9d369ce4d42fb95faf2567f485a7769e51825706d
e72acd75e28308144c191955763a907264b850d4e8e2960d724f273e4934e34d
e89fc0906dd590bbf06858059577b07695e00936b2a6fd5d64fc247c542a1c09
e94712bd5679e91d66469fac2cbf6322a706e4e8f25fe37c762b8167391a7c2c
ea03bfd7fdda1eac185ebc3e8e74b33065b04c8e0adc48cbbd4136748dbd2742
ec3943468e660a13879ad7ea484da73199fd5220d765a1163c045294fbc1c546
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
f1379a9c047773af19ec6c4f9a465e0147cbabc785342c01110b43304179196a
fa59b1ed1b011e084474ad818b5f6986d84fc678e2f37fee9330eb52d86860b3
fac122458b5b1684db8cb42e570d29c21e8526612beb209ba61f5a13f54080b9
fe95af1157170e1c4ab3ce9ff4809c4428750248a14944bc81a6828e41122a57
ff8d0cd9b6e1af7e78d6e1c78d2e71bd6c887ec2f83277305d69f8252f6c26d6