Lukas126363 commited on
Commit
7f3418e
·
verified ·
1 Parent(s): b782bde

Datenschutz

Browse files

Nutzungsbedingungen
Kontakt
Hilfe
© 2025 Simple Cloud L ☁️. Alle Rechte vorbehalten.# take that away and Made with DeepSite that and Über uns and make one phyton code where eferifing is in

Files changed (3) hide show
  1. components/footer.js +1 -7
  2. components/navbar.js +1 -2
  3. verify.py +48 -0
components/footer.js CHANGED
@@ -35,13 +35,7 @@ class CustomFooter extends HTMLElement {
35
  </style>
36
  <footer>
37
  <div class="footer-content">
38
- <div class="footer-links">
39
- <a href="#">Datenschutz</a>
40
- <a href="#">Nutzungsbedingungen</a>
41
- <a href="#">Kontakt</a>
42
- <a href="#">Hilfe</a>
43
- </div>
44
- <p class="copyright">&copy; ${new Date().getFullYear()} Simple Cloud L ☁️. Alle Rechte vorbehalten.</p>
45
  </div>
46
  </footer>
47
  `;
 
35
  </style>
36
  <footer>
37
  <div class="footer-content">
38
+ <p class="copyright">Made with <a href="https://deepsite.io" target="_blank" rel="noopener" class="text-blue-300 hover:text-white">DeepSite</a></p>
 
 
 
 
 
 
39
  </div>
40
  </footer>
41
  `;
components/navbar.js CHANGED
@@ -52,8 +52,7 @@ class CustomNavbar extends HTMLElement {
52
  </div>
53
  <ul>
54
  <li><a href="/"><i data-feather="home"></i> Startseite</a></li>
55
- <li><a href="#"><i data-feather="info"></i> Über uns</a></li>
56
- <li><a href="#"><i data-feather="settings"></i> Einstellungen</a></li>
57
  <li><a href="#"><i data-feather="share-2"></i> Teilen</a></li>
58
  </ul>
59
  </nav>
 
52
  </div>
53
  <ul>
54
  <li><a href="/"><i data-feather="home"></i> Startseite</a></li>
55
+ <li><a href="#"><i data-feather="settings"></i> Einstellungen</a></li>
 
56
  <li><a href="#"><i data-feather="share-2"></i> Teilen</a></li>
57
  </ul>
58
  </nav>
verify.py ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```python
2
+ import hashlib
3
+ import os
4
+ from datetime import datetime
5
+
6
+ def verify_file_integrity(file_path):
7
+ """
8
+ Verify file integrity by calculating its hash and timestamp
9
+ Returns a dictionary with verification data
10
+ """
11
+ if not os.path.exists(file_path):
12
+ return {"error": "File not found"}
13
+
14
+ try:
15
+ # Calculate SHA-256 hash
16
+ sha256_hash = hashlib.sha256()
17
+ with open(file_path, "rb") as f:
18
+ for byte_block in iter(lambda: f.read(4096), b""):
19
+ sha256_hash.update(byte_block)
20
+
21
+ # Get file metadata
22
+ stat = os.stat(file_path)
23
+ modified_time = datetime.fromtimestamp(stat.st_mtime).isoformat()
24
+ created_time = datetime.fromtimestamp(stat.st_ctime).isoformat()
25
+ size = stat.st_size
26
+
27
+ return {
28
+ "file": file_path,
29
+ "sha256": sha256_hash.hexdigest(),
30
+ "size_bytes": size,
31
+ "created": created_time,
32
+ "modified": modified_time,
33
+ "verified": True
34
+ }
35
+ except Exception as e:
36
+ return {"error": str(e), "verified": False}
37
+
38
+ if __name__ == "__main__":
39
+ import sys
40
+ if len(sys.argv) != 2:
41
+ print("Usage: python verify.py <file_path>")
42
+ sys.exit(1)
43
+
44
+ result = verify_file_integrity(sys.argv[1])
45
+ print("Verification Result:")
46
+ for key, value in result.items():
47
+ print(f"{key}: {value}")
48
+ ```