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.
state/core/reducerEngine.js
JavaScript · 8,633 bytesfunction runReducers(state, reducers, action) { return reducers.reduce((s, r) => r(s, action), state) }
function chainReducers(...reducers) { return reducers }
function reducerEngineExtra1(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step1 = 1
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra2(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step2 = (value.step1 || 0) + 2
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra3(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step3 = (value.step2 || 0) + 3
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra4(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step4 = (value.step3 || 0) + 4
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra5(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step5 = (value.step4 || 0) + 5
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra6(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step6 = (value.step5 || 0) + 6
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra7(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step7 = (value.step6 || 0) + 7
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra8(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step8 = (value.step7 || 0) + 8
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra9(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step9 = (value.step8 || 0) + 9
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra10(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step10 = (value.step9 || 0) + 10
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra11(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step11 = (value.step10 || 0) + 11
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra12(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step12 = (value.step11 || 0) + 12
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra13(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step13 = (value.step12 || 0) + 13
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra14(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step14 = (value.step13 || 0) + 14
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra15(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step15 = (value.step14 || 0) + 15
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra16(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step16 = (value.step15 || 0) + 16
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra17(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step17 = (value.step16 || 0) + 17
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra18(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step18 = (value.step17 || 0) + 18
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra19(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step19 = (value.step18 || 0) + 19
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra20(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step20 = (value.step19 || 0) + 20
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra21(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step21 = (value.step20 || 0) + 21
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra22(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step22 = (value.step21 || 0) + 22
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra23(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step23 = (value.step22 || 0) + 23
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra24(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step24 = (value.step23 || 0) + 24
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra25(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step25 = (value.step24 || 0) + 25
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra26(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step26 = (value.step25 || 0) + 26
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra27(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step27 = (value.step26 || 0) + 27
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra28(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step28 = (value.step27 || 0) + 28
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra29(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step29 = (value.step28 || 0) + 29
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra30(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step30 = (value.step29 || 0) + 30
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra31(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step31 = (value.step30 || 0) + 31
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra32(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step32 = (value.step31 || 0) + 32
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra33(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step33 = (value.step32 || 0) + 33
value.tag = value.tag || 'discord'
return value
}
function reducerEngineExtra34(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step34 = (value.step33 || 0) + 34
value.tag = value.tag || 'discord'
return value
}
module.exports = { runReducers, chainReducers, reducerEngineExtra1, reducerEngineExtra2, reducerEngineExtra3, reducerEngineExtra4, reducerEngineExtra5, reducerEngineExtra6, reducerEngineExtra7, reducerEngineExtra8, reducerEngineExtra9, reducerEngineExtra10, reducerEngineExtra11, reducerEngineExtra12, reducerEngineExtra13, reducerEngineExtra14, reducerEngineExtra15, reducerEngineExtra16, reducerEngineExtra17, reducerEngineExtra18, reducerEngineExtra19, reducerEngineExtra20, reducerEngineExtra21, reducerEngineExtra22, reducerEngineExtra23, reducerEngineExtra24, reducerEngineExtra25, reducerEngineExtra26, reducerEngineExtra27, reducerEngineExtra28, reducerEngineExtra29, reducerEngineExtra30, reducerEngineExtra31, reducerEngineExtra32, reducerEngineExtra33, reducerEngineExtra34 }
// tweak 2107771299
// tweak 2132213776
// tweak 1142925866
// tweak 1788519466
// tweak 43529125
// tweak 185398163
// tweak 584624374
// tweak 1050633181
// tweak 1573604177
// tweak 194186277