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.

ml/features/featureStore.js

JavaScript · 7,751 bytes
function createFeatureStoreState() { return { name: 'featureStore', entries: {}, order: [] } }
function setFeatureStoreEntry(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 getFeatureStoreEntry(state, id) { return state.entries[id] || null }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

function featureStoreWorker29(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 = { createFeatureStoreState, setFeatureStoreEntry, getFeatureStoreEntry, featureStoreWorker1, featureStoreWorker2, featureStoreWorker3, featureStoreWorker4, featureStoreWorker5, featureStoreWorker6, featureStoreWorker7, featureStoreWorker8, featureStoreWorker9, featureStoreWorker10, featureStoreWorker11, featureStoreWorker12, featureStoreWorker13, featureStoreWorker14, featureStoreWorker15, featureStoreWorker16, featureStoreWorker17, featureStoreWorker18, featureStoreWorker19, featureStoreWorker20, featureStoreWorker21, featureStoreWorker22, featureStoreWorker23, featureStoreWorker24, featureStoreWorker25, featureStoreWorker26, featureStoreWorker27, featureStoreWorker28, featureStoreWorker29 }
// tweak 1383641435
// tweak 1155655815
// tweak 1294654168
// tweak 949873853
// tweak 2063238147
// tweak 2124233485