Exploit databaseDownload repository ZIP
GH-8c7f0e4b0e998904a1d6f7dcd99e3e7d
d-xuan/cve-2024-52510
Sources for CVE-2024-52510
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files40
d-xuan/cve-2024-52510Revision 6c0d89756ae0
- ↑..Parent directory
- configModel.js
- controller.js
- view.js
- wizard.js
- wizardDetectorAvailableAttributes.js
- wizardDetectorBaseDN.js
- wizardDetectorClearGroupMappings.js
- wizardDetectorClearUserMappings.js
- wizardDetectorEmailAttribute.js
- wizardDetectorFeatureAbstract.js
- wizardDetectorFilterGroup.js
- wizardDetectorFilterLogin.js
- wizardDetectorFilterUser.js
- wizardDetectorGeneric.js
- wizardDetectorGroupCount.js
- wizardDetectorGroupObjectClasses.js
- wizardDetectorGroupsForGroups.js
- wizardDetectorGroupsForUsers.js
- wizardDetectorPort.js
- wizardDetectorQueue.js
- wizardDetectorSimpleRequestAbstract.js
- wizardDetectorTestAbstract.js
- wizardDetectorTestBaseDN.js
- wizardDetectorTestConfiguration.js
- wizardDetectorTestLoginName.js
- wizardDetectorUserCount.js
- wizardDetectorUserDisplayNameAttribute.js
- wizardDetectorUserGroupAssociation.js
- wizardDetectorUserObjectClasses.js
- wizardFilterOnType.js
- wizardFilterOnTypeFactory.js
- wizardObject.js
- wizardTabAbstractFilter.js
- wizardTabAdvanced.js
- wizardTabElementary.js
- wizardTabExpert.js
- wizardTabGeneric.js
- wizardTabGroupFilter.js
- wizardTabLoginFilter.js
- wizardTabUserFilter.js
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
apps/user_ldap/js/wizard/wizardDetectorTestAbstract.js
JavaScript · 1,682 bytes/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2015 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
OCA = OCA || {};
(function() {
/**
* @classdesc a Port Detector. It executes the auto-detection of the port
* by the Nextcloud server, if requirements are met.
*
* @constructor
*/
var WizardDetectorTestAbstract = OCA.LDAP.Wizard.WizardDetectorGeneric.subClass({
isLegacy: false,
/**
* runs the test
*
* @param {OCA.LDAP.Wizard.ConfigModel} model
* @param {string} configID - the configuration prefix
* @param {Object} params - additional parameters needed to send to the
* wizard
* @returns {boolean|jqXHR}
* @abstract
*/
run: function(model, configID, params) {
if(_.isUndefined(this.wizardMethod) && !this.isLegacy) {
console.warn('wizardMethod not set! ' + this.constructor);
return false;
}
model.notifyAboutDetectionStart(this.getTargetKey());
params = params || {};
params = OC.buildQueryString($.extend({
action: this.wizardMethod,
ldap_serverconfig_chooser: configID
}, params));
if(!this.isLegacy) {
return model.callWizard(params, this.processResult, this);
} else {
return model.callAjax(this.legacyDestination, params, this.processResult, this);
}
},
/**
* @inheritdoc
*/
processResult: function(model, detector, result) {
model['notifyAboutDetectionCompletion'](detector.getTargetKey());
var payload = {
feature: detector.testName,
data: result
};
model.inform(payload);
}
});
OCA.LDAP.Wizard.WizardDetectorTestAbstract = WizardDetectorTestAbstract;
})();