Change Import and UPDATE from AD User

main
Sebastian Serfling 2023-07-27 13:23:57 +02:00
parent 0c65fdea82
commit 9fbc518520
8 changed files with 97 additions and 98 deletions

View File

@ -331,26 +331,6 @@
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\ast.py',
'PYMODULE'),
('tracemalloc',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\tracemalloc.py',
'PYMODULE'),
('stringprep',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\stringprep.py',
'PYMODULE'),
('subprocess',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\subprocess.py',
'PYMODULE'),
('selectors',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\selectors.py',
'PYMODULE'),
('signal',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\signal.py',
'PYMODULE'),
('_py_abc',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\_py_abc.py',
@ -395,6 +375,26 @@
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\http\\client.py',
'PYMODULE'),
('subprocess',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\subprocess.py',
'PYMODULE'),
('selectors',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\selectors.py',
'PYMODULE'),
('signal',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\signal.py',
'PYMODULE'),
('tracemalloc',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\tracemalloc.py',
'PYMODULE'),
('stringprep',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\lib\\stringprep.py',
'PYMODULE'),
('mysql_connect',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\mysql_connect.py',
@ -1439,14 +1439,14 @@
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\unicodedata.pyd',
'EXTENSION'),
('select.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\select.pyd',
'EXTENSION'),
('_ssl.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\_ssl.pyd',
'EXTENSION'),
('select.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\select.pyd',
'EXTENSION'),
('_queue.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\_queue.pyd',
@ -1525,21 +1525,37 @@
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\build\\main\\base_library.zip',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE.APACHE',
('cryptography-41.0.2.dist-info\\INSTALLER',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\INSTALLER',
'DATA'),
('cryptography-41.0.2.dist-info\\WHEEL',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\WHEEL',
'DATA'),
('cryptography-41.0.2.dist-info\\top_level.txt',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\top_level.txt',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE',
'DATA'),
('cryptography-41.0.2.dist-info\\METADATA',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\METADATA',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE',
('cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE',
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'DATA'),
('nacl\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\nacl\\py.typed',
'DATA'),
('certifi\\cacert.pem',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\cacert.pem',
'DATA'),
('cryptography-41.0.2.dist-info\\RECORD',
'c:\\users\\sebastian '
@ -1549,24 +1565,8 @@
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.BSD',
'DATA'),
('cryptography-41.0.2.dist-info\\WHEEL',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\WHEEL',
'DATA'),
('certifi\\cacert.pem',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\cacert.pem',
'DATA'),
('certifi\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\py.typed',
'DATA'),
('nacl\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\nacl\\py.typed',
'DATA'),
('cryptography-41.0.2.dist-info\\INSTALLER',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\INSTALLER',
'DATA')],
[])

View File

