elearning.uni-bayreuth.ersc.me Open in urlscan Pro
2606:4700:3030::681f:5a84  Public Scan

Submitted URL: https://users.ugent.be/~gamaglo/bayreuth.html
Effective URL: http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
Submission: On June 12 via manual from DE

Summary

This website contacted 4 IPs in 3 countries across 4 domains to perform 9 HTTP transactions. The main IP is 2606:4700:3030::681f:5a84, located in United States and belongs to CLOUDFLARENET, US. The main domain is elearning.uni-bayreuth.ersc.me.
This is the only time elearning.uni-bayreuth.ersc.me was scanned on urlscan.io!

urlscan.io Verdict: No classification

Domain & IP information

IP Address AS Autonomous System
1 157.193.40.145 2611 (BELNET)
1 1 2606:4700:303... 13335 (CLOUDFLAR...)
1 2 2606:4700:303... 13335 (CLOUDFLAR...)
7 132.180.7.145 680 (DFN Verei...)
9 4
Apex Domain
Subdomains
Transfer
7 uni-bayreuth.de
elearning.uni-bayreuth.de
228 KB
2 ersc.me
elearning.uni-bayreuth.ersc.me
3 MB
1 vnca.me
vnca.me
589 B
1 ugent.be
users.ugent.be
388 B
9 4
Domain Requested by
7 elearning.uni-bayreuth.de application
2 elearning.uni-bayreuth.ersc.me 1 redirects
1 vnca.me 1 redirects
1 users.ugent.be
9 4
Subject Issuer Validity Valid
users.ugent.be
TERENA SSL CA 3
2017-08-07 -
2020-08-11
3 years crt.sh
elearning.uni-bayreuth.de
DFN-Verein Global Issuing CA
2019-06-11 -
2021-09-12
2 years crt.sh

This page contains 1 frames:

Primary Page: http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
Frame ID: D6D379FB11740A73B4A4D06E8EB407C4
Requests: 27 HTTP requests in this frame

Screenshot


Page URL History Show full URLs

  1. https://users.ugent.be/~gamaglo/bayreuth.html Page URL
  2. http://vnca.me/bay999 HTTP 301
    http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHN... HTTP 301
    http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHN... Page URL

Detected technologies

Overall confidence: 100%
Detected patterns
  • meta keywords /^moodle/i

Overall confidence: 100%
Detected patterns
  • meta keywords /^moodle/i

Overall confidence: 100%
Detected patterns
  • headers server /(?:Apache(?:$|\/([\d.]+)|[^/-])|(?:^|\b)HTTPD)/i

Page Statistics

9
Requests

89 %
HTTPS

50 %
IPv6

4
Domains

4
Subdomains

4
IPs

3
Countries

3773 kB
Transfer

8914 kB
Size

1
Cookies

Page URL History

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

  1. https://users.ugent.be/~gamaglo/bayreuth.html Page URL
  2. http://vnca.me/bay999 HTTP 301
    http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW HTTP 301
    http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/ Page URL

Redirected requests

There were HTTP redirect chains for the following requests:

9 HTTP transactions

Resource
Path
Size
x-fer
Type
MIME-Type
bayreuth.html
users.ugent.be/~gamaglo/
68 B
388 B
Document
General
Full URL
https://users.ugent.be/~gamaglo/bayreuth.html
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
157.193.40.145 Ghent, Belgium, ASN2611 (BELNET, BE),
Reverse DNS
users.ugent.be
Software
Apache /
Resource Hash
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests;

Request headers

Host
users.ugent.be
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_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 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;q=0.9
Sec-Fetch-Site
none
Sec-Fetch-Mode
navigate
Sec-Fetch-User
?1
Sec-Fetch-Dest
document
Accept-Encoding
gzip, deflate, br
Accept-Language
en-US
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:33 GMT
Server
Apache
Content-Security-Policy
upgrade-insecure-requests;
Last-Modified
Tue, 09 Jun 2020 08:21:44 GMT
ETag
"44-5a7a26afa46a6"
Accept-Ranges
bytes
Content-Length
68
Keep-Alive
timeout=5, max=100
Connection
Keep-Alive
Content-Type
text/html
Primary Request /
elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
Redirect Chain
  • http://vnca.me/bay999
  • http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW
  • http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
6 MB
3 MB
Document
General
Full URL
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
Protocol
HTTP/1.1
Server
2606:4700:3030::681f:5a84 , United States, ASN13335 (CLOUDFLARENET, US),
Reverse DNS
Software
cloudflare /
Resource Hash

Request headers

Host
elearning.uni-bayreuth.ersc.me
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_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 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;q=0.9
Accept-Encoding
gzip, deflate
Accept-Language
en-US
Cookie
__cfduid=d4238cf03b8db550ccab10878135e6dee1591950153
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Referer
https://users.ugent.be/~gamaglo/bayreuth.html

Response headers

Date
Fri, 12 Jun 2020 08:22:33 GMT
Content-Type
text/html
Transfer-Encoding
chunked
Connection
keep-alive
Last-Modified
Thu, 11 Jun 2020 17:01:10 GMT
Vary
Accept-Encoding
CF-Cache-Status
DYNAMIC
cf-request-id
034938afd2000064f7caaf3200000001
Server
cloudflare
CF-RAY
5a222a2c891764f7-FRA
Content-Encoding
gzip

Redirect headers

Date
Fri, 12 Jun 2020 08:22:33 GMT
Content-Type
text/html
Transfer-Encoding
chunked
Connection
keep-alive
Set-Cookie
__cfduid=d4238cf03b8db550ccab10878135e6dee1591950153; expires=Sun, 12-Jul-20 08:22:33 GMT; path=/; domain=.ersc.me; HttpOnly; SameSite=Lax
Location
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
CF-Cache-Status
DYNAMIC
cf-request-id
034938af85000064f7caaf0200000001
Server
cloudflare
CF-RAY
5a222a2c08e364f7-FRA
truncated
/
2 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
71e82cfc66dd6ab24bea7a8c09a4d7e710c4323ab354f1b3c8a43ce76cf2e343

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
2 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
cac10be6dad14d35e38b41c9c1238ced63676b3165529ae4f8aaa2b88577ed67

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
22 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
c45566034b186c84f921f3cb620dce0a55433a2f948f98550ec2d35f3854db34

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
5 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
45d02e9ae0fd9b37fa62548d03ed427f6f01812f7b0baa41430c151d380fb4b8

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
15 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
26d1a45d173703f01ca9bb8be4335bae6005c3bc0a5f78b380ad18fb152b8835

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
746 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
33d219e772adce3a3ed245a20d01c90933a2722e53ea009e7275302a530266a3

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
85 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
4d8b560b0de451450b378976aadf95623e77714bfdcddf7a4602332d2c98d394

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
130 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
03c628e3f44b076e91d6d80d9f8ac57958599cf9f05679b6b3ee8e1bc61d85e4

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
image/png
truncated
/
276 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
13eaaadfa414f262b7964320054bb2b322b9ef9f3522bc25c9d60dc83b5141cf

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
21 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
449723b1d16bcd4fd32e34bcbd8f41a2ff7cfe84b939740a9417f71dd4f61479

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
19 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
97ef77d57a9644335c80e8e72116badbf520d4a2b93d2a08422c1c7fddf2cb8e

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

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

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
image/svg+xml
truncated
/
17 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
4b9f572393f50aa7fd63ba6ac5d3b39c1a4ee71e27766757a76821418c040650

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
4 KB
0
Script
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
7a8ae764c93823acfd4524ba77b426303c51fd8a4998d9d8485a35ee43717e96

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
application/javascript
truncated
/
281 KB
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
f8b3a1720533e607eac5a044a870caf745aa0768cb274e5598f3027ec25b26aa

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
image/png
truncated
/
75 KB
75 KB
Font
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe

Request headers

User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
Origin
http://elearning.uni-bayreuth.ersc.me

Response headers

