Sauvegarde WAPT

This commit is contained in:
sylvain
2018-11-16 09:30:28 +01:00
parent 6833cf5775
commit bdcf6ee87d
515 changed files with 50348 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDJjCCAg6gAwIBAgIUAnGNTJYwZIgvuxMgYrGJ2vgOpm8wDQYJKoZIhvcNAQEL
BQAwHzELMAkGA1UEBhMCRlIxEDAOBgNVBAMMB1dBUFRNTUkwHhcNMTgxMTE1MTAw
NjQ2WhcNMjgxMTEyMTAwNjQ2WjAfMQswCQYDVQQGEwJGUjEQMA4GA1UEAwwHV0FQ
VE1NSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMGwlmiEwQoEfkJJ
cxemIzWU3zajf8PI3ebRkoTlCJIQTXe6Cf5I/pi1fs3duHxrpe82TYGYpHM8Tusk
B6NZjwy88/o1nHGhbNRciNfC05Yf9YSpsSv11tZ/DiGk6o519H219pgZZoo59ndZ
m97m/3Zv2JsCxEw+s5q5a96tiHyXycQwFii7uRW9KX0UWwvlf2IkUzwUaCng+p2k
CaRKOGEV9smmHHGDLAAzYwVAYsxfkCXUIP9535iTjxdFjPngldLhHNeULTFLU9oP
c/OMx9sQ5u1SiPqOcsI6XYRw1dqrOII/f/KubVBxLfm1v1GPgjjc2cja4uk/MZJE
9upPPi0CAwEAAaNaMFgwDwYDVR0TAQH/BAUwAwEB/zAWBgNVHSUBAf8EDDAKBggr
BgEFBQcDAzAdBgNVHQ4EFgQU8swJUILhtjuSJrbt8notOpeNFBQwDgYDVR0PAQH/
BAQDAgHWMA0GCSqGSIb3DQEBCwUAA4IBAQBgLnW5KRFdcz4UuBNgH4EuBtoot0C7
al/grQog+63hwh1idIgFlhG5Hweijb1vNYxlKOWxxj2CibKxYKq556V3sdVSoRd6
4QIaJpScCZZ5CYvGYsAqxv1/axrQ1FH4nmkr6lq6pDzpBInljNNCRfzBLRl8Eknj
gMu6/7DctNCpnirwzQnBH/N6oWOfaingJQxNoWaXZ6Pa9WDTqXAsJDUDWT4MCBZV
IZ+oHhuDZTIQwje5htN9sAhUU3C/8zLW9qqk7PWKd3Xdoyxqz2w4gCzgqtLgHoEF
ofweSDUxjOI+3LSAhbz4lTSqMsEOCiGZvLgamKDbmVDchsdczjIi+dHC
-----END CERTIFICATE-----

View File

@@ -0,0 +1,33 @@
package : waptiut-gpo-enable-rdp
version : 2017-2
architecture : all
section : base
priority : optional
maintainer : WAPTCONSOLE
description : Automatic package for gpo-enable-RDP
depends :
conflicts :
maturity :
locale :
target_os :
min_os_version :
max_os_version :
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 055c6637-3eed-46cc-ab98-05dc8c6b3f03
signer : WAPTMMI
signer_fingerprint: db2bbf0cb068dd33d192a6f70e70327460559c5fc08839c1c5199b8c6052e6b7
signature : bzeNTiVuyhhBqoXPf7ydIvgvb+S9n9GH8BeSrFIWZ4dUHF0tyLYCiYCm9tA7gzAP3Tom6mM+n1hQgi6t8NCNRaG/uVosSy2cCTBllR4uEcEbH+tg5B+BaROCJT4pgeQhfTrVunq1H01pmQfblJVoggErac+zyMzuxHodcOfU4CJTOxOY7GqKOtXvpKRJgNQO9mwripaBan6IDGeWMS5jWIo6NdewC6yC0q748h9wS4lwmQp7S2ebAIBbEplL9sAPV2rE9p8jb7Y98gw7cLoIHMEryu+lCW8JxjifMX3icX30g/VghGC9300nENR9OEw6ssUlIrEfKYdP64mI0a0Klg==
signature_date : 20181115-145836
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,audit_schedule,editor,keywords,licence,homepage,package_uuid,signer,signer_fingerprint,signature_date,signed_attributes

View File

