Skip to content

Update hostagram.py 1.2.1#3

Open
banaxou wants to merge 1 commit intomainfrom
hostagram-1.2.1
Open

Update hostagram.py 1.2.1#3
banaxou wants to merge 1 commit intomainfrom
hostagram-1.2.1

Conversation

@banaxou
Copy link
Owner

@banaxou banaxou commented Jul 11, 2025

b64 session id

@banaxou
Copy link
Owner Author

banaxou commented Jul 11, 2025

# 1.2.1
# hostagram code by ovax 
if os.path.exists(session_file): # pour masqué la session id | to hide the session id
   with open(session_file, "r") as f:
   encoded_data = f.read().strip()
   decoded_bytes = base64.b64decode(encoded_data)
   session_id = decoded_bytes.decode("utf-8")

# mais j'pense que je devrais ajouté un systeme de chiffrement de fichier.key est non .txt avec b64
# But I think I should add a file encryption system using a .key file instead of a .txt with b64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant