Skip to content

Commit 960cc89

Browse files
committed
v1.0
1 parent c32f9fc commit 960cc89

5 files changed

Lines changed: 26 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<h2>👨‍💻 Credits:</h2>
7676

7777
<ul>
78-
<li>Developed by: <b>loxy0dev</b></li>
78+
<li>Developed by: <b>loxy0devlp</b></li>
7979
<li>GitHub: <a href="https://github.com/loxy0devlp">github.com/loxy0devlp</a></li>
8080
<li>GunsLol: <a href="https://guns.lol/loxy0dev">guns.lol/loxy0dev</a></li>
8181
<li>License: <b>MIT License</b></li>

Structure/Css.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* Copyright (c) Local Encrypted Transfer by Loxy0devlp
2+
* Licensed under the MIT License.
3+
* See LICENSE file in the project root for full license text.
4+
*/
5+
16
body {
27
font-family: 'Segoe UI', sans-serif;
38
background: #141414;

Structure/Html.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
Copyright (c) Local Encrypted Transfer by Loxy0devlp
3+
Licensed under the MIT License.
4+
See LICENSE file in the project root for full license text.
5+
-->
6+
17
<!DOCTYPE html>
28
<html lang="en">
39
<head>

Structure/Javascript.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* Copyright (c) Local Encrypted Transfer by Loxy0devlp
2+
* Licensed under the MIT License.
3+
* See LICENSE file in the project root for full license text.
4+
*/
5+
16
const encoder = new TextEncoder();
27
const decoder = new TextDecoder();
38

local_encrypted_transfer.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
# Copyright (c) Local Encrypted Transfer by Loxy0dev
1+
# Copyright (c) Local Encrypted Transfer by Loxy0devlp
2+
# Licensed under the MIT License.
3+
# See LICENSE file in the project root for full license text.
24

35
from flask import Flask, request, render_template_string, send_from_directory, send_file
46
import os, socket, colorama, sys, ctypes, json
57

68
credits = {
79
"tool_name" : "Local Encrypted Transfer",
810
"tool_version" : "1.0",
9-
"developer" : "loxy0dev",
10-
"github" : "github.com/loxy0devlp/Local-Encrypted-Transfer",
11+
"tool_license" : "MIT License",
12+
"tool_github" : "github.com/loxy0devlp/Local-Encrypted-Transfer",
13+
"developer" : "loxy0devlp",
1114
"gunslol" : "guns.lol/loxy0dev"
1215
}
1316

17+
colorama.init()
1418
color = colorama.Fore
1519
white = color.WHITE
1620
reset = color.RESET
@@ -33,7 +37,7 @@
3337
| |__( <_> ) \___ / __ \| |__ | | | | \// __ \| | \\___ \ | | \ ___/| | \/
3438
|________\____/ \_____>______/____/ |____| |__| (______/___|__/______> |__| \_____>__|
3539
36-
{white + credits['github']}
40+
{white + credits["tool_github"]}
3741
"""
3842

3943
path_tool = os.path.dirname(os.path.abspath(__file__))
@@ -49,7 +53,7 @@
4953
with open(path_file_config, "r", encoding="utf-8") as file: data_config = json.load(file)
5054
with open(path_file_css, "r", encoding="utf-8") as file: content_css = file.read()
5155
with open(path_file_javascript, "r", encoding="utf-8") as file: content_javascript = file.read()
52-
with open(path_file_html, "r", encoding="utf-8") as file: content_html = file.read().replace("/*%CSS%*/", content_css).replace("/*%JAVASCRIPT%*/", content_javascript).replace("/*%TITLE1%*/", f"{credits["tool_name"]} v{credits["tool_version"]} (by {credits["developer"]})").replace("/*%TITLE2%*/", credits["tool_name"]).replace(r"/*%GITHUB%*/", credits["github"]).replace(r"/*%DEVELOPER%*/", credits["developer"])
56+
with open(path_file_html, "r", encoding="utf-8") as file: content_html = file.read().replace("/*%CSS%*/", content_css).replace("/*%JAVASCRIPT%*/", content_javascript).replace("/*%TITLE1%*/", f"{credits["tool_name"]} v{credits["tool_version"]} (by {credits["developer"]})").replace("/*%TITLE2%*/", credits["tool_name"]).replace(r"/*%GITHUB%*/", credits["tool_github"]).replace(r"/*%DEVELOPER%*/", credits["developer"])
5357

5458
HOST = data_config["host"]
5559
PORT = data_config["port"]
@@ -85,7 +89,6 @@ def SaveFilesJson(data):
8589
with open(path_file_logs, "w", encoding="utf-8") as file: json.dump(data, file, indent=2)
8690

8791
def Start():
88-
colorama.init()
8992
Title()
9093
CreateFolderAndFile()
9194
app = Flask(__name__)

0 commit comments

Comments
 (0)