From b371ddc726473cf965ab3cf39e657153ce210f74 Mon Sep 17 00:00:00 2001 From: hellisabove <59116609+hellisabove@users.noreply.github.com> Date: Tue, 15 Feb 2022 20:20:13 +0200 Subject: [PATCH] Initial Commit --- LICENSE | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 5 +++++ main.py | 23 +++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 main.py diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fdde479 --- /dev/null +++ b/LICENSE @@ -0,0 +1,62 @@ +Author's Integrity License v 0.4 +Copyright 2021 - Halphix + +1. License + PassGen is made available free of charge to any + Individual for personal use provided Limitations (Section 2) are observed. + + The Author hereby grants a license to any Creative to freely use, sample, remix, + or redistribute the Work provided Limitations (Section 2) are observed. + +2. Limitations + 2.1 Redistribution Integrity + 2.1.1 Redistribution of the Work is permitted, except in the following instances: + • Linking to, embedding, re-uploading, or otherwise sharing the Work using thumbnails, headlines, + or body copy which mislead or Misrepresent the Work of the Author OR + • No omission of any part of the original Work has occurred. (See Section 2.2) + 2.2 Derivative Works + 2.2.1 The Creative may sample portions of the Original Content except when Derivative works: + • Intentionally Misrepresent the Original Content OR + • Include Sponsored or Paid Content (in part or in full) + 2.3 Expressly Prohibited Usage + 2.3.1 The use of the Work for the purpose of training neural networks, artificial + intelligence, computer learning algorithms, or voice recognition software (collectively, GANs) is + expressly forbidden. + • Voice recognition software for the purpose of creating text transcripts + of the Work is allowed if: + ◦ The terms of Derivative Works (Section 2.2) are met AND + ◦ Training data are NOT stored AND + ◦ The Author has NOT marked the Work as unavailable for text transcription + either in the Work's metadata or within the Work itself + 2.3.2 The use of the Work in the production of so-called Deepfakes. This includes but is + not limited to: + • Synthesizing the likeness of the Author (or any persons included in this Work) including + visual, audio, or other mediums OR + • Synthesizing the writing style, speech patterns, or other attributes of the Work + 2.3.3 The inclusion of this section is not intended to be an exhaustive list of + prohibited uses. +3. Intent + + The purpose of this license is to preserve the integrity of the Author’s message, their + intent, and the context of the Author’s protected Work. + + This license SHOULD NOT be interpreted as a means of shielding the Author or the Work + from criticism, parody, satire, or other protected speech. + + The abuse thereof would constitute an UNAUTHORIZED REMIX of these terms (this document + is recursively licensed) and would result in a nullification of Author’s right to apply + these terms to their own Work. + + (See Section 2.2 Derivative Works) + +4. Licensing + The terms of this license apply to ALL Derivatives of this Work. Any Creative who makes a + Derivative Work using the Original Content—or who Redistributes the Work—agrees to be + bound by the terms laid out in this license. + + Failure to comply with these terms will result in the non-compliant Creative having their + license to use the Work rescinded, past and future licenses from the same non-compliant + Author nullified (at the original Author’s discretion), and possible legal action taken on + behalf of the original Author. + + Supplemental information can be found at github.com/heavyelement/ail diff --git a/README.md b/README.md new file mode 100644 index 0000000..09b386d --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# PassGen + +A simple password generator in python made for fun. + +Currently working on a gui for it. diff --git a/main.py b/main.py new file mode 100644 index 0000000..780bfaf --- /dev/null +++ b/main.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 +import smtplib +import ssl + +def mail_shit(): + port = 587 # For starttls + smtp_server = "smtp.server" # Here you put your email provider smtp server + sender_email = "yout@email.com" # Here you put your email address + receiver_email = "your@gmail.com" # Here you put the receiver's email address + password = input("Type your password and press enter:") + # Here you put your message along with a Subject and rest of message + message = """\ + Subject: + + """ + + context = ssl.create_default_context() + with smtplib.SMTP(smtp_server, port) as server: + server.ehlo() # Can be omitted + server.starttls(context=context) + server.ehlo() # Can be omitted + server.login(sender_email, password) + server.sendmail(sender_email, receiver_email, message)