Content-Type
application/font-woff2
yui_combo.php
elearning.uni-bayreuth.de/theme/
2 KB
1 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/theme/yui_combo.php?m/1591258755/core/dock/dock-loader-min.js
Requested by
Host: application
URL: data:application/javascript;base64,LyoKWVVJIDMuMTcuMiAoYnVpbGQgOWMzYzc4ZSkKQ29weXJpZ2h0IDIwMTQgWWFob28hIEluYy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KTGljZW5zZWQgdW5kZXIgdGhlIEJTRCBMaWNlbnNlLgpodHRwOi8veXVpbGlicmFyeS5jb20vbGljZW5zZS8KKi8KCnR5cGVvZiBZVUkhPSJ1bmRlZmluZWQiJiYoWVVJLl9ZVUk9WVVJKTt2YXIgWVVJPWZ1bmN0aW9uKCl7dmFyIGU9MCx0PXRoaXMsbj1hcmd1bWVudHMscj1uLmxlbmd0aCxpPWZ1bmN0aW9uKGUsdCl7cmV0dXJuIGUmJmUuaGFzT3duUHJvcGVydHkmJmUgaW5zdGFuY2VvZiB0fSxzPXR5cGVvZiBZVUlfY29uZmlnIT0idW5kZWZpbmVkIiYmWVVJX2NvbmZpZztpKHQsWVVJKT8odC5faW5pdCgpLFlVSS5HbG9iYWxDb25maWcmJnQuYXBwbHlDb25maWcoWVVJLkdsb2JhbENvbmZpZykscyYmdC5hcHBseUNvbmZpZyhzKSxyfHx0Ll9zZXR1cCgpKTp0PW5ldyBZVUk7aWYocil7Zm9yKDtlPHI7ZSsrKXQuYXBwbHlD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LGl9cmV0dXJuIG51bGx9fSksZS5DYWNoZT1pfSwiMy4xNy4yIix7cmVxdWlyZXM6WyJiYXNlIl19KTsKdmFyIFkgPSBZVUkoKS51c2UoJyonKTs=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
71e82cfc66dd6ab24bea7a8c09a4d7e710c4323ab354f1b3c8a43ce76cf2e343

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:35 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Content-Disposition
inline; filename="combo"
Connection
Keep-Alive
Content-Length
768
Pragma
Last-Modified
Sat, 04 Apr 2020 03:10:19 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"7d09402dab8dcd56be26c5dbfdf4ee8f7c3a1e18"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
public, max-age=31104000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=500
Expires
Mon, 07 Jun 2021 08:22:35 GMT
truncated
/
825 B
0
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
1bb2279aed6bc1438d2b17a5ffcbac9d37864582aedeeec8d301eab162b2c213

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

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

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Content-Type
image/png
first.js
elearning.uni-bayreuth.de/lib/requirejs.php/1591258755/core/
746 KB
182 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/lib/requirejs.php/1591258755/core/first.js
Requested by
Host: application
URL: data:application/javascript;base64,dmFyIHJlcXVpcmVqcyxyZXF1aXJlLGRlZmluZTshZnVuY3Rpb24oZ2xvYmFsLHNldFRpbWVvdXQpe2Z1bmN0aW9uIGNvbW1lbnRSZXBsYWNlKGUsdCl7cmV0dXJuIHR8fCIifWZ1bmN0aW9uIGlzRnVuY3Rpb24oZSl7cmV0dXJuIltvYmplY3QgRnVuY3Rpb25dIj09PW9zdHJpbmcuY2FsbChlKX1mdW5jdGlvbiBpc0FycmF5KGUpe3JldHVybiJbb2JqZWN0IEFycmF5XSI9PT1vc3RyaW5nLmNhbGwoZSl9ZnVuY3Rpb24gZWFjaChlLHQpe2lmKGUpe3ZhciBpO2ZvcihpPTA7aTxlLmxlbmd0aCYmKCFlW2ldfHwhdChlW2ldLGksZSkpO2krPTEpO319ZnVuY3Rpb24gZWFjaFJldmVyc2UoZSx0K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2VJbnRlcmFjdGl2ZSYmKHI9Y3VycmVudGx5QWRkaW5nU2NyaXB0fHxnZXRJbnRlcmFjdGl2ZVNjcmlwdCgpKSYmKGV8fChlPXIuZ2V0QXR0cmlidXRlKCJkYXRhLXJlcXVpcmVtb2R1bGUiKSksbj1jb250ZXh0c1tyLmdldEF0dHJpYnV0ZSgiZGF0YS1yZXF1aXJlY29udGV4dCIpXSksbj8obi5kZWZRdWV1ZS5wdXNoKFtlLHQsaV0pLG4uZGVmUXVldWVNYXBbZV09ITApOmdsb2JhbERlZlF1ZXVlLnB1c2goW2UsdCxpXSl9LGRlZmluZS5hbWQ9e2pRdWVyeTohMH0scmVxLmV4ZWM9ZnVuY3Rpb24odGV4dCl7cmV0dXJuIGV2YWwodGV4dCl9LHJlcShjZmcpfX0odGhpcywidW5kZWZpbmVkIj09dHlwZW9mIHNldFRpbWVvdXQ/dm9pZCAwOnNldFRpbWVvdXQp
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
33d219e772adce3a3ed245a20d01c90933a2722e53ea009e7275302a530266a3

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:35 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Transfer-Encoding
chunked
Content-Disposition
inline; filename="requirejs.php"
Connection
Keep-Alive
Pragma
Last-Modified
Thu, 04 Jun 2020 08:20:13 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"8a78ba834478c0e08adc442b17ec21ceaa5dcd91"
Vary
Accept-Encoding
Content-Type
application/javascript; charset=utf-8
Cache-Control
public, max-age=7776000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=500
Expires
Thu, 10 Sep 2020 08:22:35 GMT
yui_combo.php
elearning.uni-bayreuth.de/theme/
2 KB
1 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/theme/yui_combo.php?m/1591258755/core/event/event-min.js&m/1591258755/filter_mathjaxloader/loader/loader-min.js
Requested by
Host: application
URL: data:application/javascript;base64,LyoKWVVJIDMuMTcuMiAoYnVpbGQgOWMzYzc4ZSkKQ29weXJpZ2h0IDIwMTQgWWFob28hIEluYy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KTGljZW5zZWQgdW5kZXIgdGhlIEJTRCBMaWNlbnNlLgpodHRwOi8veXVpbGlicmFyeS5jb20vbGljZW5zZS8KKi8KCnR5cGVvZiBZVUkhPSJ1bmRlZmluZWQiJiYoWVVJLl9ZVUk9WVVJKTt2YXIgWVVJPWZ1bmN0aW9uKCl7dmFyIGU9MCx0PXRoaXMsbj1hcmd1bWVudHMscj1uLmxlbmd0aCxpPWZ1bmN0aW9uKGUsdCl7cmV0dXJuIGUmJmUuaGFzT3duUHJvcGVydHkmJmUgaW5zdGFuY2VvZiB0fSxzPXR5cGVvZiBZVUlfY29uZmlnIT0idW5kZWZpbmVkIiYmWVVJX2NvbmZpZztpKHQsWVVJKT8odC5faW5pdCgpLFlVSS5HbG9iYWxDb25maWcmJnQuYXBwbHlDb25maWcoWVVJLkdsb2JhbENvbmZpZykscyYmdC5hcHBseUNvbmZpZyhzKSxyfHx0Ll9zZXR1cCgpKTp0PW5ldyBZVUk7aWYocil7Zm9yKDtlPHI7ZSsrKXQuYXBwbHlDb25maWcobltlXSk7dC5fc2V0dXAoKX1yZXR1cm4gdC5pbnN0YW5jZU9mPWksdH07KGZ1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JiYXNlIl19KTsKdmFyIFkgPSBZVUkoKS51c2UoJyonKTs=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
cac10be6dad14d35e38b41c9c1238ced63676b3165529ae4f8aaa2b88577ed67

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:36 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Content-Disposition
inline; filename="combo"
Connection
Keep-Alive
Content-Length
825
Pragma
Last-Modified
Sat, 04 Apr 2020 03:10:26 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"4690cc777e097e6672dd69efa95c3baf5c27f66a"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
public, max-age=31104000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=499
Expires
Mon, 07 Jun 2021 08:22:36 GMT
yui_combo.php
elearning.uni-bayreuth.de/theme/
22 KB
6 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/theme/yui_combo.php?m/1591258755/core/widget/widget-focusafterclose-min.js&3.17.2/plugin/plugin-min.js&m/1591258755/core/lockscroll/lockscroll-min.js&m/1591258755/core/notification/notification-dialogue-min.js&m/1591258755/core/notification/notification-alert-min.js&m/1591258755/core/notification/notification-exception-min.js&m/1591258755/core/notification/notification-ajaxexception-min.js&m/1591258755/filter_glossary/autolinker/autolinker-min.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UoZSl8fG4uaXNOdWxsKGUpfHxuLmlzVW5kZWZpbmVkKGUpKSYmdGhpcy5maXJlKCJhZGQiLHtlbnRyeTp7cmVxdWVzdDplLHJlc3BvbnNlOnQsY2FjaGVkOm5ldyBEYXRlLGV4cGlyZXM6cihpKT9pOmk/bmV3IERhdGUoKG5ldyBEYXRlKS5nZXRUaW1lKCkrdGhpcy5nZXQoImV4cGlyZXMiKSk6bnVsbH19KX0sZmx1c2g6ZnVuY3Rpb24oZSl7dGhpcy5maXJlKCJmbHVzaCIse3JlcXVlc3Q6bi5pc1ZhbHVlKGUpP2U6bnVsbH0pfSxyZXRyaWV2ZTpmdW5jdGlvbihlKXt2YXIgdD10aGlzLl9lbnRyaWVzLHI9dC5sZW5ndGgsaT1udWxsLHM7aWYocj4wJiYodGhpcy5nZXQoIm1heCIpPT09bnVsbHx8dGhpcy5nZXQoIm1heCIpPjApKXt0aGlzLmZpcmUoInJlcXVlc3QiLHtyZXF1ZXN0OmV9KSxzPXRoaXMuX3Bvc2l0aW9uKGUpO2lmKG4uaXNWYWx1ZShzKSlyZXR1cm4gaT10W3NdLHRoaXMuZmlyZSgicmV0cmlldmUiLHtlbnRyeTppfSksczxyLTEmJih0LnNwbGljZShzLDEpLHRbdC5sZW5ndGhdPWkpLGl9cmV0dXJuIG51bGx9fSksZS5DYWNoZT1pfSwiMy4xNy4yIix7cmVxdWlyZXM6WyJiYXNlIl19KTsKdmFyIFkgPSBZVUkoKS51c2UoJyonKTs=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
c45566034b186c84f921f3cb620dce0a55433a2f948f98550ec2d35f3854db34

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:36 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Content-Disposition
inline; filename="combo"
Connection
Keep-Alive
Content-Length
6078
Pragma
Last-Modified
Sat, 04 Apr 2020 03:10:26 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"3d42300bc60f7ac9c2b5759b6c99a3bdd15c84be"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
public, max-age=31104000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=499
Expires
Mon, 07 Jun 2021 08:22:36 GMT
jquery-3.2.1.min.js
elearning.uni-bayreuth.de/lib/javascript.php/1591258755/lib/jquery/
85 KB
30 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/lib/javascript.php/1591258755/lib/jquery/jquery-3.2.1.min.js
Requested by
Host: application
URL: data:application/javascript;base64,dmFyIHJlcXVpcmVqcyxyZXF1aXJlLGRlZmluZTshZnVuY3Rpb24oZ2xvYmFsLHNldFRpbWVvdXQpe2Z1bmN0aW9uIGNvbW1lbnRSZXBsYWNlKGUsdCl7cmV0dXJuIHR8fCIifWZ1bmN0aW9uIGlzRnVuY3Rpb24oZSl7cmV0dXJuIltvYmplY3QgRnVuY3Rpb25dIj09PW9zdHJpbmcuY2FsbChlKX1mdW5jdGlvbiBpc0FycmF5KGUpe3JldHVybiJbb2JqZWN0IEFycmF5XSI9PT1vc3RyaW5nLmNhbGwoZSl9ZnVuY3Rpb24gZWFjaChlLHQpe2lmKGUpe3ZhciBpO2ZvcihpPTA7aTxlLmxlbmd0aCYmKCFlW2ldfHwhdChlW2ldLGksZSkpO2krPTEpO319ZnVuY3Rpb24gZWFjaFJldm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XQodCkpKSx1c2VJbnRlcmFjdGl2ZSYmKHI9Y3VycmVudGx5QWRkaW5nU2NyaXB0fHxnZXRJbnRlcmFjdGl2ZVNjcmlwdCgpKSYmKGV8fChlPXIuZ2V0QXR0cmlidXRlKCJkYXRhLXJlcXVpcmVtb2R1bGUiKSksbj1jb250ZXh0c1tyLmdldEF0dHJpYnV0ZSgiZGF0YS1yZXF1aXJlY29udGV4dCIpXSksbj8obi5kZWZRdWV1ZS5wdXNoKFtlLHQsaV0pLG4uZGVmUXVldWVNYXBbZV09ITApOmdsb2JhbERlZlF1ZXVlLnB1c2goW2UsdCxpXSl9LGRlZmluZS5hbWQ9e2pRdWVyeTohMH0scmVxLmV4ZWM9ZnVuY3Rpb24odGV4dCl7cmV0dXJuIGV2YWwodGV4dCl9LHJlcShjZmcpfX0odGhpcywidW5kZWZpbmVkIj09dHlwZW9mIHNldFRpbWVvdXQ/dm9pZCAwOnNldFRpbWVvdXQp
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
4d8b560b0de451450b378976aadf95623e77714bfdcddf7a4602332d2c98d394

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:36 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Transfer-Encoding
chunked
Content-Disposition
inline; filename="javascript.php"
Connection
Keep-Alive
Pragma
Last-Modified
Thu, 04 Jun 2020 08:20:14 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"a8f4dae6f587fac075a3dd68b5c63bedb2b9f53e"
Vary
Accept-Encoding
Content-Type
application/javascript; charset=utf-8
Cache-Control
public, max-age=7776000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=498
Expires
Thu, 10 Sep 2020 08:22:36 GMT
yui_combo.php
elearning.uni-bayreuth.de/theme/
5 KB
2 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/theme/yui_combo.php?m/1591258755/core/tooltip/tooltip-min.js&m/1591258755/core/popuphelp/popuphelp-min.js
Requested by
Host: application
URL: data:application/javascript;base64,LyoKWVVJIDMuMTcuMiAoYnVpbGQgOWMzYzc4ZSkKQ29weXJpZ2h0IDIwMTQgWWFob28hIEluYy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KTGljZW5zZWQgdW5kZXIgdGhlIEJTRCBMaWNlbnNlLgpodHRwOi8veXVpbGlicmFyeS5jb20vbGljZW5zZS8KKi8KCnR5cGVvZiBZVUkhPSJ1bmRlZmluZWQiJiYoWVVJLl9ZVUk9WVVJKTt2YXIgWVVJPWZ1bmN0aW9uKCl7dmFyIGU9MCx0PXRoaXMsbj1hcmd1bWVudHMscj1uLmxlbmd0aCxpPWZ1bmN0aW9uKGUsdCl7cmV0dXJuIGUmJmUuaGFzT3duUHJvcGVydHkmJmUgaW5zdGFuY2VvZiB0fSxzPXR5cGVvZiBZVUlfY29uZmlnIT0idW5kZWZpbmVkIiYmWVVJX2NvbmZpZztpKHQsWVVJKT8odC5faW5pdCgpLFlVSS5HbG9iYWxDb25maWcmJnQuYXBwbHlDb25maWcoWVVJLkdsb2JhbENvbmZpZykscyYmdC5hcHBseUNvbmZpZyhzKSxyfHx0Ll9zZXR1cCgpKTp0PW5ldyBZVUk7aWYocil7Zm9yKDtlPHI7ZSsrKXQuYXBwbHlDb25maWcobltlXSk7dC5fc2V0dXAoKX1yZXR1cm4gdC5pbnN0YW5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ix7cmVxdWlyZXM6WyJiYXNlIl19KTsKdmFyIFkgPSBZVUkoKS51c2UoJyonKTs=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
45d02e9ae0fd9b37fa62548d03ed427f6f01812f7b0baa41430c151d380fb4b8

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:36 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Content-Disposition
inline; filename="combo"
Connection
Keep-Alive
Content-Length
1892
Pragma
Last-Modified
Sat, 04 Apr 2020 03:10:19 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"d0f3531cfeaba14d4911b45f4c31240376b9c234"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
public, max-age=31104000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=497
Expires
Mon, 07 Jun 2021 08:22:36 GMT
yui_combo.php
elearning.uni-bayreuth.de/theme/
15 KB
5 KB
Script
General
Full URL
https://elearning.uni-bayreuth.de/theme/yui_combo.php?3.17.2/event-mousewheel/event-mousewheel-min.js&3.17.2/event-resize/event-resize-min.js&3.17.2/event-hover/event-hover-min.js&3.17.2/event-touch/event-touch-min.js&3.17.2/event-move/event-move-min.js&3.17.2/event-flick/event-flick-min.js&3.17.2/event-valuechange/event-valuechange-min.js&3.17.2/event-tap/event-tap-min.js
Requ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l8fG4uaXNOdWxsKGUpfHxuLmlzVW5kZWZpbmVkKGUpKSYmdGhpcy5maXJlKCJhZGQiLHtlbnRyeTp7cmVxdWVzdDplLHJlc3BvbnNlOnQsY2FjaGVkOm5ldyBEYXRlLGV4cGlyZXM6cihpKT9pOmk/bmV3IERhdGUoKG5ldyBEYXRlKS5nZXRUaW1lKCkrdGhpcy5nZXQoImV4cGlyZXMiKSk6bnVsbH19KX0sZmx1c2g6ZnVuY3Rpb24oZSl7dGhpcy5maXJlKCJmbHVzaCIse3JlcXVlc3Q6bi5pc1ZhbHVlKGUpP2U6bnVsbH0pfSxyZXRyaWV2ZTpmdW5jdGlvbihlKXt2YXIgdD10aGlzLl9lbnRyaWVzLHI9dC5sZW5ndGgsaT1udWxsLHM7aWYocj4wJiYodGhpcy5nZXQoIm1heCIpPT09bnVsbHx8dGhpcy5nZXQoIm1heCIpPjApKXt0aGlzLmZpcmUoInJlcXVlc3QiLHtyZXF1ZXN0OmV9KSxzPXRoaXMuX3Bvc2l0aW9uKGUpO2lmKG4uaXNWYWx1ZShzKSlyZXR1cm4gaT10W3NdLHRoaXMuZmlyZSgicmV0cmlldmUiLHtlbnRyeTppfSksczxyLTEmJih0LnNwbGljZShzLDEpLHRbdC5sZW5ndGhdPWkpLGl9cmV0dXJuIG51bGx9fSksZS5DYWNoZT1pfSwiMy4xNy4yIix7cmVxdWlyZXM6WyJiYXNlIl19KTsKdmFyIFkgPSBZVUkoKS51c2UoJyonKTs=
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
132.180.7.145 Bayreuth, Germany, ASN680 (DFN Verein zur Foerderung eines Deutschen Forschungsnetzes e.V., DE),
Reverse DNS
btrux145.rz.uni-bayreuth.de
Software
Apache/2.4.23 (Linux/SUSE) / PHP/7.0.7
Resource Hash
26d1a45d173703f01ca9bb8be4335bae6005c3bc0a5f78b380ad18fb152b8835

Request headers

Referer
http://elearning.uni-bayreuth.ersc.me/login_Xri03biaVu69qCoYB4Omp43ocX92lmUD7vPVZ0iDmZf27hAF3jXmjsQBNXOXLf4um5JFHNfChe8hdEFAKtzRdjeW/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Response headers

Date
Fri, 12 Jun 2020 08:22:36 GMT
Content-Encoding
gzip
X-Powered-By
PHP/7.0.7
Content-Disposition
inline; filename="combo"
Connection
Keep-Alive
Content-Length
4808
Pragma
Last-Modified
Sat, 04 Apr 2020 03:10:23 GMT
Server
Apache/2.4.23 (Linux/SUSE)
Etag
"b24ca831785ba367093f089618e840be511be85d"
Vary
Accept-Encoding
Content-Type
application/javascript
Cache-Control
public, max-age=31104000, immutable
Accept-Ranges
none
Keep-Alive
timeout=5, max=496
Expires
Mon, 07 Jun 2021 08:22:36 GMT

Verdicts & Comments Add Verdict or Comment

37 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| onformdata object| onpointerrawupdate object| M function| yui1ConfigFn function| yui2ConfigFn object| YUI_config function| $ function| jQuery function| YUI object| Y function| checkall function| checknone function| select_all_in_element_with_id function| select_all_in function| deselect_all_in function| confirm_if function| findParentNode function| unmaskPassword function| filterByParent function| fix_column_widths function| fix_column_width function| insertAtCursor function| increment_filename function| right_to_left function| openpopup function| close_window function| focuscontrol function| old_onload_focus function| build_querystring function| build_windowoptionsstring function| convert_object_to_string function| stripHTML function| updateProgressBar function| require function| requirejs function| define function| customise_dock_for_theme

