Compare commits
No commits in common. "main" and "master" have entirely different histories.
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/Controller/output.csv" charset="windows-1252" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,7 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.9 (server-info) (2)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (server-info) (2)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SourceSyncRemoteConfigurationsService"><![CDATA[{
|
||||
"connections": [
|
||||
{
|
||||
"type": "ssh_configuration",
|
||||
"name": "API-Server",
|
||||
"hostname": "172.17.1.239",
|
||||
"username": "root",
|
||||
"remote_workspace_path": "/root",
|
||||
"preserve_timestamps": true
|
||||
}
|
||||
],
|
||||
"mainConnection": "API-Server"
|
||||
}]]></component>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,49 +1,25 @@
|
|||
import subprocess
|
||||
import csv
|
||||
from datetime import datetime
|
||||
import requests
|
||||
from Controller import create_service
|
||||
import socket
|
||||
import random
|
||||
import time
|
||||
from Controller import mysql_connect
|
||||
|
||||
|
||||
####
|
||||
####
|
||||
#### --- RUN AS SINGEL SERVICE --- ####
|
||||
####
|
||||
####
|
||||
|
||||
def request_post(function,variable):
|
||||
url = (f"http://api.stines.de:8001/{function}")
|
||||
response = requests.post(url,json = variable,headers={'access_token':'^YWUbG7yX*V!tV^KBSd*2c&vdN3wV9a2i7f3hfGFMBYFxi6#mMiJGiaA5KEHE%B*miK%qb7rQ67gmcYP@gqmux8'})
|
||||
return response
|
||||
|
||||
def request_get(function,variable):
|
||||
url = (f"http://api.stines.de:8001/{function}")
|
||||
response = requests.get(url,headers={'access_token':'^YWUbG7yX*V!tV^KBSd*2c&vdN3wV9a2i7f3hfGFMBYFxi6#mMiJGiaA5KEHE%B*miK%qb7rQ67gmcYP@gqmux8'})
|
||||
return response
|
||||
|
||||
create_service.addservice("REPORTS-AD")
|
||||
|
||||
def adcontroller (ip,name):
|
||||
command = ["powershell", "-Command",
|
||||
" Get-ADUser -Filter * -Properties * | Select-Object *, extensionAttribute1, extensionAttribute2 | Export-Csv -NoTypeInformation -Encoding UTF8 -Path 'users.csv'"]
|
||||
"Get-ADUser -Filter * -Properties * | Export-Csv -NoTypeInformation -Encoding UTF8 -Path 'users.csv'"]
|
||||
subprocess.run(command)
|
||||
# CSV-Datei einlesen und Feldnamen auslesen
|
||||
with open("users.csv", "r", encoding='utf-8-sig') as file:
|
||||
reader = csv.DictReader(file)
|
||||
fieldnames = reader.fieldnames
|
||||
#
|
||||
# unwanted_columns = ["PropertyNames", "AddedProperties","RemovedProperties","ModifiedProperties","PropertyCount"]
|
||||
# fieldnames = [col for col in fieldnames if col not in unwanted_columns]
|
||||
|
||||
# Tabelle erstellen, falls sie noch nicht existiert
|
||||
table_name = "Active-Directory-User"
|
||||
create_table_query = f"CREATE TABLE IF NOT EXISTS `{table_name}` (id INT AUTO_INCREMENT PRIMARY KEY, importdate BIGINT(11), "
|
||||
for field in fieldnames:
|
||||
create_table_query += f"`{field}` TEXT, "
|
||||
create_table_query = create_table_query.rstrip(", ") + ")"
|
||||
request_post("dbset", {"query": create_table_query, 'dbname': name})
|
||||
mysql_connect.create_database(create_table_query, name)
|
||||
|
||||
# Daten aus der CSV-Datei in die Tabelle einfügen
|
||||
with open("users.csv", "r", encoding='utf-8-sig') as file:
|
||||
|
|
@ -52,11 +28,12 @@ def adcontroller (ip,name):
|
|||
for row in reader:
|
||||
row = [cell if cell.strip() else "-" for cell in row]
|
||||
unix_time = int(datetime.now().timestamp())
|
||||
print(unix_time)
|
||||
row = [unix_time] + row
|
||||
insert_query = f"INSERT INTO `{table_name}` (importdate, `{'`, `'.join(fieldnames)}`) VALUES (%s, {', '.join(['%s'] * len(fieldnames))})"
|
||||
# print(insert_query)
|
||||
request_post("ad/adduser", {"query": insert_query, 'dbname': name, 'entry': row})
|
||||
# mysql_connect.add_user(insert_query, name, row)
|
||||
mysql_connect.add_user(insert_query, name, row)
|
||||
|
||||
# Datenbankverbindung schließen
|
||||
|
||||
command = ["powershell", "-Command",
|
||||
"Get-ADGroupMember -Identity G-RDP-User | Export-Csv -NoTypeInformation -Encoding UTF8 -Path 'group.csv'"]
|
||||
|
|
@ -71,7 +48,7 @@ def adcontroller (ip,name):
|
|||
for field in fieldnames:
|
||||
create_table_query += f"`{field}` TEXT, "
|
||||
create_table_query = create_table_query.rstrip(", ") + ")"
|
||||
request_post("dbset", {"query": create_table_query, 'dbname': name})
|
||||
mysql_connect.create_database(create_table_query, name)
|
||||
|
||||
# Daten aus der CSV-Datei in die Tabelle aktualisieren oder einfügen
|
||||
with open("group.csv", "r", encoding='utf-8-sig') as file:
|
||||
|
|
@ -80,12 +57,11 @@ def adcontroller (ip,name):
|
|||
sam_account_name = row["SamAccountName"]
|
||||
|
||||
# Abfrage, um die ID für den Benutzernamen zu erhalten
|
||||
query_id = f"SELECT id FROM `{table_name}` WHERE SamAccountName = '{sam_account_name}'"
|
||||
query_id = f"SELECT id FROM `{table_name}` WHERE SamAccountName = %s"
|
||||
result = mysql_connect.get_user(query_id, name, (sam_account_name,))
|
||||
|
||||
result = request_post("ad/getuserid", {"query": query_id, 'dbname': name}).text
|
||||
|
||||
if result != "false":
|
||||
user_id = result
|
||||
if result:
|
||||
user_id = result[0]
|
||||
print(user_id)
|
||||
update_query = f"UPDATE `{table_name}` SET "
|
||||
for field in fieldnames:
|
||||
|
|
@ -94,13 +70,14 @@ def adcontroller (ip,name):
|
|||
update_query = update_query.rstrip(", ")
|
||||
update_query += ", `importdate` = %s" # Importdate als Unix-Timestamp aktualisieren
|
||||
update_query += " WHERE id = %s"
|
||||
|
||||
row_data = [row[field] for field in fieldnames if field != "SamAccountName"]
|
||||
unix_time = int(datetime.now().timestamp())
|
||||
row_data = row_data + [unix_time]
|
||||
row_data.append(user_id)
|
||||
print(request_post("ad/adduser",{"query": update_query, "dbname":name, "entry":row_data}).text)
|
||||
print(row_data)
|
||||
mysql_connect.add_user(update_query, name, row_data)
|
||||
else:
|
||||
print("false in side else")
|
||||
insert_query = f"INSERT INTO `{table_name}` ("
|
||||
insert_query += ", ".join(fieldnames) # Spaltennamen in die INSERT-Abfrage einbeziehen
|
||||
insert_query += ", `importdate`) VALUES ("
|
||||
|
|
@ -110,38 +87,5 @@ def adcontroller (ip,name):
|
|||
unix_time = int(datetime.now().timestamp())
|
||||
row_data = row_data + [unix_time]
|
||||
print(row_data)
|
||||
request_post("ad/adduser",{"query": insert_query, "dbname":name, "entry":row_data})
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
return None
|
||||
|
||||
service_time = f"23:{str(random.randint(1, 59)).zfill(2)}" ## ADD Random Time
|
||||
|
||||
while True:
|
||||
current_time = datetime.now().strftime("%H:%M")
|
||||
try:
|
||||
with open ("log.txt","a") as datei:
|
||||
datei.writelines(request_get("gettime",{}).text + "\n")
|
||||
except Exception as e:
|
||||
with open ("log.txt","a") as datei:
|
||||
datei.writelines(f"{current_time}No Connection to Server!" + "\n")
|
||||
if current_time == service_time:
|
||||
ip = get_local_ip()
|
||||
database = request_post("info/getdatabase",{"ip":ip}).text.replace('"',"")
|
||||
adcontroller(ip,database)
|
||||
with open ("log.txt","a") as datei:
|
||||
datei.writelines(f"{current_time} - Sleep for {22*3600}" + "\n")
|
||||
time.sleep(22*3600)
|
||||
time.sleep(60)
|
||||
|
||||
ip = get_local_ip()
|
||||
database = request_post("info/getdatabase",{"ip":ip}).text.replace('"',"")
|
||||
adcontroller(ip,database)
|
||||
mysql_connect.add_user(insert_query, name, row_data)
|
||||
# connection.commit()
|
||||
|
|
|
|||
|
|
@ -1,44 +0,0 @@
|
|||
import mysql.connector.locales.eng
|
||||
import mysql.connector
|
||||
import os
|
||||
import time
|
||||
os.environ['TZ'] = 'Europe/Berlin'
|
||||
time.tzset()
|
||||
|
||||
def database(query,name,user):
|
||||
# server.start()
|
||||
|
||||
mydb = mysql.connector.connect(
|
||||
host="172.17.1.21",
|
||||
port=3306,
|
||||
user="root",
|
||||
password="N53yBCswuawzBzS445VNAhWVMs3N59Gb9szEsrzXRBzarDqpdETpQeyt5v5CGe",
|
||||
database="" + name,
|
||||
auth_plugin='mysql_native_password',
|
||||
)
|
||||
mydb.connect()
|
||||
cursor = mydb.cursor()
|
||||
if "SELECT" in query:
|
||||
if user:
|
||||
cursor.execute(query, user)
|
||||
return cursor.fetchone()
|
||||
else:
|
||||
cursor.execute(query, user)
|
||||
return cursor.fetchall()
|
||||
if "SHOW" in query:
|
||||
cursor.execute(query)
|
||||
return cursor.fetchall()
|
||||
if "INSERT" in query:
|
||||
cursor.execute(query,user)
|
||||
mydb.commit()
|
||||
if "UPDATE" in query:
|
||||
cursor.execute(query,user)
|
||||
mydb.commit()
|
||||
mydb.close()
|
||||
|
||||
# mysql_connect.database("SELECT * from `Ping-Server` WHERE NAME='TNPTS01' ORDER BY time DESC LIMIT 1;")
|
||||
server = database("SELECT DISTINCT NAME FROM `Ping-Server`","Stines-GmbH","")
|
||||
for i in server:
|
||||
print(i[0])
|
||||
time = database(f"SELECT * from `Ping-Server` WHERE NAME='{i[0]}' ORDER BY time DESC LIMIT 1;","Stines-GmbH","")
|
||||
print(time[0][0])
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
import os
|
||||
import shutil
|
||||
import requests
|
||||
import zipfile
|
||||
import time
|
||||
|
||||
def addservice(service):
|
||||
path = f"C:\Scripte\{service}"
|
||||
if not os.path.isfile(f"{path}\.{service}"):
|
||||
main_folder = f"{path}"
|
||||
try:
|
||||
os.mkdir("C:\Scripte")
|
||||
os.mkdir(main_folder)
|
||||
except:
|
||||
print("Folder exist")
|
||||
shutil.copy(f"{service}.exe",main_folder)
|
||||
response = requests.get("https://nssm.cc/release/nssm-2.24.zip", stream=True)
|
||||
with open('C:\Scripte\\nssm.zip', 'wb') as file:
|
||||
for chunk in response.iter_content(chunk_size=8192):
|
||||
file.write(chunk)
|
||||
|
||||
# Entpacken der ZIP-Datei
|
||||
with zipfile.ZipFile('C:\Scripte\\nssm.zip', 'r') as zip_ref:
|
||||
zip_ref.extractall('C:\Scripte\\nssm')
|
||||
|
||||
shutil.move("C:\Scripte\\nssm\\nssm-2.24\win64\\nssm.exe",f"{main_folder}\\Windows_Dienst_Builder.exe")
|
||||
os.system(f"{main_folder}\\Windows_Dienst_Builder.exe install STI-{service} {main_folder}\\{service}.exe")
|
||||
open(f"{main_folder}\.{service}", 'a').close()
|
||||
time.sleep(2)
|
||||
print("Remove not Used Files")
|
||||
shutil.rmtree('C:\Scripte\\nssm')
|
||||
os.remove('C:\Scripte\\nssm.zip')
|
||||
|
|
@ -1,27 +1,12 @@
|
|||
import subprocess
|
||||
import csv
|
||||
from datetime import datetime
|
||||
from Controller import create_service
|
||||
import requests
|
||||
import socket
|
||||
import time
|
||||
import random
|
||||
from Controller import mysql_connect
|
||||
|
||||
# create_service.addservice("REPORTS-EX")
|
||||
|
||||
def request_post(function,variable):
|
||||
url = (f"http://api.stines.de:8001/{function}")
|
||||
response = requests.post(url,json = variable,headers={'access_token':'^YWUbG7yX*V!tV^KBSd*2c&vdN3wV9a2i7f3hfGFMBYFxi6#mMiJGiaA5KEHE%B*miK%qb7rQ67gmcYP@gqmux8'})
|
||||
return response
|
||||
def exchange (ip,name):
|
||||
|
||||
def request_get(function,variable):
|
||||
url = (f"http://api.stines.de:8001/{function}")
|
||||
response = requests.get(url,headers={'access_token':'^YWUbG7yX*V!tV^KBSd*2c&vdN3wV9a2i7f3hfGFMBYFxi6#mMiJGiaA5KEHE%B*miK%qb7rQ67gmcYP@gqmux8'})
|
||||
return response
|
||||
|
||||
def exchange(ip,name):
|
||||
|
||||
exchange_commands = "Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn; Get-Mailbox | Select-Object PSComputerName, RunspaceId, PSShowComputerName, Database, UseDatabaseRetentionDefaults, RetainDeletedItemsUntilBackup, IsHierarchyReady, IsHierarchySyncEnabled,RetentionPolicy, ExchangeGuid, AdminDisplayVersion, ExchangeUserAccountControl, IsMailboxEnabled,ProhibitSendQuota, ProhibitSendReceiveQuota, RecoverableItemsQuota, RecoverableItemsWarningQuota,CalendarLoggingQuota, IsResource, IsLinked, IsShared, IsRootPublicFolderMailbox, LinkedMasterAccount, ResetPasswordOnNextLogon,ResourceType, RoomMailboxAccountEnabled, SamAccountName, ServerLegacyDN, UseDatabaseQuotaDefaults,IssueWarningQuota, RulesQuota, UserPrincipalName, RoleAssignmentPolicy, EffectivePublicFolderMailbox, SharingPolicy,ArchiveQuota, ArchiveWarningQuota, DisabledMailboxLocations, CalendarVersionStoreDisabled, AuditEnabled,AuditLogAgeLimit, WhenMailboxCreated, AccountDisabled, Alias, OrganizationalUnit, DisplayName,LegacyExchangeDN, MaxSendSize, MaxReceiveSize, EmailAddressPolicyEnabled, PrimarySmtpAddress,RecipientType, RecipientTypeDetails, WindowsEmailAddress, Identity, IsValid, ExchangeVersion,DistinguishedName, Guid, ObjectCategory, WhenChanged, WhenCreated, WhenChangedUTC, WhenCreatedUTC,OrganizationId, Id, OriginatingServer,CustomAttribute2 | Export-Csv -Path 'exuser.csv' -NoTypeInformation -Encoding UTF8"
|
||||
exchange_commands = "Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn; Get-Mailbox | Select-Object PSComputerName, RunspaceId, PSShowComputerName, Database, UseDatabaseRetentionDefaults, RetainDeletedItemsUntilBackup, IsHierarchyReady, IsHierarchySyncEnabled,RetentionPolicy, ExchangeGuid, AdminDisplayVersion, ExchangeUserAccountControl, IsMailboxEnabled,ProhibitSendQuota, ProhibitSendReceiveQuota, RecoverableItemsQuota, RecoverableItemsWarningQuota,CalendarLoggingQuota, IsResource, IsLinked, IsShared, IsRootPublicFolderMailbox, LinkedMasterAccount, ResetPasswordOnNextLogon,ResourceType, RoomMailboxAccountEnabled, SamAccountName, ServerLegacyDN, UseDatabaseQuotaDefaults,IssueWarningQuota, RulesQuota, UserPrincipalName, RoleAssignmentPolicy, EffectivePublicFolderMailbox, SharingPolicy,ArchiveQuota, ArchiveWarningQuota, DisabledMailboxLocations, CalendarVersionStoreDisabled, AuditEnabled,AuditLogAgeLimit, WhenMailboxCreated, AccountDisabled, Alias, OrganizationalUnit, DisplayName,LegacyExchangeDN, MaxSendSize, MaxReceiveSize, EmailAddressPolicyEnabled, PrimarySmtpAddress,RecipientType, RecipientTypeDetails, WindowsEmailAddress, Identity, IsValid, ExchangeVersion,DistinguishedName, Guid, ObjectCategory, WhenChanged, WhenCreated, WhenChangedUTC, WhenCreatedUTC,OrganizationId, Id, OriginatingServer | Export-Csv -Path 'exuser.csv' -NoTypeInformation -Encoding UTF8"
|
||||
|
||||
# PowerShell als Subprozess ausführen
|
||||
process = subprocess.Popen(["powershell", "-Command", exchange_commands], stdout=subprocess.PIPE, shell=True)
|
||||
|
|
@ -44,7 +29,9 @@ def exchange(ip,name):
|
|||
create_table_query = create_table_query.rstrip(", ") + ")"
|
||||
create_table_query += " ROW_FORMAT=DYNAMIC"
|
||||
row_length = len(create_table_query)
|
||||
request_post("dbset",{"query":create_table_query, "dbname":name})
|
||||
print(row_length)
|
||||
print(create_table_query)
|
||||
mysql_connect.create_database(create_table_query, name)
|
||||
|
||||
with open("exuser.csv", "r", encoding='utf-8-sig') as file:
|
||||
reader = csv.reader(file)
|
||||
|
|
@ -60,37 +47,4 @@ def exchange(ip,name):
|
|||
|
||||
# Führe das Einfüge-Query aus
|
||||
insert_query = f"INSERT INTO `{table_name}` (importdate, `{'`, `'.join(fieldnames)}`) VALUES (%s, {', '.join(['%s'] * len(fieldnames))})"
|
||||
request_post("ex/adduser",{"query":insert_query, "dbname":name, "entry":row})
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
return None
|
||||
|
||||
service_time = f"23:{str(random.randint(1, 59)).zfill(2)}" ## ADD Random Time
|
||||
|
||||
ip = get_local_ip()
|
||||
exchange(ip,"tnp-Invest-GmbH")
|
||||
|
||||
while True:
|
||||
current_time = datetime.now().strftime("%H:%M")
|
||||
try:
|
||||
with open ("log.txt","a") as datei:
|
||||
datei.writelines(request_get("gettime",{}).text + "\n")
|
||||
except Exception as e:
|
||||
with open ("log.txt","a") as datei:
|
||||
datei.writelines(f"{current_time}No Connection to Server!" + "\n")
|
||||
if current_time == service_time:
|
||||
ip = get_local_ip()
|
||||
database = request_post("info/getdatabase",{"ip":ip}).text.replace('"',"")
|
||||
exchange(ip,database)
|
||||
with open ("log.txt","a") as datei:
|
||||
datei.writelines(f"{current_time} - Sleep for {22*3600}" + "\n")
|
||||
time.sleep(22*3600)
|
||||
time.sleep(60)
|
||||
mysql_connect.add_user(insert_query, name, row)
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
"PSComputerName","RunspaceId","PSShowComputerName","Database","UseDatabaseRetentionDefaults","RetainDeletedItemsUntilBackup","IsHierarchyReady","IsHierarchySyncEnabled","RetentionPolicy","ExchangeGuid","AdminDisplayVersion","ExchangeUserAccountControl","IsMailboxEnabled","ProhibitSendQuota","ProhibitSendReceiveQuota","RecoverableItemsQuota","RecoverableItemsWarningQuota","CalendarLoggingQuota","IsResource","IsLinked","IsShared","IsRootPublicFolderMailbox","LinkedMasterAccount","ResetPasswordOnNextLogon","ResourceType","RoomMailboxAccountEnabled","SamAccountName","ServerLegacyDN","UseDatabaseQuotaDefaults","IssueWarningQuota","RulesQuota","UserPrincipalName","RoleAssignmentPolicy","EffectivePublicFolderMailbox","SharingPolicy","ArchiveQuota","ArchiveWarningQuota","DisabledMailboxLocations","CalendarVersionStoreDisabled","AuditEnabled","AuditLogAgeLimit","WhenMailboxCreated","AccountDisabled","Alias","OrganizationalUnit","DisplayName","LegacyExchangeDN","MaxSendSize","MaxReceiveSize","EmailAddressPolicyEnabled","PrimarySmtpAddress","RecipientType","RecipientTypeDetails","WindowsEmailAddress","Identity","IsValid","ExchangeVersion","DistinguishedName","Guid","ObjectCategory","WhenChanged","WhenCreated","WhenChangedUTC","WhenCreatedUTC","OrganizationId","Id","OriginatingServer"
|
||||
,,,"EXDB02","False","True","True","True",,"c6ce82ee-675f-4bb0-9861-5b584858beaf","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"Islambouli","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","abdalrahman.Islambouli@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","16.12.2021 13:45:20","False","abdalrahman.Islambouli","tnp-gruppe.de/TNP Benutzer","Abdalrahman Islambouli","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=c31ac76d971342ca9d580b06642a3a88-Abdalrahman I","Unlimited","Unlimited","True","abdalrahman.Islambouli@tnp-gruppe.de","UserMailbox","UserMailbox","abdalrahman.Islambouli@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Abdalrahman Islambouli","True","0.20 (15.0.0.0)","CN=Abdalrahman Islambouli,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","c3e294c2-ae05-43ee-9bd0-9b9a227fe65c","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 08:25:44","16.12.2021 10:32:03","21.08.2023 06:25:44","16.12.2021 09:32:03","","tnp-gruppe.de/TNP Benutzer/Abdalrahman Islambouli","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB03","True","False","True","True",,"55c64923-1d4c-4c34-a3f4-e4b8044a5267","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"abrechnung","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","abrechnung@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","01.07.2023 10:32:00","False","abrechnung","tnp-gruppe.de/TNP Benutzer","Abrechnung Cura Saale","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=ac17e441735c4a76b7dcd088a491c7bc-Abrechnung C","Unlimited","Unlimited","False","abrechnung@cura-saale.de","UserMailbox","UserMailbox","abrechnung@cura-saale.de","tnp-gruppe.de/TNP Benutzer/Abrechnung Cura Saale","True","0.20 (15.0.0.0)","CN=Abrechnung Cura Saale,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","5722c4c2-4bb0-4d4c-bc0e-6c4029d891cc","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 12:40:52","01.07.2023 10:32:00","21.08.2023 10:40:52","01.07.2023 08:32:00","","tnp-gruppe.de/TNP Benutzer/Abrechnung Cura Saale","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB03","True","False","True","True",,"d7793575-0997-415e-8b01-76bb2cce9caa","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"ad-test-user","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","ad-test-user@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","05.01.2022 11:41:24","False","ad-test-user","tnp-gruppe.de/TNP Benutzer","Admin-Test-User (Service-Account)","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=abe4b44607544519a7cd7e2115b0dfc2-Admin-Test-Us","Unlimited","Unlimited","True","ad-test-user@tnp-gruppe.de","UserMailbox","UserMailbox","ad-test-user@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Admin-Test-User","True","0.20 (15.0.0.0)","CN=Admin-Test-User,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","f48f294d-f644-46e1-b701-f843985e0251","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 11:38:36","29.12.2021 09:45:19","21.08.2023 09:38:36","29.12.2021 08:45:19","","tnp-gruppe.de/TNP Benutzer/Admin-Test-User","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"4ef853ab-55fb-46ca-87e9-3829e0ced9ef","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"alarmaufschaltungen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","alarmaufschaltungen@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:49:36","False","alarmaufschaltungen","tnp-gruppe.de/TNP Benutzer","Alarmaufschaltungen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=c377925340ee4e3e8fc8720ed9a826de-Alarmaufschal","Unlimited","Unlimited","True","alarmaufschaltungen@tnp-gruppe.de","UserMailbox","SharedMailbox","alarmaufschaltungen@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Alarmaufschaltungen","True","0.20 (15.0.0.0)","CN=Alarmaufschaltungen,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","bc1839fa-1ec9-41ed-a899-d69f70b7ef9b","tnp-gruppe.de/Configuration/Schema/Person","18.07.2023 11:45:24","19.12.2021 18:49:36","18.07.2023 09:45:24","19.12.2021 17:49:36","","tnp-gruppe.de/TNP Benutzer/Alarmaufschaltungen","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"ac510090-51e0-472e-939f-58db3b3472b2","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","True","False","False","False","NT-AUTORITÄT\SELBST","False","Room","False","Besprechungsraum.Gro","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","Besprechungsraum.Gross@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","17.12.2021 08:51:16","True","Besprechungsraum.Gross","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Besprechungsraum Gross","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=ae6ee20090cf427bafae3db9a233f74d-Besprechungsr","Unlimited","Unlimited","True","Besprechungsraum.Gross@tnp-gruppe.de","UserMailbox","RoomMailbox","Besprechungsraum.Gross@tnp-gruppe.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Besprechungsraum Gross","True","0.20 (15.0.0.0)","CN=Besprechungsraum Gross,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","aee56efa-c39d-4a6d-9b7b-55e8642569f8","tnp-gruppe.de/Configuration/Schema/Person","27.01.2023 07:08:11","17.12.2021 08:51:16","27.01.2023 06:08:11","17.12.2021 07:51:16","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Besprechungsraum Gross","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"2c106f15-e9cc-4667-b54b-e035a9e33d46","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","True","False","False","False","NT-AUTORITÄT\SELBST","False","Room","False","Besprechungsraum.Kle","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","Besprechungsraum.Klein@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","17.12.2021 08:50:11","True","Besprechungsraum.Klein","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Besprechungsraum Klein","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=3e427550ddb44c6e9f4c8b1d5e87df4d-Besprechungsr","Unlimited","Unlimited","True","Besprechungsraum.Klein@tnp-gruppe.de","UserMailbox","RoomMailbox","Besprechungsraum.Klein@tnp-gruppe.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Besprechungsraum Klein","True","0.20 (15.0.0.0)","CN=Besprechungsraum Klein,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","56bb0fc8-13ea-4697-b72d-d45c22c7126a","tnp-gruppe.de/Configuration/Schema/Person","27.01.2023 07:08:11","17.12.2021 08:50:12","27.01.2023 06:08:11","17.12.2021 07:50:12","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Besprechungsraum Klein","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"c0d0702c-a92e-4481-a6e6-04fef5aa83e4","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"bewerbung","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","bewerbung@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:50:19","False","bewerbung","tnp-gruppe.de/TNP Benutzer","Bewerbung","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=833330aa0c4a43b0a692ea7a6f8af98b-Bewerbung","Unlimited","Unlimited","True","bewerbung@tnp-gruppe.de","UserMailbox","SharedMailbox","bewerbung@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Bewerbung","True","0.20 (15.0.0.0)","CN=Bewerbung,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","474bd513-c4fe-4069-afa3-8ce6e0ee4cb4","tnp-gruppe.de/Configuration/Schema/Person","18.07.2023 11:45:32","19.12.2021 18:50:19","18.07.2023 09:45:32","19.12.2021 17:50:19","","tnp-gruppe.de/TNP Benutzer/Bewerbung","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"f7e48f99-558c-4c01-b077-d262a89de986","Version 15.2 (Build 1118.7)","AccountDisabled","True","50 GB (53,687,091,200 bytes)","50 GB (53,687,091,200 bytes)","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","True",,,"SM_c1c534425b4249cfb","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","False","Unlimited","256 KB (262,144 bytes)","DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","True","False","90.00:00:00","02.09.2021 13:28:50","True","DiscoverySearchMailbox{D919BA05-46A6-415f-80AD-7E09334BB852}","tnp-gruppe.de/Users","Discoverysuchpostfach","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=6ca4161e4fdf4359a7e03131009cdc8d-DiscoverySear","100 MB (104,857,600 bytes)","100 MB (104,857,600 bytes)","True","DiscoverySearchMailbox{D919BA05-46A6-415f-80AD-7E09334BB852}@tnp-gruppe.de","UserMailbox","DiscoveryMailbox","DiscoverySearchMailbox{D919BA05-46A6-415f-80AD-7E09334BB852}@tnp-gruppe.de","tnp-gruppe.de/Users/DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}","True","0.20 (15.0.0.0)","CN=DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852},CN=Users,DC=tnp-gruppe,DC=de","db5cd41e-6ea5-4784-9a88-d5e17c02c7b8","tnp-gruppe.de/Configuration/Schema/Person","27.01.2023 07:08:12","02.09.2021 12:44:00","27.01.2023 06:08:12","02.09.2021 10:44:00","","tnp-gruppe.de/Users/DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"4cae2de7-7fbf-4107-b223-917858884660","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"eva-maria.lehmann","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","eva-maria.lehmann@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","16.12.2021 13:46:33","False","eva-maria.lehmann","tnp-gruppe.de/TNP Benutzer","Eva-Maria Lehmann","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=73d87fcca2c945ce99ad376fbaf22d80-Eva-Maria Leh","Unlimited","Unlimited","True","eva-maria.lehmann@tnp-gruppe.de","UserMailbox","UserMailbox","eva-maria.lehmann@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Eva-Maria Lehmann","True","0.20 (15.0.0.0)","CN=Eva-Maria Lehmann,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","bf7c0205-b0c9-48e5-97f6-bbc009758560","tnp-gruppe.de/Configuration/Schema/Person","20.08.2023 12:46:22","16.12.2021 10:21:40","20.08.2023 10:46:22","16.12.2021 09:21:40","","tnp-gruppe.de/TNP Benutzer/Eva-Maria Lehmann","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"e6aad670-a194-47cf-ae8c-5b9dcf7e13b8","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"exadmin","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","exadmin@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","02.09.2021 13:28:29","False","exadmin","tnp-gruppe.de/TNP Admins","Exchange Admin (Service-Account)","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=eb91f54c1ad34eaca235f9497704cc75-Exchange Admi","Unlimited","Unlimited","True","exadmin@tnp-gruppe.de","UserMailbox","UserMailbox","exadmin@tnp-gruppe.de","tnp-gruppe.de/TNP Admins/Exchange Admin","True","0.20 (15.0.0.0)","CN=Exchange Admin,OU=TNP Admins,DC=tnp-gruppe,DC=de","15664eee-b2b8-4477-b301-b7b02e254fcd","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 11:39:13","02.09.2021 11:54:38","21.08.2023 09:39:13","02.09.2021 09:54:38","","tnp-gruppe.de/TNP Admins/Exchange Admin","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"30ce8d8a-4734-4f11-a158-99639fb1e55d","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"info","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","info@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:50:55","False","info","tnp-gruppe.de/TNP Benutzer","Info","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=07a34de9fdc54635af23f05ecdbe1e19-Info","Unlimited","Unlimited","True","info@tnp-gruppe.de","UserMailbox","SharedMailbox","info@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Info","True","0.20 (15.0.0.0)","CN=Info,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","5d46e10a-38cf-46ef-8673-bf7d4c0b4c9f","tnp-gruppe.de/Configuration/Schema/Person","18.07.2023 11:45:36","19.12.2021 18:50:55","18.07.2023 09:45:36","19.12.2021 17:50:55","","tnp-gruppe.de/TNP Benutzer/Info","TNPAD01.tnp-gruppe.de"
|
||||
,,,"Journal","True","False","True","True",,"2f71af03-7112-48ed-b94e-95a3cbd597a8","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"Info1","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","Info1@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","25.04.2023 12:36:59","True","Info","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Info Cura-Saale","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=66fe84c085c644fd902aa4a9619f7da2-Info Cura-Saa","Unlimited","Unlimited","False","info@cura-saale.de","UserMailbox","SharedMailbox","info@cura-saale.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Info Cura-Saale","True","0.20 (15.0.0.0)","CN=Info Cura-Saale,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","238165cc-0ebd-49f0-a3c3-8045fda6cf3c","tnp-gruppe.de/Configuration/Schema/Person","23.08.2023 09:52:19","25.04.2023 12:36:59","23.08.2023 07:52:19","25.04.2023 10:36:59","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Info Cura-Saale","TNPAD01.tnp-gruppe.de"
|
||||
,,,"Treu","True","False","True","True",,"404a6e24-0f4a-4d30-aa69-5cec5135e8b1","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"jan.treu","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","False","Unlimited","256 KB (262,144 bytes)","jan.treu@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:45","False","jan.treu","tnp-gruppe.de/TNP Benutzer","Jan Treu","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=f1891a5ff36b45849d8a521425f13e7f-Jan Treu","Unlimited","Unlimited","True","jan.treu@tnp-gruppe.de","UserMailbox","UserMailbox","jan.treu@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Jan Treu","True","0.20 (15.0.0.0)","CN=Jan Treu,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","079ec7f2-a3b1-4182-a862-953bcd3c0c0a","tnp-gruppe.de/Configuration/Schema/Person","16.08.2023 05:42:47","01.09.2021 13:15:06","16.08.2023 03:42:47","01.09.2021 11:15:06","","tnp-gruppe.de/TNP Benutzer/Jan Treu","TNPAD01.tnp-gruppe.de"
|
||||
,,,"Journal","True","False","True","True","Journal","60f4ea76-2969-4b0e-a114-4cc1f6a67658","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"Journal","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","False","Unlimited","256 KB (262,144 bytes)","Journal@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","28.12.2021 08:21:04","False","Journal","tnp-gruppe.de/TNP Benutzer","Journal (Service-Account)","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=9cc4b159ddd741bbb8ceca2870f96e95-Journal","Unlimited","Unlimited","True","Journal@tnp-gruppe.de","UserMailbox","UserMailbox","Journal@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Journal","True","0.20 (15.0.0.0)","CN=Journal,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","4ef34f53-8822-47e0-899b-9146fc182d00","tnp-gruppe.de/Configuration/Schema/Person","16.08.2023 13:43:06","28.12.2021 08:21:04","16.08.2023 11:43:06","28.12.2021 07:21:04","","tnp-gruppe.de/TNP Benutzer/Journal","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"8d8ebfc5-d28f-468d-8689-152b4ebd41f7","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"julia.weiske","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","julia.weiske@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:46","False","julia.weiske","tnp-gruppe.de/TNP Benutzer","Julia Weiske","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=0ada655ec9df4da3b648ce3521566784-Julia Weiske","Unlimited","Unlimited","True","julia.weiske@tnp-gruppe.de","UserMailbox","UserMailbox","julia.weiske@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Julia Weiske","True","0.20 (15.0.0.0)","CN=Julia Weiske,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","f4dc59c5-f55d-47ce-b24d-909a998af89b","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 09:54:59","01.09.2021 13:18:14","21.08.2023 07:54:59","01.09.2021 11:18:14","","tnp-gruppe.de/TNP Benutzer/Julia Weiske","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"0d7924ad-e8a9-460b-8ab3-b200ea0d7f0b","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"kati.guckel","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","kati.guckel@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:46","False","kati.guckel","tnp-gruppe.de/TNP Benutzer","Kati Guckel","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=f7d1ad6207ca41689bb1694583ab5eec-Kati Guckel","Unlimited","Unlimited","True","kati.guckel@tnp-gruppe.de","UserMailbox","UserMailbox","kati.guckel@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Kati Guckel","True","0.20 (15.0.0.0)","CN=Kati Guckel,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","590757b8-d4e8-45ba-9094-a965a7be7008","tnp-gruppe.de/Configuration/Schema/Person","17.08.2023 06:27:45","01.09.2021 13:18:30","17.08.2023 04:27:45","01.09.2021 11:18:30","","tnp-gruppe.de/TNP Benutzer/Kati Guckel","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"5869fdd0-be28-4022-b7cd-29d273fc33c5","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","True","False","False","False","NT-AUTORITÄT\SELBST","False","Equipment",,"Laptop.Lenovo.weiß","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","Laptop.Lenovo.weiß@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","17.12.2021 08:52:23","True","Laptop.Lenovo.weiß","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Laptop Lenovo weiß","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user0d1c0d0f","Unlimited","Unlimited","True","Laptop.Lenovo.weiss@tnp-gruppe.de","UserMailbox","EquipmentMailbox","Laptop.Lenovo.weiss@tnp-gruppe.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Laptop Lenovo weiß","True","0.20 (15.0.0.0)","CN=Laptop Lenovo weiß,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","801cee3c-7b25-4c04-9176-157ac8c2bac3","tnp-gruppe.de/Configuration/Schema/Person","27.01.2023 07:08:12","17.12.2021 08:52:23","27.01.2023 06:08:12","17.12.2021 07:52:23","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Laptop Lenovo weiß","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"45b144f0-c0ea-4abf-9a22-3202c252cb1c","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"lizenzen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","lizenzen@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:51:32","False","lizenzen","tnp-gruppe.de/TNP Benutzer","Lizenzen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=786866eb912640cfa860b15f6c3ae267-Lizenzen","Unlimited","Unlimited","True","lizenzen@tnp-gruppe.de","UserMailbox","SharedMailbox","lizenzen@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Lizenzen","True","0.20 (15.0.0.0)","CN=Lizenzen,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","5e3692fe-5629-49d9-9df0-fc38f81cf1c6","tnp-gruppe.de/Configuration/Schema/Person","18.07.2023 11:45:48","19.12.2021 18:51:32","18.07.2023 09:45:48","19.12.2021 17:51:32","","tnp-gruppe.de/TNP Benutzer/Lizenzen","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"61e67392-c36a-4528-afdd-9d542f8b0689","Version 15.2 (Build 1118.7)","None","True","5 GB (5,368,709,120 bytes)","5 GB (5,368,709,120 bytes)","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"maike.hinrichs","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","False","4 GB (4,294,967,296 bytes)","256 KB (262,144 bytes)","maike.hinrichs@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","16.12.2021 13:46:41","False","maike.hinrichs","tnp-gruppe.de/TNP Benutzer","Maike Hinrichs","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=5d13043c3ae041abb9050a0e66f3d860-Maike Hinrich","Unlimited","Unlimited","True","Maike.Hinrichs@tnp-gruppe.de","UserMailbox","UserMailbox","Maike.Hinrichs@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Maike Hinrichs","True","0.20 (15.0.0.0)","CN=Maike Hinrichs,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","cfe67a05-06d0-443b-8bbd-73d0d81aadf5","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 06:55:16","16.12.2021 10:33:26","21.08.2023 04:55:16","16.12.2021 09:33:26","","tnp-gruppe.de/TNP Benutzer/Maike Hinrichs","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"a5b6be53-aca1-4ed7-b9b2-9f46ee3f53e1","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"manuela.blecha","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","manuela.blecha@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","17.10.2022 10:39:41","False","manuela.blecha","tnp-gruppe.de/TNP Benutzer","Manuela Blecha","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=14f6d13688ee4836b19be8ec52574c8a-Manuela Blech","Unlimited","Unlimited","True","manuela.blecha@tnp-gruppe.de","UserMailbox","UserMailbox","manuela.blecha@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Manuela Blecha","True","0.20 (15.0.0.0)","CN=Manuela Blecha,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","2ddbc19a-42b7-48ed-bb9d-5a7eb503cfe6","tnp-gruppe.de/Configuration/Schema/Person","14.08.2023 08:19:50","17.10.2022 10:30:04","14.08.2023 06:19:50","17.10.2022 08:30:04","","tnp-gruppe.de/TNP Benutzer/Manuela Blecha","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"2f40b591-d88c-4911-b53a-0d8a64dfacd4","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"batura","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","nathalie.batura-senebier@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:47","False","nathalie.batura-senebier","tnp-gruppe.de/TNP Benutzer","Nathalie Batura-Senebier","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=ffe0a972e28d4ee390fdf0eb7e0d2ce1-Nathalie Batu","Unlimited","Unlimited","True","nathalie.batura-senebier@tnp-gruppe.de","UserMailbox","UserMailbox","nathalie.batura-senebier@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Nathalie Batura-Senebier","True","0.20 (15.0.0.0)","CN=Nathalie Batura-Senebier,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","e021d98f-aa51-4b3f-8db4-c5b790ca2b8c","tnp-gruppe.de/Configuration/Schema/Person","18.08.2023 05:41:19","01.09.2021 13:18:49","18.08.2023 03:41:19","01.09.2021 11:18:49","","tnp-gruppe.de/TNP Benutzer/Nathalie Batura-Senebier","TNPAD01.tnp-gruppe.de"
|
||||
,,,"Journal","True","False","True","True",,"465204b7-e369-43a6-a43b-ca7c234384fc","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"oliver.klöcker","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","oliver.klöcker@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","25.04.2023 12:35:30","False","oliver.klöcker","tnp-gruppe.de/TNP Benutzer","Oliver Klöcker","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=userecf48e41","Unlimited","Unlimited","False","verwaltung@cura-saale.de","UserMailbox","UserMailbox","verwaltung@cura-saale.de","tnp-gruppe.de/TNP Benutzer/Oliver Klöcker","True","0.20 (15.0.0.0)","CN=Oliver Klöcker,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","232094a2-831a-4ad2-8836-e59a8546fb82","tnp-gruppe.de/Configuration/Schema/Person","17.08.2023 03:11:11","25.04.2023 12:35:05","17.08.2023 01:11:11","25.04.2023 10:35:05","","tnp-gruppe.de/TNP Benutzer/Oliver Klöcker","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB03","True","False","True","True",,"9439fc82-18fc-4277-be94-e0356d1263b2","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"paula.wagner","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","paula.wagner@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","30.03.2023 12:37:40","False","paula.wagner","tnp-gruppe.de/TNP Benutzer","Paula Wagner","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=8a8c5675a7c44a21a36236647161153a-Paula Wagner","Unlimited","Unlimited","True","paula.wagner@tnp-gruppe.de","UserMailbox","UserMailbox","paula.wagner@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Paula Wagner","True","0.20 (15.0.0.0)","CN=Paula Wagner,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","2a75206d-facc-48d4-9f96-62a767afdf40","tnp-gruppe.de/Configuration/Schema/Person","17.08.2023 13:48:06","30.03.2023 12:16:56","17.08.2023 11:48:06","30.03.2023 10:16:56","","tnp-gruppe.de/TNP Benutzer/Paula Wagner","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB03","True","False","True","True",,"5944045f-4d5b-484e-82af-f8f0f14118a7","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"pdl","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","pdl@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","27.06.2023 22:46:54","False","pdl","tnp-gruppe.de/TNP Benutzer","PDL Cura-Saale","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=2f593dac669442079d730962e91f867d-PDL Cura-Saal","Unlimited","Unlimited","False","pdl@cura-saale.de","UserMailbox","UserMailbox","pdl@cura-saale.de","tnp-gruppe.de/TNP Benutzer/PDL Cura-Saale","True","0.20 (15.0.0.0)","CN=PDL Cura-Saale,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","ced1504e-99c8-4b30-bc5b-994cd702659e","tnp-gruppe.de/Configuration/Schema/Person","23.08.2023 09:52:55","27.06.2023 22:46:54","23.08.2023 07:52:55","27.06.2023 20:46:54","","tnp-gruppe.de/TNP Benutzer/PDL Cura-Saale","TNPAD01.tnp-gruppe.de"
|
||||
,,,"Eisel-Schubert","True","False","True","True",,"78e16c1e-fd8b-4cb9-9cc9-9ba7a769cb76","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"petra.schubert","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","petra.schubert@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:47","False","petra.schubert","tnp-gruppe.de/TNP Benutzer","Petra Schubert","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=5d541de98b504e0181b0e3a1a9f0df1f-Petra Schuber","Unlimited","Unlimited","True","petra.schubert@tnp-gruppe.de","UserMailbox","UserMailbox","petra.schubert@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Petra Schubert","True","0.20 (15.0.0.0)","CN=Petra Schubert,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","c037b750-44d5-4137-a2f1-3a5fd3e29308","tnp-gruppe.de/Configuration/Schema/Person","17.08.2023 09:06:50","01.09.2021 13:19:05","17.08.2023 07:06:50","01.09.2021 11:19:05","","tnp-gruppe.de/TNP Benutzer/Petra Schubert","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"01f8c4c2-3532-4463-ada3-c2da85f2f896","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"rechnungen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","rechnungen@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:52:11","False","rechnungen","tnp-gruppe.de/TNP Benutzer","Rechnungen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=2248503457c142708328479dbd203ef1-Rechnungen","Unlimited","Unlimited","True","rechnungen@tnp-gruppe.de","UserMailbox","SharedMailbox","rechnungen@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Rechnungen","True","0.20 (15.0.0.0)","CN=Rechnungen,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","839ef884-61b4-4281-9804-f487d13308aa","tnp-gruppe.de/Configuration/Schema/Person","18.07.2023 11:45:48","19.12.2021 18:52:11","18.07.2023 09:45:48","19.12.2021 17:52:11","","tnp-gruppe.de/TNP Benutzer/Rechnungen","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"2d3713d6-36c2-4a73-8712-e0c0380ea72e","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"sekretariat","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","sekretariat@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:52:51","True","sekretariat","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Sekretariat TNP AG","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=a2ac4698674142d7afcd0b12046ca7b7-Sekretariat T","Unlimited","Unlimited","True","sekretariat@tnp-gruppe.de","UserMailbox","SharedMailbox","sekretariat@tnp-gruppe.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Sekretariat TNP AG","True","0.20 (15.0.0.0)","CN=Sekretariat TNP AG,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","d6f84d3f-119e-4ea7-8163-6989a66b63ad","tnp-gruppe.de/Configuration/Schema/Person","01.02.2023 15:43:32","19.12.2021 18:52:51","01.02.2023 14:43:32","19.12.2021 17:52:51","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Sekretariat TNP AG","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"abc7d4e3-7988-4e20-a7f5-1b89e31c3390","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","True","False","False","False","NT-AUTORITÄT\SELBST","False","Equipment",,"Surface.Book.3","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","Surface.Book.3@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","17.12.2021 08:53:01","True","Surface.Book.3","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Surface Book 3","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=507de11682d947a2a301c79069bf6a57-Surface Book","Unlimited","Unlimited","True","Surface.Book.3@tnp-gruppe.de","UserMailbox","EquipmentMailbox","Surface.Book.3@tnp-gruppe.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Surface Book 3","True","0.20 (15.0.0.0)","CN=Surface Book 3,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","f54e484c-177d-49bc-9594-5e6c3dd05c86","tnp-gruppe.de/Configuration/Schema/Person","01.02.2023 11:45:48","17.12.2021 08:53:01","01.02.2023 10:45:48","17.12.2021 07:53:01","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Surface Book 3","TNPAD01.tnp-gruppe.de"
|
||||
,,,"Eisel-Schubert","True","False","True","True",,"6539d723-2471-4118-8097-1d056348e0ba","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"susanne.eisel","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","susanne.eisel@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:47","False","susanne.eisel","tnp-gruppe.de/TNP Benutzer","Susanne Eisel","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=407d2bab0a89436f90d8437d8236e171-Susanne Eisel","Unlimited","Unlimited","True","susanne.eisel@tnp-gruppe.de","UserMailbox","UserMailbox","susanne.eisel@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Susanne Eisel","True","0.20 (15.0.0.0)","CN=Susanne Eisel,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","2e7c23fa-da52-463d-8bf2-914b95abeabf","tnp-gruppe.de/Configuration/Schema/Person","21.08.2023 07:36:33","01.09.2021 13:19:38","21.08.2023 05:36:33","01.09.2021 11:19:38","","tnp-gruppe.de/TNP Benutzer/Susanne Eisel","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"1a2db4c4-6ed2-4ef8-9669-bff4b6b54b49","Version 15.2 (Build 1118.7)","AccountDisabled","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"TermineundFristen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","TermineundFristen@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:53:38","True","TermineundFristen","tnp-gruppe.de/Exchange-Öffentliche-Postfächer","Termine & Fristen","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=f81257f838d745e1afbb6b2190385279-Termine & Fri","Unlimited","Unlimited","True","TermineundFristen@tnp-gruppe.de","UserMailbox","SharedMailbox","TermineundFristen@tnp-gruppe.de","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Termine & Fristen","True","0.20 (15.0.0.0)","CN=Termine & Fristen,OU=Exchange-Öffentliche-Postfächer,DC=tnp-gruppe,DC=de","fc13d333-2adb-43a1-b7c1-b18a8d27984f","tnp-gruppe.de/Configuration/Schema/Person","01.02.2023 11:45:48","19.12.2021 18:53:38","01.02.2023 10:45:48","19.12.2021 17:53:38","","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/Termine & Fristen","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"8b671d00-4bdf-43fc-859a-ffc7c2fe4b35","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"rdpadmin","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","rdpadmin@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:42:06","False","test","tnp-gruppe.de/TNP Admins","RDP Admin (Service-Account)","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=183210daf0c94cf6a8390fe12b73a9b6-RDP Admin","Unlimited","Unlimited","True","test@tnp-gruppe.de","UserMailbox","UserMailbox","test@tnp-gruppe.de","tnp-gruppe.de/TNP Admins/RDP Admin","True","0.20 (15.0.0.0)","CN=RDP Admin,OU=TNP Admins,DC=tnp-gruppe,DC=de","c0eec35e-923d-4d2c-b7e6-8d56720355bc","tnp-gruppe.de/Configuration/Schema/Person","23.08.2023 14:00:03","03.09.2021 11:35:43","23.08.2023 12:00:03","03.09.2021 09:35:43","","tnp-gruppe.de/TNP Admins/RDP Admin","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"7f451b10-e19c-4598-b5f9-ad3c3bdcfc31","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"tobias.zander","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","tobias.zander@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:40:48","False","tobias.zander","tnp-gruppe.de/TNP Benutzer","Tobias Zander","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=48eeb3c7f6e34ef49137e251a2ca33f8-Tobias Zander","Unlimited","Unlimited","True","tobias.zander@tnp-gruppe.de","UserMailbox","UserMailbox","tobias.zander@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Tobias Zander","True","0.20 (15.0.0.0)","CN=Tobias Zander,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","2e05a40a-6fb7-44be-9516-b5c151c415ee","tnp-gruppe.de/Configuration/Schema/Person","22.08.2023 18:55:19","01.09.2021 13:19:56","22.08.2023 16:55:19","01.09.2021 11:19:56","","tnp-gruppe.de/TNP Benutzer/Tobias Zander","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"f69b6cf2-03bd-42f9-a49d-0845d18f6fc7","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","False","False","","False",,,"volker.neumann","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","volker.neumann@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","29.11.2021 10:38:33","False","volker.neumann","tnp-gruppe.de/TNP Benutzer","Volker Neumann","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=295efc762fad43729e4347355c4f6b14-Volker Neuman","Unlimited","Unlimited","True","volker.neumann@tnp-gruppe.de","UserMailbox","UserMailbox","volker.neumann@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Volker Neumann","True","0.20 (15.0.0.0)","CN=Volker Neumann,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","891e1491-0eac-4006-9fd8-960dec8d5266","tnp-gruppe.de/Configuration/Schema/Person","14.08.2023 14:09:26","01.09.2021 13:08:32","14.08.2023 12:09:26","01.09.2021 11:08:32","","tnp-gruppe.de/TNP Benutzer/Volker Neumann","TNPAD01.tnp-gruppe.de"
|
||||
,,,"EXDB02","False","True","True","True",,"4710ff94-5864-4bb6-9248-be788734a17f","Version 15.2 (Build 1118.7)","None","True","Unlimited","Unlimited","30 GB (32,212,254,720 bytes)","20 GB (21,474,836,480 bytes)","6 GB (6,442,450,944 bytes)","False","False","True","False","NT-AUTORITÄT\SELBST","False",,,"zahlungsverkehr","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TNPEX01","True","Unlimited","256 KB (262,144 bytes)","zahlungsverkehr@tnp-gruppe.de","Default Role Assignment Policy","tnp-gruppe.de/Exchange-Öffentliche-Postfächer/tnp AG","Standardfreigaberichtlinie","100 GB (107,374,182,400 bytes)","90 GB (96,636,764,160 bytes)","False","False","False","90.00:00:00","19.12.2021 18:54:08","False","zahlungsverkehr","tnp-gruppe.de/TNP Benutzer","Zahlungsverkehr","/o=TNP Gruppe/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=e131de09b6014968b153e21c8d2c498e-Zahlungsverke","Unlimited","Unlimited","True","zahlungsverkehr@tnp-gruppe.de","UserMailbox","SharedMailbox","zahlungsverkehr@tnp-gruppe.de","tnp-gruppe.de/TNP Benutzer/Zahlungsverkehr","True","0.20 (15.0.0.0)","CN=Zahlungsverkehr,OU=TNP Benutzer,DC=tnp-gruppe,DC=de","9c85b960-24cb-41e4-bf34-595762ffd60d","tnp-gruppe.de/Configuration/Schema/Person","18.07.2023 11:45:48","19.12.2021 18:54:08","18.07.2023 09:45:48","19.12.2021 17:54:08","","tnp-gruppe.de/TNP Benutzer/Zahlungsverkehr","TNPAD01.tnp-gruppe.de"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
"Current Time from API-Server http://api.stines.de is 2023-08-24 09:16:51.100681"
|
||||
"Current Time from API-Server http://api.stines.de is 2023-08-24 09:17:22.116785"
|
||||
|
|
@ -4,6 +4,15 @@ import os
|
|||
import Controller.ssh_tunnel as ssh_tunnel
|
||||
|
||||
filename = os.path.basename(__file__)
|
||||
def ping(host):
|
||||
# Führe den Ping-Befehl aus und erfasse die Ausgabe
|
||||
result = os.system("ping -c 1 " + host)
|
||||
if result == 0:
|
||||
hostname = "172.17.1.21", 22
|
||||
else:
|
||||
hostname = "forward.stines.de", 2223
|
||||
return hostname
|
||||
|
||||
|
||||
def database(query,name,user):
|
||||
# server.start()
|
||||
|
|
@ -33,10 +42,10 @@ def database(query,name,user):
|
|||
cursor.execute(query)
|
||||
return cursor.fetchall()
|
||||
if "INSERT" in query:
|
||||
cursor.execute(query,user)
|
||||
cursor.execute(query)
|
||||
mydb.commit()
|
||||
if "UPDATE" in query:
|
||||
cursor.execute(query,user)
|
||||
cursor.execute(query)
|
||||
mydb.commit()
|
||||
mydb.close()
|
||||
# server.stop()
|
||||
|
|
@ -70,4 +79,4 @@ def get_cpu(query,name,cpu):
|
|||
return database(query,name,cpu)
|
||||
|
||||
def update_cpu(query,name):
|
||||
return database(query,name,"")
|
||||
database(query,name)
|
||||
|
|
@ -3,17 +3,8 @@ import os
|
|||
|
||||
filename = os.path.basename(__file__)
|
||||
|
||||
def ping(host):
|
||||
# Führe den Ping-Befehl aus und erfasse die Ausgabe
|
||||
result = os.system("ping -c 1 " + host)
|
||||
if result == 0:
|
||||
hostname = "172.17.1.21", 22
|
||||
else:
|
||||
hostname = "forward.stines.de", 2223
|
||||
return hostname
|
||||
|
||||
server = SSHTunnelForwarder(
|
||||
(ping("forward.stines.de")),
|
||||
("forward.stines.de", 2223),
|
||||
ssh_username="root",
|
||||
ssh_password="adm.3dfx12",
|
||||
remote_bind_address=('127.0.0.1', 3306)
|
||||
|
|
@ -29,5 +20,3 @@ def server_stop():
|
|||
|
||||
def server_port():
|
||||
return server.local_bind_port
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,141 +1,32 @@
|
|||
import datetime
|
||||
import subprocess
|
||||
import socket
|
||||
import os
|
||||
import psutil
|
||||
import platform
|
||||
import math
|
||||
import cpuinfo
|
||||
from multiprocessing import freeze_support
|
||||
import requests
|
||||
import platform
|
||||
import wmi
|
||||
import win32serviceutil
|
||||
from Controller import mysql_connect
|
||||
|
||||
def request(function,variable):
|
||||
url = (f"http://api.stines.de:8001/{function}")
|
||||
response = requests.post(url,json = variable,headers={'access_token':'^YWUbG7yX*V!tV^KBSd*2c&vdN3wV9a2i7f3hfGFMBYFxi6#mMiJGiaA5KEHE%B*miK%qb7rQ67gmcYP@gqmux8'})
|
||||
return response
|
||||
|
||||
def getdabase():
|
||||
return request("getdatabase",{'ipadress':get_local_ip()})
|
||||
|
||||
def server_exist(hostname):
|
||||
return request("info/getserver",{'name': hostname, 'dbase': getdabase()})
|
||||
|
||||
def get_cpu_brand():
|
||||
freeze_support()
|
||||
def get_cpu_info():
|
||||
return cpuinfo.get_cpu_info()['brand_raw']
|
||||
|
||||
def splacores(cpu):
|
||||
freeze_support()
|
||||
requests = request("cpu_info",{'name':cpu})
|
||||
return requests.json()[0][0]
|
||||
|
||||
def get_cpu_core():
|
||||
freeze_support()
|
||||
return os.cpu_count()
|
||||
def get_cpu_sql():
|
||||
query = f"SELECT `Prozessor-Anzahl` FROM `CPU-Liste` WHERE `CPU-Name`='{cpuinfo.get_cpu_info()['brand_raw']}'"
|
||||
return mysql_connect.get_cpu(query,"Stines-GmbH",cpuinfo.get_cpu_info()['brand_raw'])
|
||||
|
||||
def get_ram_info():
|
||||
freeze_support()
|
||||
ram_info = psutil.virtual_memory()
|
||||
total_ram = ram_info.total / (1024 ** 3) # In Gigabytes
|
||||
return math.ceil(total_ram)
|
||||
|
||||
def get_total_hdd(function):
|
||||
freeze_support()
|
||||
space = 0
|
||||
def get_hdd_info():
|
||||
total_disk_size = 0
|
||||
disk_partitions = psutil.disk_partitions()
|
||||
for partition in disk_partitions:
|
||||
# Wenn du das Laufwerk C: ignorieren möchtest
|
||||
if partition.device != 'C:\\':
|
||||
partition_info = psutil.disk_usage(partition.mountpoint)
|
||||
if function == "free":
|
||||
space += round(partition_info.free / (1024 ** 3), 2)
|
||||
elif function == "used":
|
||||
space += round(partition_info.used / (1024 ** 3), 2)
|
||||
elif function == "total":
|
||||
space += round(partition_info.total / (1024 ** 3), 2)
|
||||
return math.ceil(space)
|
||||
total_disk_size += partition_info.total / (1024 ** 3)
|
||||
return math.ceil(total_disk_size)
|
||||
|
||||
def get_winver():
|
||||
freeze_support()
|
||||
return platform.platform()
|
||||
|
||||
|
||||
def get_total_hdd(function):
|
||||
freeze_support()
|
||||
space = 0
|
||||
disk_partitions = psutil.disk_partitions()
|
||||
for partition in disk_partitions:
|
||||
partition_info = psutil.disk_usage(partition.mountpoint)
|
||||
if function == "free":
|
||||
space += round(partition_info.free / (1024 ** 3), 2)
|
||||
elif function == "used":
|
||||
space += round(partition_info.used / (1024 ** 3), 2)
|
||||
elif function == "total":
|
||||
space += round(partition_info.total / (1024 ** 3), 2)
|
||||
return math.ceil(space)
|
||||
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
return None
|
||||
|
||||
def get_mainboard_info():
|
||||
c = wmi.WMI()
|
||||
for board in c.Win32_BaseBoard():
|
||||
return board.Product
|
||||
|
||||
def lastboot():
|
||||
lastboot = psutil.boot_time()
|
||||
lastboot = datetime.datetime.fromtimestamp(lastboot).strftime("%d.%m.%Y %H:%M ")
|
||||
return lastboot
|
||||
|
||||
|
||||
def find_service():
|
||||
services = ["MSExchangeTransport","NTDS","RDMS"]
|
||||
service_len = len(services)
|
||||
for index, i in enumerate(services):
|
||||
try:
|
||||
services = win32serviceutil.QueryServiceStatus(i)
|
||||
return True
|
||||
except:
|
||||
if index == service_len - 1:
|
||||
return "Software"
|
||||
else:
|
||||
continue
|
||||
|
||||
def get_windows_updates():
|
||||
c = wmi.WMI()
|
||||
updates = c.Win32_QuickFixEngineering()
|
||||
update_string = []
|
||||
for update in updates:
|
||||
update_string.append(f"KB-Artikel: {update.HotFixID} - Beschreibung: {update.Description}")
|
||||
return update_string
|
||||
|
||||
## GET HOSTNAME
|
||||
hostname = socket.gethostname()
|
||||
|
||||
## GET CURRENT DATE
|
||||
date = datetime.datetime.now()
|
||||
|
||||
## GET CPU BRAND (only 1 run)
|
||||
cpu = get_cpu_brand()
|
||||
|
||||
## GET VOLUME SPACE
|
||||
spacefree = str(get_total_hdd("free")).replace("['","").replace("]","").replace("'","")
|
||||
spaceused = str(get_total_hdd("used")).replace("['","").replace("]","").replace("'","")
|
||||
spacetotal = str(get_total_hdd("total")).replace("['","").replace("]","").replace("'","")
|
||||
|
||||
|
||||
request('systeminfo_add', {'createdate':date,'updatedate': date, 'lastboot': lastboot(), 'hostname': hostname,
|
||||
'ipaddress': get_local_ip(), 'winver': get_winver(), 'services': find_service(),
|
||||
'mainboard': get_mainboard_info(), 'cpu': splacores(cpu), 'realcores': get_cpu_core(),
|
||||
'splacores': splacores(cpu), 'ram': str(get_ram_info())
|
||||
, 'spacetotal': spacetotal, 'spaceused': spaceused,
|
||||
'spacefree': spacefree, 'winupdate': get_windows_updates()})
|
||||
# Informationen über die CPU
|
||||
def set_system_info(ipadress):
|
||||
query = f"UPDATE `Kunden-Server` SET RAM={get_ram_info()}, Prozessor={get_cpu_sql()[0]}, CPU='{get_cpu_info()}' WHERE `IP-Adresse`='{ipadress}'"
|
||||
return mysql_connect.update_cpu(query,"Stines-GmbH","")
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
import os
|
||||
from multiprocessing import freeze_support
|
||||
import cpuinfo
|
||||
import psutil
|
||||
import math
|
||||
import platform
|
||||
import socket
|
||||
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
return None
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
import psycopg2
|
||||
from datetime import datetime, timedelta
|
||||
from Controller import mysql_connect
|
||||
import socket
|
||||
|
||||
def tickets(ip,name):
|
||||
# Verbindungsinformationen zur PostgreSQL-Datenbank
|
||||
|
|
@ -10,8 +9,6 @@ def tickets(ip,name):
|
|||
db_user = "zammad"
|
||||
db_password = "zammad"
|
||||
|
||||
print("Inside")
|
||||
|
||||
table_name = "Tickets"
|
||||
|
||||
# Verbindung zur Datenbank herstellen
|
||||
|
|
@ -29,7 +26,7 @@ def tickets(ip,name):
|
|||
## Header auslesen
|
||||
headers = [desc[0] for desc in cursor.description]
|
||||
|
||||
## Orga Auslesen per API-Server
|
||||
## Orga Auslesen
|
||||
group = f"SELECT id FROM groups WHERE name = '{name.replace('ae','ä').replace('ue','ü').replace('oe','ö').replace('-',' ')}'"
|
||||
cursor.execute(group)
|
||||
query = f"SELECT tickets.*, tag_items.name AS SLA FROM tickets LEFT JOIN tags ON tickets.id = tags.o_id LEFT JOIN tag_items ON tags.tag_item_id = tag_items.id WHERE group_id = {cursor.fetchone()[0]}"
|
||||
|
|
@ -70,16 +67,3 @@ def tickets(ip,name):
|
|||
update_query = update_query.rstrip(", ")
|
||||
update_query += f" WHERE id = {row[0]}"
|
||||
mysql_connect.add_user(update_query,name, row)
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
return None
|
||||
|
||||
tickets(get_local_ip(),"Jaehler-GmbH")
|
||||
35
README.md
35
README.md
|
|
@ -1,34 +1 @@
|
|||
# Python Script Sammlung für REPORTS
|
||||
|
||||
---
|
||||
|
||||
## Funktion
|
||||
|
||||
---
|
||||
Die Scripte sind für das Abrufen von Reports von Server-Systemen.<br>
|
||||
Folgende Scripte sind vorhanden
|
||||
|
||||
- AD-Controller für Active-Direcotory User und Gruppen
|
||||
- Exchange-Server für alle User vom Exchange Server
|
||||
- Terminal-Server für alle User eines RDS-Servers
|
||||
- E-Mail Server für alle SMTP User
|
||||
- Ticket Server für das Abrufen aller Tickets in einem System
|
||||
- Bitwarden Server für das Abrufen aller Aktiven Bitwarden User
|
||||
|
||||
### AD-Controller
|
||||
|
||||
---
|
||||
#### Aufbau:
|
||||
|
||||
Ruft die User und Gruppen über Powershell als CSV ab und sendet diese an den API-Server.<br>
|
||||
|
||||
Funktion für das Abrufen der User
|
||||
> powershell", "-Command",
|
||||
"Get-ADUser -Filter * -Properties * | Export-Csv -NoTypeInformation -Encoding UTF8 -Path 'users.csv"
|
||||
|
||||
Funktion für das Abrufen der Gruppen
|
||||
>"powershell", "-Command",
|
||||
"Get-ADGroupMember -Identity G-RDP-User | Export-Csv -NoTypeInformation -Encoding UTF8 -Path 'group.csv'"
|
||||
|
||||
Über den API "POST" werden die Daten an den MYSQL-Server gesendet.
|
||||
> request_post("dbset", {"query": create_table_query, 'dbname': name})<br>
|
||||
### Python Script für REPORTS
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
import time
|
||||
import os
|
||||
import requests
|
||||
import socket
|
||||
import shutil
|
||||
import zipfile
|
||||
import subprocess
|
||||
def request(function,variable):
|
||||
url = (f"http://api.stines.de:8001/{function}")
|
||||
response = requests.post(url,json = variable,headers={'access_token':'^YWUbG7yX*V!tV^KBSd*2c&vdN3wV9a2i7f3hfGFMBYFxi6#mMiJGiaA5KEHE%B*miK%qb7rQ67gmcYP@gqmux8'})
|
||||
return response
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
return None
|
||||
|
||||
if not os.path.isfile("C:\Scripte\Alive-Check\.alive"):
|
||||
main_folder = "C:\Scripte\Alive-Check\\"
|
||||
try:
|
||||
os.mkdir(main_folder)
|
||||
except:
|
||||
print("Folder exist")
|
||||
shutil.copy("alive_check.exe",main_folder)
|
||||
response = requests.get("https://nssm.cc/release/nssm-2.24.zip", stream=True)
|
||||
with open('C:\Scripte\\nssm.zip', 'wb') as file:
|
||||
for chunk in response.iter_content(chunk_size=8192):
|
||||
file.write(chunk)
|
||||
|
||||
# Entpacken der ZIP-Datei
|
||||
with zipfile.ZipFile('C:\Scripte\\nssm.zip', 'r') as zip_ref:
|
||||
zip_ref.extractall('C:\Scripte\\nssm')
|
||||
|
||||
shutil.move("C:\Scripte\\nssm\\nssm-2.24\win64\\nssm.exe",f"{main_folder}Windows_Dienst_Builder.exe")
|
||||
os.system(f"{main_folder}Windows_Dienst_Builder.exe install STI-Alive-Check {main_folder}alive_check.exe")
|
||||
open(f"{main_folder}.alive", 'a').close()
|
||||
time.sleep(2)
|
||||
print("Remove not Used Files")
|
||||
shutil.rmtree('C:\Scripte\\nssm')
|
||||
os.remove('C:\Scripte\\nssm.zip')
|
||||
|
||||
while True:
|
||||
print(request("ping",{'name':str(socket.gethostname()),'ipaddress':get_local_ip()}).text)
|
||||
time.sleep(60)
|
||||
23
Start.py
23
Start.py
|
|
@ -31,22 +31,19 @@ def add_windows_defender_exception(path):
|
|||
print(f"Failed to add Windows Defender exception. Error: {e}")
|
||||
|
||||
|
||||
print("################################# Start.py #############################")
|
||||
|
||||
try:
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
os.mkdir("C:\\Scripte")
|
||||
except:
|
||||
except:
|
||||
print("Folder Exist")
|
||||
path_to_exclude = "C:\\Scripte"
|
||||
add_windows_defender_exception(path_to_exclude)
|
||||
url_to_file = "https://gitlab.stines.de/sebastian.serfling/REPORTS/raw/branch/main/dist/main.exe"
|
||||
file_name = "C:\\Scripte\\Reports.exe"
|
||||
download_and_run_file(url_to_file, file_name)
|
||||
try:
|
||||
path_to_exclude = "C:\\Scripte"
|
||||
add_windows_defender_exception(path_to_exclude)
|
||||
url_to_file = "https://gitlab.stines.de/sebastian.serfling/REPORTS/raw/branch/main/dist/main.exe"
|
||||
file_name = "C:\\Scripte\\Reports.exe"
|
||||
download_and_run_file(url_to_file, file_name)
|
||||
try:
|
||||
shutil.move("Start.exe","C:\\Scripte\\Start.exe")
|
||||
except:
|
||||
except:
|
||||
print("File was moved!")
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,32 +0,0 @@
|
|||
#!/bin/bash
|
||||
## Ordner anlegen
|
||||
mkdir /root/REPORTS
|
||||
cd /root/REPORTS
|
||||
|
||||
## APT UPDATE
|
||||
apt update
|
||||
apt install python3-pip git -y
|
||||
|
||||
## Add Crontab
|
||||
if [ -f ".crontab" ]; then
|
||||
echo "Gibt es"
|
||||
next
|
||||
else
|
||||
crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab -
|
||||
echo "Gibt es nicht"
|
||||
touch ".crontab"
|
||||
fi
|
||||
|
||||
## Add GIT
|
||||
git init
|
||||
git remote add orgin https://gitlab.stines.de/sebastian.serfling/REPORTS.git
|
||||
git fetch
|
||||
git pull orgin main
|
||||
|
||||
## Install Python
|
||||
python3 -m pip install virtualenv
|
||||
python3 -m virtualenv venv
|
||||
source venv/bin/activate
|
||||
python3 -m pip install requests
|
||||
python3 Service/alive_check.py
|
||||
deactivate
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
202
main.py
202
main.py
|
|
@ -1,86 +1,23 @@
|
|||
from Controller import adcontroller_export, exchange_export, rds_export, smtp_export, zammad
|
||||
import Controller.ssh_tunnel as ssh_tunnel
|
||||
ssh_tunnel.server_start()
|
||||
import socket
|
||||
from Controller import adcontroller_export, exchange_export, rds_export, smtp_export, zammad, system_info
|
||||
import Controller.mysql_connect as mysql_connect
|
||||
import random
|
||||
import subprocess
|
||||
import socket
|
||||
import os
|
||||
import psutil
|
||||
import math
|
||||
import cpuinfo
|
||||
from multiprocessing import freeze_support
|
||||
import requests
|
||||
|
||||
## Gibt Name der Datei zum Debugen aus
|
||||
filename = os.path.basename(__file__)
|
||||
|
||||
def request(function,variable):
|
||||
url = (f"http://127.0.0.1:8000/{function}")
|
||||
response = requests.post(url,json = variable)
|
||||
return response
|
||||
|
||||
|
||||
def get_cpu_sql(cpu):
|
||||
freeze_support()
|
||||
requests = request("cpu_info",{'name':cpu})
|
||||
return requests.json()[0][0]
|
||||
|
||||
def get_ram_info():
|
||||
freeze_support()
|
||||
ram_info = psutil.virtual_memory()
|
||||
total_ram = ram_info.total / (1024 ** 3) # In Gigabytes
|
||||
return math.ceil(total_ram)
|
||||
|
||||
def get_single_hdd(function):
|
||||
freeze_support()
|
||||
used_disk_size = 0
|
||||
disk_partitions = psutil.disk_partitions()
|
||||
print(disk_partitions)
|
||||
partition_return = []
|
||||
for partition in disk_partitions:
|
||||
partition_info = psutil.disk_usage(partition.mountpoint)
|
||||
print(partition.mountpoint.replace("\\",""))
|
||||
if function == "free":
|
||||
space = round(partition_info.free / (1024 ** 3), 2)
|
||||
elif function == "used":
|
||||
space = round(partition_info.used / (1024 ** 3), 2)
|
||||
elif function == "total":
|
||||
space = round(partition_info.total / (1024 ** 3), 2)
|
||||
partition_name = partition.mountpoint.replace(':\\',"")
|
||||
partition_return.append(f"{partition_name}: {space}GB")
|
||||
return partition_return
|
||||
|
||||
def get_total_hdd(function):
|
||||
freeze_support()
|
||||
space = 0
|
||||
disk_partitions = psutil.disk_partitions()
|
||||
for partition in disk_partitions:
|
||||
partition_info = psutil.disk_usage(partition.mountpoint)
|
||||
if function == "free":
|
||||
space += round(partition_info.free / (1024 ** 3), 2)
|
||||
elif function == "used":
|
||||
space += round(partition_info.used / (1024 ** 3), 2)
|
||||
elif function == "total":
|
||||
space += round(partition_info.total / (1024 ** 3), 2)
|
||||
return math.ceil(space)
|
||||
|
||||
def set_system_info(ipadress):
|
||||
freeze_support()
|
||||
cpu = ()
|
||||
cpu = cpuinfo.get_cpu_info()['brand_raw']
|
||||
# print('systeminfo_set',{'ram':get_ram_info(),'prozessor':get_cpu_sql(cpu),'cpu':cpu,'ipaddress':ipadress})
|
||||
single_free_hdd = str(get_single_hdd("free")).replace("['","").replace("]","").replace("'","")
|
||||
single_used_hdd = str(get_single_hdd("used")).replace("['","").replace("]","").replace("'","")
|
||||
single_total_hdd = str(get_single_hdd("total")).replace("['","").replace("]","").replace("'","")
|
||||
print(single_free_hdd)
|
||||
requests = request('systeminfo_set',{'ram':str(get_ram_info()),'prozessor':get_cpu_sql(cpu),'cpu':cpu,'ipaddress':ipadress,'single_free_hdd':single_free_hdd,'single_used_hdd':single_used_hdd,'single_total_hdd':single_total_hdd,'total_free_hdd':get_total_hdd("free"),'total_used_hdd':get_total_hdd("used"),'total_total_hdd':get_total_hdd("total")})
|
||||
print(requests.text)
|
||||
return print("Fin")
|
||||
|
||||
def get_local_ip():
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
local_ip = s.getsockname()[0]
|
||||
s.close()
|
||||
print(local_ip)
|
||||
return local_ip
|
||||
except Exception as e:
|
||||
print(f"Fehler beim Abrufen der lokalen IP-Adresse: {e}")
|
||||
|
|
@ -145,77 +82,68 @@ def create_windows_task(task_name, command, schedule):
|
|||
except subprocess.CalledProcessError as e:
|
||||
print(f"{filename}-Failed to create Windows task. Error: {e}")
|
||||
|
||||
if __name__ == '__main__':
|
||||
freeze_support()
|
||||
try:
|
||||
print(get_local_ip())
|
||||
set_system_info(get_local_ip())
|
||||
except:
|
||||
print("Failed")
|
||||
|
||||
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.5")
|
||||
# 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.5")
|
||||
|
||||
print(f"{filename}-Before Get List")
|
||||
list = request("systeminfo_get",{'ipaddress':get_local_ip()})
|
||||
list = mysql_connect.get_ip(query)
|
||||
print(f"{filename}-Atfer Get IP")
|
||||
#
|
||||
# if list == []:
|
||||
# freeze_support()
|
||||
# query_insert = f"INSERT INTO `Kunden-Server` (Name,`Server-Name`,`IP-Adresse`,Funktion,CPU,RAM,Speicher) VALUES ('unkown','{socket.gethostname()}','{get_local_ip()}','-','','{get_ram_info()}','{get_hdd_info()}')"
|
||||
# print(f"{filename}-List is Empty")
|
||||
# mysql_connect.add_user(query_insert,"Stines-GmbH","")
|
||||
|
||||
print(list.text)
|
||||
#
|
||||
# set_ipaddress = []
|
||||
# print(f"{filename}-Before Row")
|
||||
# # Ergebnisse durchlaufen und ausgeben
|
||||
# for row in list:
|
||||
# name = row[2]
|
||||
# ipadress = row[4]
|
||||
# set_ipaddress = row[4]
|
||||
# lastchange = row[6]
|
||||
# funktion = row[7]
|
||||
# token = row[8]
|
||||
# print(f"{filename}-Inside Row {name}-{funktion}")
|
||||
#
|
||||
# cursor = mysql_connect.get_database()
|
||||
#
|
||||
# # Überprüfen, ob die Datenbank bereits existiert
|
||||
#
|
||||
# database_exists = False
|
||||
# for (db_name,) in cursor:
|
||||
# if name in str(db_name):
|
||||
# database_exists = True
|
||||
# if "-" in str(db_name):
|
||||
# database_exists = True
|
||||
#
|
||||
# # Datenbank erstellen, wenn sie noch nicht existiert
|
||||
# print(f"{filename}-{database_exists}")
|
||||
# if not database_exists:
|
||||
# create_database_query = f"CREATE DATABASE `{name}`"
|
||||
# mysql_connect.create_database(create_database_query,name)
|
||||
# print(f"{filename}-Die Datenbank '`{name}`' wurde erfolgreich erstellt.")
|
||||
# else:
|
||||
# print(f"{filename}-Die Datenbank '`{name}`' existiert bereits.")
|
||||
#
|
||||
# if token is not None:
|
||||
# eval(funktion + '("' + ipadress + '","' + name + '","' + token + '")')
|
||||
# else:
|
||||
# if funktion == "-":
|
||||
# break
|
||||
# else:
|
||||
# eval(funktion + '("' + ipadress + '","' + name + '")')
|
||||
#
|
||||
# # print(f"{filename}-FOR system_info_get: {set_ipaddress}")
|
||||
#
|
||||
#
|
||||
#
|
||||
# print(f"{filename}-FOR schedule: {ipadress}")
|
||||
# task_name = "Reports"
|
||||
# command_to_execute = "C:\\Scripte\\Start.exe"
|
||||
# schedule = f"daily /st 23:{random.randint(0, 59)}" # You can customize the schedule here
|
||||
#
|
||||
# create_windows_task(task_name, command_to_execute, schedule)
|
||||
if list == []:
|
||||
query_insert = f"INSERT INTO `Kunden-Server` (Name,`Server-Name`,`IP-Adresse`,Funktion,CPU,RAM,Speicher) VALUES ('unkown','{socket.gethostname()}','{get_local_ip()}','-','{system_info.get_cpu_info()}','{system_info.get_ram_info()}','{system_info.get_hdd_info()}')"
|
||||
print(f"{filename}-List is Empty")
|
||||
mysql_connect.add_user(query_insert,"Stines-GmbH","")
|
||||
|
||||
set_ipaddress = []
|
||||
print(f"{filename}-Before Row")
|
||||
# Ergebnisse durchlaufen und ausgeben
|
||||
for row in list:
|
||||
name = row[2]
|
||||
ipadress = row[4]
|
||||
set_ipaddress = row[4]
|
||||
lastchange = row[6]
|
||||
funktion = row[7]
|
||||
token = row[8]
|
||||
print(f"{filename}-Inside Row {name}-{funktion}")
|
||||
|
||||
cursor = mysql_connect.get_database()
|
||||
|
||||
# Überprüfen, ob die Datenbank bereits existiert
|
||||
|
||||
database_exists = False
|
||||
for (db_name,) in cursor:
|
||||
if name in str(db_name):
|
||||
database_exists = True
|
||||
if "-" in str(db_name):
|
||||
database_exists = True
|
||||
|
||||
# Datenbank erstellen, wenn sie noch nicht existiert
|
||||
print(f"{filename}-{database_exists}")
|
||||
if not database_exists:
|
||||
create_database_query = f"CREATE DATABASE `{name}`"
|
||||
mysql_connect.create_database(create_database_query,name)
|
||||
print(f"{filename}-Die Datenbank '`{name}`' wurde erfolgreich erstellt.")
|
||||
else:
|
||||
print(f"{filename}-Die Datenbank '`{name}`' existiert bereits.")
|
||||
|
||||
if token is not None:
|
||||
eval(funktion + '("' + ipadress + '","' + name + '","' + token + '")')
|
||||
else:
|
||||
if funktion == "-":
|
||||
break
|
||||
else:
|
||||
eval(funktion + '("' + ipadress + '","' + name + '")')
|
||||
|
||||
print(f"{filename}-FOR system_info_get: {set_ipaddress}")
|
||||
system_info.set_system_info(f"{set_ipaddress}")
|
||||
|
||||
task_name = "Reports"
|
||||
command_to_execute = "C:\\Scripte\\Start.exe"
|
||||
schedule = f"daily /st 23:{random.randint(0, 59)}" # You can customize the schedule here
|
||||
|
||||
create_windows_task(task_name, command_to_execute, schedule)
|
||||
|
||||
ssh_tunnel.server_stop()
|
||||
Loading…
Reference in New Issue