Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/german-vocational.cn/core/tests/Drupal/Nightwatch/Commands/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/german-vocational.cn/core/tests/Drupal/Nightwatch/Commands/drupalLogout.js

import { execSync } from 'child_process';
import { URL } from 'url';

/**
 * Logs out from a Drupal site.
 *
 * @param {object} [settings={}]
 *   The settings object.
 * @param {boolean} [settings.silent=false]
 *   If the command should be run silently.
 * @param {function} callback
 *   A callback which will be called, when the logout is finished.
 * @return {object}
 *   The drupalLogout command.
 */
exports.command = function drupalLogout({ silent = false } = {}, callback) {
  const self = this;

  this.drupalRelativeURL('/user/logout');

  this.drupalUserIsLoggedIn(sessionExists => {
    if (silent) {
      if (sessionExists) {
        throw new Error('Logging out failed.');
      }
    } else {
      this.assert.equal(sessionExists, false, 'The user was logged out.');
    }
  });

  if (typeof callback === 'function') {
    callback.call(self);
  }

  return this;
};

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net