From 7346236e084dcee174a0a2bbca8b5977aee10207 Mon Sep 17 00:00:00 2001 From: jonbranan <72183655+jonbranan@users.noreply.github.com> Date: Thu, 5 May 2022 09:55:30 -0500 Subject: [PATCH] Delete txt directory --- txt/ARM-Connection.log | 2 - txt/ListUserInfo_csv_1.1.txt | 56 ------------------------ txt/ListUserInfo_csv_1.2.vbs.txt | 73 ------------------------------- txt/SSHSSL-passphrase.txt | 31 ------------- txt/dmz thread dump.bat.txt | 2 - txt/passphrase.zip.txt | Bin 574 -> 0 bytes txt/removefolder.vbs.txt | 46 ------------------- txt/virtual_folders.txt | 1 - 8 files changed, 211 deletions(-) delete mode 100644 txt/ARM-Connection.log delete mode 100644 txt/ListUserInfo_csv_1.1.txt delete mode 100644 txt/ListUserInfo_csv_1.2.vbs.txt delete mode 100644 txt/SSHSSL-passphrase.txt delete mode 100644 txt/dmz thread dump.bat.txt delete mode 100644 txt/passphrase.zip.txt delete mode 100644 txt/removefolder.vbs.txt delete mode 100644 txt/virtual_folders.txt diff --git a/txt/ARM-Connection.log b/txt/ARM-Connection.log deleted file mode 100644 index bbdd6f4..0000000 --- a/txt/ARM-Connection.log +++ /dev/null @@ -1,2 +0,0 @@ -11/09/2020 12:06:53 -06:00 ARM Test Connection Succeeded. -11/09/2020 12:06:53 -06:00 ARM Is Connected. diff --git a/txt/ListUserInfo_csv_1.1.txt b/txt/ListUserInfo_csv_1.1.txt deleted file mode 100644 index 481368c..0000000 --- a/txt/ListUserInfo_csv_1.1.txt +++ /dev/null @@ -1,56 +0,0 @@ -' -' FILE: ListUserInfo.vbs -' CREATED: 6-8-2012 (dransom@globalscape.com) -' UPDATED: 6-5-2014 (jhulme@globalscape.com) -' VERSION: 1.1 *added Settings template membership | Test against 6.5.x -' PURPOSE: Modified script that creates CSV file for users -' Tested against EFT Server Versions 6.3.x / 6.4.x / 6.5.x -' Provides the following information: -' Username, Description, Email,Account Creation, Disk Quota, Used space, Home Directory, Settings template membership, Last Connection Time -' **This script is provided AS IS to our customers as a courtesy no support is provided in modifying or debugging this script. -' -' -Set SFTPServer = WScript.CreateObject("SFTPCOMInterface.CIServer") -CRLF = (Chr(13)& Chr(10)) -'Modify the following variables to match your environment - txtServer = "localhost" - txtPort = "1100" - txtUserName = "EFTADMIN" - txtPassword = "EFTADMIN@123#" - txtSiteName = "cibil.co.in" - txtMyOutputFileName = ""D:\scriptlatest\EFT-Users-2017.csv" - -SFTPServer.Connect txtServer, txtPort, txtUserName, txtPassword -If Err.Number <> 0 Then - WScript.Echo "Error connecting to '" & txtServer & ":" & txtPort & "' -- " & err.Description & " [" & CStr(err.Number) & "]", vbInformation, "Error" - WScript.Quite(255) -Else - WScript.Echo "Connected to " & txtServer -End If -set Sites=SFTPServer.Sites - -'open output file -Set myFSO = CreateObject("Scripting.FileSystemObject") -Set WriteStuff = myFSO.OpenTextFile(txtMyOutputFileName, 8, True) - -'write data to a file -For i = 0 to SFTPServer.Sites.Count-1 - set theSite=Sites.Item(i) - if LCase(Trim(theSite.Name)) = LCase(Trim(txtSiteName)) then - WriteStuff.WriteLine("Users for " & theSite.Name & ":") - WriteStuff.WriteLine("Username,Description,Email,Account Creation, Disk Quota, Used space, Home Directory, Settings Template, Last Connection Time, Enabled") - arUsers = theSite.GetUsers() - For j = LBound(arUsers) to UBound(arUsers) - set userSettings = theSite.GetUserSettings(arUsers(j)) - WriteStuff.WriteLine(arUsers(j) & ", " & userSettings.GetDescription & ", " & userSettings.Email & ", " & userSettings.AccountCreationTime & ", " & userSettings.GetMaxSpace & ", " & userSettings.GetUsedSpace & ", " & userSettings.GetHomeDirString & ", " & theSite.GetUserSettingsLevel(arUsers(j)) & ", " & userSettings.LastConnectionTime & ", " & userSettings.GetEnableAccount) - Next - end if -Next - -'Close all variables -WriteStuff.Close -SFTPServer.Close -Set theSite = nothing -Set SFTPServer = nothing -SET WriteStuff = NOTHING -SET myFSO = NOTHING \ No newline at end of file diff --git a/txt/ListUserInfo_csv_1.2.vbs.txt b/txt/ListUserInfo_csv_1.2.vbs.txt deleted file mode 100644 index 6c61f38..0000000 --- a/txt/ListUserInfo_csv_1.2.vbs.txt +++ /dev/null @@ -1,73 +0,0 @@ -' -' FILE: ListUserInfo.vbs -' CREATED: 6-8-2012 (dransom@globalscape.com) -' UPDATED: 6-5-2014 (jhulme@globalscape.com) -' VERSION: 1.1 *added Settings template membership | Test against 6.5.x -' VERSION: 1.2 *added Added enabled/disabled -' PURPOSE: Modified script that creates CSV file for users -' Tested against EFT Server Versions 6.3.x / 6.4.x / 6.5.x -' Provides the following information: -' Username, Description, Email,Account Creation, Disk Quota, Used space, Home Directory, Settings template membership, Last Connection Time -' **This script is provided AS IS to our customers as a courtesy no support is provided in modifying or debugging this script. -' -' -Set SFTPServer = WScript.CreateObject("SFTPCOMInterface.CIServer") -CRLF = (Chr(13)& Chr(10)) -'Modify the following variables to match your environment - txtServer = "localhost" - txtPort = "1100" - txtUserName = "eftadmin" - txtPassword = "a" - txtSiteName = "GS" - txtMyOutputFileName = "EFT-Users.csv" - -SFTPServer.Connect txtServer, txtPort, txtUserName, txtPassword -If Err.Number <> 0 Then - WScript.Echo "Error connecting to '" & txtServer & ":" & txtPort & "' -- " & err.Description & " [" & CStr(err.Number) & "]", vbInformation, "Error" - WScript.Quite(255) -Else - WScript.Echo "Connected to " & txtServer -End If -set Sites=SFTPServer.Sites - -'open output file -Set myFSO = CreateObject("Scripting.FileSystemObject") -Set WriteStuff = myFSO.OpenTextFile(txtMyOutputFileName, 8, True) - -'write data to a file -For i = 0 to SFTPServer.Sites.Count-1 - set theSite=Sites.Item(i) - if LCase(Trim(theSite.Name)) = LCase(Trim(txtSiteName)) then - WriteStuff.WriteLine("Users for " & theSite.Name & ":") - WriteStuff.WriteLine("Username,Description,Email,Account Creation, Disk Quota, Used space, Home Directory, Settings Template, Last Connection Time, Enabled") - arUsers = theSite.GetUsers() - For j = LBound(arUsers) to UBound(arUsers) - set userSettings = theSite.GetUserSettings(arUsers(j)) - - 'Is the account enabled? - if userSettings.GetEnableAccount = true then - txtEnable = "enabled" - else - txtEnable = "disabled" - end if - - if userSettings.GetEnableDiskQuota = 1 then - txtQuota = "enabled" - else if userSettings.GetEnableDiskQuota = 0 then - txtQuota = "Disabled" - else - txtQuota = "Inherited" - end if - - WriteStuff.WriteLine(arUsers(j) & ", " & userSettings.GetDescription & ", " & userSettings.Email & ", " & userSettings.AccountCreationTime & ", " & userSettings.GetMaxSpace & ", " & userSettings.GetUsedSpace & ", " & userSettings.GetHomeDirString & ", " & theSite.GetUserSettingsLevel(arUsers(j)) & ", " & userSettings.LastConnectionTime & ", " & txtEnable) - Next - end if -Next - -'Close all variables -WriteStuff.Close -SFTPServer.Close -Set theSite = nothing -Set SFTPServer = nothing -SET WriteStuff = NOTHING -SET myFSO = NOTHING \ No newline at end of file diff --git a/txt/SSHSSL-passphrase.txt b/txt/SSHSSL-passphrase.txt deleted file mode 100644 index 1de92e0..0000000 --- a/txt/SSHSSL-passphrase.txt +++ /dev/null @@ -1,31 +0,0 @@ -' - -' -Set SFTPServer = WScript.CreateObject("SFTPCOMInterface.CIServer") - txtServer = "localhost" - txtPort = "1100" - txtUserName = "test" - txtPassword = "test" - -' On Error Resume Next -SFTPServer.Connect txtServer, txtPort, txtUserName, txtPassword -If Err.Number <> 0 Then - WScript.Echo "Error connecting to '" & txtServer & ":" & txtPort & "' -- " & err.Description & " [" & CStr(err.Number) & "]", vbInformation, "Error" - WScript.Quite(255) -Else - WScript.Echo "Connected to " & txtServer -End If -set Sites=SFTPServer.Sites - -For i = 0 to SFTPServer.Sites.Count-1 - set theSite=Sites.Item(i) - SFTPhrase = theSite.SFTPKeyPassphrase - SSLPassphrase = theSite.GetPassPhrase() - Wscript.Echo theSite.Name & "SFTP Passphrase " & SFTPhrase - Wscript.Echo theSite.Name & "SSL Passphrase " & SSLPassphrase -Next - -Set theSite = nothing -Set SFTPServer = nothing -SET WriteStuff = NOTHING -SET myFSO = NOTHING \ No newline at end of file diff --git a/txt/dmz thread dump.bat.txt b/txt/dmz thread dump.bat.txt deleted file mode 100644 index e4aedaf..0000000 --- a/txt/dmz thread dump.bat.txt +++ /dev/null @@ -1,2 +0,0 @@ -cd “CProgram FilesGlobalSCAPEDMZ Gatewaybin” -DMZGatewayServerService.exe -d “CProgram FilesGlobalSCAPEDMZ GatewayconfDMZGatewayServerService.conf” \ No newline at end of file diff --git a/txt/passphrase.zip.txt b/txt/passphrase.zip.txt deleted file mode 100644 index 0ee0fd6ce49dc02b86d6a3f2a2b8527c08d8b852..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 574 zcmWIWW@Zs#U|`^2IOez2rKd!^_5dRT!&YVn20ox@L1J-nK}JzxajITfQgLsvZ~klt z0bB9T{|2|5eN=khc7_3WbC#$$()wpAav#MTu2=#9IQ?yFTAhFy~v zI?eel$8aOv+OVTptJ`^PkEr{bs7!B;j;BQ%XDqVkeYGWHVz$n%m#v2NQ|?(a%xv{J z6qUX7p_s3Gs-|7^tArx?qh4N{s*8l>jyi|ymzdV*ubg4#wY$vypM8BJYfko*y)z%1 zTuWW+!1Ly(-o&Ywau2?IxI+J)#O{|;-3O0%bKg4rE8&Ce^~WIv=gaQzSSqx$eaR== z!|4t_X-|7L^M80@ex=m;bcDg-`iEt4HD}Je{?5Op7Y!mAWwhoUdh*2n)aTXp zt75bFna_FjVa~CvPuf%0zVx|QnW~<$x7FJB<<7UOx+a+1uJgWhnlUrptg?)2A5(xg nBa;XN?$`!KI0GYt0*C?v)VL4uW@Q73G6JCukbVP9B@7GzPN@7- diff --git a/txt/removefolder.vbs.txt b/txt/removefolder.vbs.txt deleted file mode 100644 index e826d0f..0000000 --- a/txt/removefolder.vbs.txt +++ /dev/null @@ -1,46 +0,0 @@ -Set SFTPServer = WScript.CreateObject("SFTPCOMInterface.CIServer") - -CRLF = (Chr(13)& Chr(10)) -txtServer = "192.168.102.28" -txtPort = "1100" -txtAdminUserName = "eftadmin" -txtPassword = "a" - -If Not Connect(txtServer, txtPort, txtAdminUserName, txtPassword) Then - WScript.Quit(0) -End If -siteName = "GS" -set selectedSite = Nothing -set sites = SFTPServer.Sites() -For i = 0 To sites.Count -1 - set site = sites.Item(i) - If site.Name = siteName Then - set selectedSite = site - Exit For - End If -Next - -If Not selectedSite Is Nothing Then - -selectedSite.RemoveFolder("/usr/folder") - -End If - -SFTPServer.Close -Set SFTPServer = nothing - -Function Connect (serverOrIpAddress, port, username, password) - - On Error Resume Next - Err.Clear - - SFTPServer.Connect serverOrIpAddress, port, username, password - - If Err.Number <> 0 Then - WScript.Echo "Error connecting to '" & serverOrIpAddress & ":" & port & "' -- " & err.Description & " [" & CStr(err.Number) & "]", vbInformation, "Error" - Connect = False - Exit Function - End If - - Connect = True -End Function \ No newline at end of file diff --git a/txt/virtual_folders.txt b/txt/virtual_folders.txt deleted file mode 100644 index f6d86ba..0000000 --- a/txt/virtual_folders.txt +++ /dev/null @@ -1 +0,0 @@ -VFS Path, Physical Path, Folder Status