@@ -0,0 +1 @@
[["setup.py", "6ea1a341ceed6082959a9ab3f6c9f1604e0b122d"], ["WAPT/certificate.crt", "ec05a54f80016d68bb835490a34a9318f591b06d"], ["WAPT/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["WAPT/control", "0884706fd9468f938a31a5adcafc61bff7080a77"]]

View File

@@ -0,0 +1 @@
[["setup.py", "fb8c044da2729dc61543a87197736ca5d78b5158434ab4e404ed7e7321ad5dc1"], ["WAPT/certificate.crt", "4587acaa1ada3e531deb130c670c4967a52e64ad30a425c6fd8ae7a17c9fab10"], ["WAPT/wapt.psproj", "795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b"], ["WAPT/control", "3bc03ab44b6b4ade41b779eb4ccebd3950977fcf16cc83097712c71ff7bad9d0"]]

View File

@@ -0,0 +1,5 @@
FCB1MtcMjdg2AScQY1lBwFO+QoytOanaoGAdrXAkT/gqBJLVA0L/HSihjzY9+NFI/ff5UYDKS+Ej
2NKcOkQzmZbFvIIy1dY8Iyim3JXLttJOW3BJ1gn0UTE70G8PLOYa0qHpyefg0fSvcMWK32ZnMsYG
NhtmoZNQmJMMVaKwnXstWbIaReby4qX3gDgkdiFvbhtE4s+unfxoH4zr7BErIiv1Hv84V8UFNPmq
NONRFaJT2zk+lv/ICMiIRDKt9NCjxZ2ZeTWXMrCbBvRaIGiAKAelowW6hIepuLmOAOGN1BdSc95p
6oFSNbWiltSTqogKjbld+ZsY8HkOYx+X09Z0fQ==

View File

@@ -0,0 +1,5 @@
pz2z6cXeTW0typ7Plmu5URpP1MCTJ6asySUT22KwScqUlXI37d1cvbnI0piSz8TXoo/X85zkVp6d
ra4uiSOW8TJH7ZGCOzKoTncMWL+P8gb5deGOgkXa85MaZnz9Q9oZ5IHp3r4lAPms7ZFJDFRbXhec
WsX5vVGbFIxo2+ceaAMkgJwmfb/46UgikG1serQb2yaiXe9TKi4kXrTRrJ95f8TB6BUwLzBCAB1s
NDQAYHAgD9jKwA/C00Pwz/esPKJFaWGLjRB8V8svbny4O7bKEeZWnI4M32MluiEJ4mKiHxT/ivLQ
WpGaVcQaIm/vXhYyHbx73SCAp8Gf7PazGgdpvQ==

View File

@@ -0,0 +1,295 @@
[PyScripter]
Version=3.3.2.0
[Project]
ClassName=TProjectRootNode
StoreRelativePaths=TRUE
ShowFileExtensions=FALSE
[Project\ChildNodes\Node0]
ClassName=TProjectFilesNode
[Project\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFolderNode
Name=wapt
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\common.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\setuphelpers.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.ini
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node4]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\waptpackage.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes]
Count=5
[Project\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=$[Project-Path]changelog.txt
[Project\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=$[Project-Path]control
[Project\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=$[Project-Path]..\setup.py
[Project\ChildNodes\Node0\ChildNodes]
Count=4
[Project\ChildNodes\Node1]
ClassName=TProjectRunConfiguationsNode
[Project\ChildNodes\Node1\ChildNodes\Node0]
ClassName=TProjectRunConfiguationNode
Name=install
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=install "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node1]
ClassName=TProjectRunConfiguationNode
Name=remove
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=remove "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node2]
ClassName=TProjectRunConfiguationNode
Name=session-setup
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=session-setup "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node3]
ClassName=TProjectRunConfiguationNode
Name=update
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node4]
ClassName=TProjectRunConfiguationNode
Name=upgrade
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-f upgrade
WorkingDir=$[ActiveScript-Dir]
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node5]
ClassName=TProjectRunConfiguationNode
Name=-i build-upload
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-i build-upload "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node6]
ClassName=TProjectRunConfiguationNode
Name=svn update
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node7]
ClassName=TProjectRunConfiguationNode
Name=uninstall
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=uninstall "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[Project-Path]..
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node8]
ClassName=TProjectRunConfiguationNode
Name=update-package-sources
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update-package-sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node9]
ClassName=TProjectRunConfiguationNode
Name=audit
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=audit "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes]
Count=10
[Project\ChildNodes]
Count=2
[Project\ExtraPythonPath]
Count=0

12
gpo-enable-rdp/setup.py Normal file
View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('Activation de RDP')
registry_set(HKEY_LOCAL_MACHINE,r'SYSTEM\CurrentControlSet\Control\Terminal Server',r'fDenyTSConnections',0,type=REG_DWORD)
def uninstall():
print('desactivation de RDP')
registry_set(HKEY_LOCAL_MACHINE,r'SYSTEM\CurrentControlSet\Control\Terminal Server',r'fDenyTSConnections',1,type=REG_DWORD)