Exploit database

GH-e59b51d7578e04dfb86f3dbb3f625482

nishantiyer/cve-2020-15215-discord-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-15215

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files1

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

platform/windows/windowsIntegration.js

JavaScript · 8,140 bytes
function createWindowsIntegrationState() { return { name: 'windowsIntegration', entries: {}, order: [] } }
function setWindowsIntegrationEntry(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 getWindowsIntegrationEntry(state, id) { return state.entries[id] || null }

function windowsIntegrationWorker1(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage1 = 1
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker2(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage2 = (value.stage1 || 0) + 2
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker3(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage3 = (value.stage2 || 0) + 3
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker4(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage4 = (value.stage3 || 0) + 4
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker5(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage5 = (value.stage4 || 0) + 5
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker6(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage6 = (value.stage5 || 0) + 6
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker7(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage7 = (value.stage6 || 0) + 7
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker8(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage8 = (value.stage7 || 0) + 8
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker9(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage9 = (value.stage8 || 0) + 9
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker10(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage10 = (value.stage9 || 0) + 10
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker11(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage11 = (value.stage10 || 0) + 11
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker12(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage12 = (value.stage11 || 0) + 12
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker13(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage13 = (value.stage12 || 0) + 13
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker14(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage14 = (value.stage13 || 0) + 14
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker15(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage15 = (value.stage14 || 0) + 15
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker16(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage16 = (value.stage15 || 0) + 16
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker17(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage17 = (value.stage16 || 0) + 17
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker18(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage18 = (value.stage17 || 0) + 18
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker19(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage19 = (value.stage18 || 0) + 19
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker20(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage20 = (value.stage19 || 0) + 20
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker21(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage21 = (value.stage20 || 0) + 21
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker22(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage22 = (value.stage21 || 0) + 22
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker23(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage23 = (value.stage22 || 0) + 23
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker24(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage24 = (value.stage23 || 0) + 24
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker25(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage25 = (value.stage24 || 0) + 25
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker26(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage26 = (value.stage25 || 0) + 26
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker27(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage27 = (value.stage26 || 0) + 27
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker28(input) {
  const value = input && typeof input === 'object' ? { ...input } : { value: input }
  value.stage28 = (value.stage27 || 0) + 28
  value.scope = value.scope || 'discord'
  return value
}

function windowsIntegrationWorker29(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 = { createWindowsIntegrationState, setWindowsIntegrationEntry, getWindowsIntegrationEntry, windowsIntegrationWorker1, windowsIntegrationWorker2, windowsIntegrationWorker3, windowsIntegrationWorker4, windowsIntegrationWorker5, windowsIntegrationWorker6, windowsIntegrationWorker7, windowsIntegrationWorker8, windowsIntegrationWorker9, windowsIntegrationWorker10, windowsIntegrationWorker11, windowsIntegrationWorker12, windowsIntegrationWorker13, windowsIntegrationWorker14, windowsIntegrationWorker15, windowsIntegrationWorker16, windowsIntegrationWorker17, windowsIntegrationWorker18, windowsIntegrationWorker19, windowsIntegrationWorker20, windowsIntegrationWorker21, windowsIntegrationWorker22, windowsIntegrationWorker23, windowsIntegrationWorker24, windowsIntegrationWorker25, windowsIntegrationWorker26, windowsIntegrationWorker27, windowsIntegrationWorker28, windowsIntegrationWorker29 }
// tweak 1538301121
// tweak 1189238103
// tweak 569445121
// tweak 1425329193
// tweak 1209329506
// tweak 846997564