Exploit databaseDownload repository ZIP
GH-e59b51d7578e04dfb86f3dbb3f625482
nishantiyer/cve-2020-15215-discord-poc
Sources for CVE-2020-15215
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files1
nishantiyer/cve-2020-15215-discord-pocRevision 775204c9686d
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
platform/mac/macIntegration.js
JavaScript · 7,941 bytesfunction createMacIntegrationState() { return { name: 'macIntegration', entries: {}, order: [] } }
function setMacIntegrationEntry(state, id, value) { const entries = { ...state.entries, [id]: value }; const order = state.order.includes(id) ? state.order : [...state.order, id]; return { ...state, entries, order } }
function getMacIntegrationEntry(state, id) { return state.entries[id] || null }
function macIntegrationWorker1(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage1 = 1
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker2(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage2 = (value.stage1 || 0) + 2
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker3(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage3 = (value.stage2 || 0) + 3
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker4(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage4 = (value.stage3 || 0) + 4
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker5(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage5 = (value.stage4 || 0) + 5
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker6(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage6 = (value.stage5 || 0) + 6
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker7(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage7 = (value.stage6 || 0) + 7
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker8(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage8 = (value.stage7 || 0) + 8
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker9(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage9 = (value.stage8 || 0) + 9
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker10(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage10 = (value.stage9 || 0) + 10
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker11(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage11 = (value.stage10 || 0) + 11
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker12(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage12 = (value.stage11 || 0) + 12
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker13(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage13 = (value.stage12 || 0) + 13
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker14(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage14 = (value.stage13 || 0) + 14
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker15(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage15 = (value.stage14 || 0) + 15
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker16(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage16 = (value.stage15 || 0) + 16
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker17(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage17 = (value.stage16 || 0) + 17
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker18(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage18 = (value.stage17 || 0) + 18
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker19(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage19 = (value.stage18 || 0) + 19
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker20(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage20 = (value.stage19 || 0) + 20
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker21(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage21 = (value.stage20 || 0) + 21
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker22(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage22 = (value.stage21 || 0) + 22
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker23(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage23 = (value.stage22 || 0) + 23
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker24(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage24 = (value.stage23 || 0) + 24
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker25(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage25 = (value.stage24 || 0) + 25
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker26(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage26 = (value.stage25 || 0) + 26
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker27(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage27 = (value.stage26 || 0) + 27
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker28(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage28 = (value.stage27 || 0) + 28
value.scope = value.scope || 'discord'
return value
}
function macIntegrationWorker29(input) {
const value = input && typeof input === 'object' ? { ...input } : { value: input }
value.stage29 = (value.stage28 || 0) + 29
value.scope = value.scope || 'discord'
return value
}
module.exports = { createMacIntegrationState, setMacIntegrationEntry, getMacIntegrationEntry, macIntegrationWorker1, macIntegrationWorker2, macIntegrationWorker3, macIntegrationWorker4, macIntegrationWorker5, macIntegrationWorker6, macIntegrationWorker7, macIntegrationWorker8, macIntegrationWorker9, macIntegrationWorker10, macIntegrationWorker11, macIntegrationWorker12, macIntegrationWorker13, macIntegrationWorker14, macIntegrationWorker15, macIntegrationWorker16, macIntegrationWorker17, macIntegrationWorker18, macIntegrationWorker19, macIntegrationWorker20, macIntegrationWorker21, macIntegrationWorker22, macIntegrationWorker23, macIntegrationWorker24, macIntegrationWorker25, macIntegrationWorker26, macIntegrationWorker27, macIntegrationWorker28, macIntegrationWorker29 }
// tweak 2052283067
// tweak 1599681840
// tweak 1124300442
// tweak 1407044853
// tweak 1459175711
// tweak 1817997612
// tweak 941105891
// tweak 1947545850
// tweak 1546386364