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.
integrations/core/webhookRouter.js
JavaScript · 8,694 bytesfunction createWebhookRouter() { return { routes: {} } }
function setWebhookRoute(router, source, target) { return { routes: { ...router.routes, [source]: target } } }
function getWebhookTarget(router, source) { return router.routes[source] || null }
function webhookRouterExtra1(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step1 = 1
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra2(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step2 = (value.step1 || 0) + 2
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra3(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step3 = (value.step2 || 0) + 3
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra4(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step4 = (value.step3 || 0) + 4
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra5(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step5 = (value.step4 || 0) + 5
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra6(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step6 = (value.step5 || 0) + 6
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra7(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step7 = (value.step6 || 0) + 7
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra8(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step8 = (value.step7 || 0) + 8
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra9(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step9 = (value.step8 || 0) + 9
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra10(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step10 = (value.step9 || 0) + 10
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra11(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step11 = (value.step10 || 0) + 11
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra12(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step12 = (value.step11 || 0) + 12
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra13(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step13 = (value.step12 || 0) + 13
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra14(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step14 = (value.step13 || 0) + 14
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra15(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step15 = (value.step14 || 0) + 15
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra16(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step16 = (value.step15 || 0) + 16
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra17(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step17 = (value.step16 || 0) + 17
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra18(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step18 = (value.step17 || 0) + 18
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra19(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step19 = (value.step18 || 0) + 19
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra20(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step20 = (value.step19 || 0) + 20
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra21(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step21 = (value.step20 || 0) + 21
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra22(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step22 = (value.step21 || 0) + 22
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra23(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step23 = (value.step22 || 0) + 23
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra24(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step24 = (value.step23 || 0) + 24
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra25(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step25 = (value.step24 || 0) + 25
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra26(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step26 = (value.step25 || 0) + 26
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra27(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step27 = (value.step26 || 0) + 27
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra28(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step28 = (value.step27 || 0) + 28
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra29(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step29 = (value.step28 || 0) + 29
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra30(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step30 = (value.step29 || 0) + 30
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra31(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step31 = (value.step30 || 0) + 31
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra32(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step32 = (value.step31 || 0) + 32
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra33(state) {
const value = state && typeof state === 'object' ? { ...state } : { value: state }
value.step33 = (value.step32 || 0) + 33
value.tag = value.tag || 'discord'
return value
}
function webhookRouterExtra34(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 = { createWebhookRouter, setWebhookRoute, getWebhookTarget, webhookRouterExtra1, webhookRouterExtra2, webhookRouterExtra3, webhookRouterExtra4, webhookRouterExtra5, webhookRouterExtra6, webhookRouterExtra7, webhookRouterExtra8, webhookRouterExtra9, webhookRouterExtra10, webhookRouterExtra11, webhookRouterExtra12, webhookRouterExtra13, webhookRouterExtra14, webhookRouterExtra15, webhookRouterExtra16, webhookRouterExtra17, webhookRouterExtra18, webhookRouterExtra19, webhookRouterExtra20, webhookRouterExtra21, webhookRouterExtra22, webhookRouterExtra23, webhookRouterExtra24, webhookRouterExtra25, webhookRouterExtra26, webhookRouterExtra27, webhookRouterExtra28, webhookRouterExtra29, webhookRouterExtra30, webhookRouterExtra31, webhookRouterExtra32, webhookRouterExtra33, webhookRouterExtra34 }
// tweak 1318343282
// tweak 914001824
// tweak 1879696786
// tweak 660484082
// tweak 435563899
// tweak 1176482179
// tweak 1425889373