1 Cookies

Domain/Path Name / Value
.ersc.me/ Name: __cfduid
Value: d4238cf03b8db550ccab10878135e6dee1591950153

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
Content-Security-Policy upgrade-insecure-requests;

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.

elearning.uni-bayreuth.de
elearning.uni-bayreuth.ersc.me
users.ugent.be
vnca.me
132.180.7.145
157.193.40.145
2606:4700:3030::681f:5a84
2606:4700:3035::681c:849
03c628e3f44b076e91d6d80d9f8ac57958599cf9f05679b6b3ee8e1bc61d85e4
13eaaadfa414f262b7964320054bb2b322b9ef9f3522bc25c9d60dc83b5141cf
1bb2279aed6bc1438d2b17a5ffcbac9d37864582aedeeec8d301eab162b2c213
26d1a45d173703f01ca9bb8be4335bae6005c3bc0a5f78b380ad18fb152b8835
2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe
33d219e772adce3a3ed245a20d01c90933a2722e53ea009e7275302a530266a3
449723b1d16bcd4fd32e34bcbd8f41a2ff7cfe84b939740a9417f71dd4f61479
45d02e9ae0fd9b37fa62548d03ed427f6f01812f7b0baa41430c151d380fb4b8
4b9f572393f50aa7fd63ba6ac5d3b39c1a4ee71e27766757a76821418c040650
4d8b560b0de451450b378976aadf95623e77714bfdcddf7a4602332d2c98d394
5fe03bfd95a2d4e640ed7d04dcb08ef991c327a5ab6f6fdb9eb06e1efc76af30
71e82cfc66dd6ab24bea7a8c09a4d7e710c4323ab354f1b3c8a43ce76cf2e343
7a8ae764c93823acfd4524ba77b426303c51fd8a4998d9d8485a35ee43717e96
97ef77d57a9644335c80e8e72116badbf520d4a2b93d2a08422c1c7fddf2cb8e
b2dd4606646500a413457bfd81ca019c4552ecbef998609bf85f7591c8377003
c45566034b186c84f921f3cb620dce0a55433a2f948f98550ec2d35f3854db34
cac10be6dad14d35e38b41c9c1238ced63676b3165529ae4f8aaa2b88577ed67
f8b3a1720533e607eac5a044a870caf745aa0768cb274e5598f3027ec25b26aa