@ -87,14 +87,14 @@
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\unicodedata.pyd',
'EXTENSION'),
('select.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\select.pyd',
'EXTENSION'),
('_ssl.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\_ssl.pyd',
'EXTENSION'),
('select.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\select.pyd',
'EXTENSION'),
('_queue.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\_queue.pyd',
@ -171,21 +171,37 @@
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\build\\main\\base_library.zip',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE.APACHE',
('cryptography-41.0.2.dist-info\\INSTALLER',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\INSTALLER',
'DATA'),
('cryptography-41.0.2.dist-info\\WHEEL',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\WHEEL',
'DATA'),
('cryptography-41.0.2.dist-info\\top_level.txt',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\top_level.txt',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE',
'DATA'),
('cryptography-41.0.2.dist-info\\METADATA',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\METADATA',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE',
('cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE',
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'DATA'),
('nacl\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\nacl\\py.typed',
'DATA'),
('certifi\\cacert.pem',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\cacert.pem',
'DATA'),
('cryptography-41.0.2.dist-info\\RECORD',
'c:\\users\\sebastian '
@ -195,30 +211,14 @@
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.BSD',
'DATA'),
('cryptography-41.0.2.dist-info\\WHEEL',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\WHEEL',
'DATA'),
('certifi\\cacert.pem',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\cacert.pem',
'DATA'),
('certifi\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\py.typed',
'DATA'),
('nacl\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\nacl\\py.typed',
'DATA'),
('cryptography-41.0.2.dist-info\\INSTALLER',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\INSTALLER',
'DATA')],
[],
False,
False,
1690455827,
1690457003,
[('run.exe',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',

View File

@ -79,14 +79,14 @@
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\unicodedata.pyd',
'EXTENSION'),
('select.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\select.pyd',
'EXTENSION'),
('_ssl.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\_ssl.pyd',
'EXTENSION'),
('select.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\select.pyd',
'EXTENSION'),
('_queue.pyd',
'C:\\Users\\Sebastian '
'Serfling\\AppData\\Local\\Programs\\Python\\Python39\\DLLs\\_queue.pyd',
@ -163,21 +163,37 @@
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\build\\main\\base_library.zip',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE.APACHE',
('cryptography-41.0.2.dist-info\\INSTALLER',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\INSTALLER',
'DATA'),
('cryptography-41.0.2.dist-info\\WHEEL',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\WHEEL',
'DATA'),
('cryptography-41.0.2.dist-info\\top_level.txt',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\top_level.txt',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE',
'DATA'),
('cryptography-41.0.2.dist-info\\METADATA',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\METADATA',
'DATA'),
('cryptography-41.0.2.dist-info\\LICENSE',
('cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE',
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.APACHE',
'DATA'),
('nacl\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\nacl\\py.typed',
'DATA'),
('certifi\\cacert.pem',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\cacert.pem',
'DATA'),
('cryptography-41.0.2.dist-info\\RECORD',
'c:\\users\\sebastian '
@ -187,25 +203,9 @@
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\LICENSE.BSD',
'DATA'),
('cryptography-41.0.2.dist-info\\WHEEL',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\WHEEL',
'DATA'),
('certifi\\cacert.pem',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\cacert.pem',
'DATA'),
('certifi\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\certifi\\py.typed',
'DATA'),
('nacl\\py.typed',
'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\nacl\\py.typed',
'DATA'),
('cryptography-41.0.2.dist-info\\INSTALLER',
'c:\\users\\sebastian '
'serfling\\pycharmprojects\\server-info\\venv\\lib\\site-packages\\cryptography-41.0.2.dist-info\\INSTALLER',
'DATA')],
False,
False,

Binary file not shown.

Binary file not shown.

View File

@ -16,16 +16,16 @@ IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
missing module named org - imported by pickle (optional)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional)
missing module named posix - imported by os (conditional, optional), shutil (conditional), importlib._bootstrap_external (conditional)
missing module named posix - imported by shutil (conditional), importlib._bootstrap_external (conditional), os (conditional, optional)
missing module named resource - imported by posix (top-level)
missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed, optional), subprocess (optional)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), pathlib (delayed, conditional, optional), subprocess (optional), netrc (delayed, conditional), getpass (delayed)
missing module named pwd - imported by shutil (optional), tarfile (optional), posixpath (delayed, conditional), pathlib (delayed, conditional, optional), subprocess (optional), netrc (delayed, conditional), getpass (delayed)
missing module named pep517 - imported by importlib.metadata (delayed)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional)
missing module named _posixsubprocess - imported by subprocess (optional)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named termios - imported by getpass (optional)
missing module named _posixsubprocess - imported by subprocess (optional)
missing module named SocketServer - imported by sshtunnel (conditional)
missing module named Queue - imported by mysql.connector.pooling (optional), sshtunnel (conditional)
missing module named invoke - imported by paramiko.config (optional)

BIN
dist/main.exe vendored

Binary file not shown.

View File

@ -77,8 +77,7 @@ def gucamole(ip,servername):
# query = "SELECT * FROM `Stines-GmbH`.`Kunden-Server` WHERE `IP-Adresse` = ""'{}'""".format(get_local_ip())
query = "SELECT * FROM `Stines-GmbH`.`Kunden-Server` WHERE `IP-Adresse` = ""'{}'""".format("172.19.1.3")
query = "SELECT * FROM `Stines-GmbH`.`Kunden-Server` WHERE `IP-Adresse` = ""'{}'""".format(get_local_ip())
name = "Stines-GmbH"
list = mysql_connect.get_ip(query,name)