padding-oracle-attacker icon indicating copy to clipboard operation
padding-oracle-attacker copied to clipboard

Error execution

Open tXambe opened this issue 1 year ago • 0 comments

Hello,

when I run the script I have this error:

# poattack decrypt https://840d906a200eaf8a02affc28efd65949.example.com/?post= b64:dsctaQHiiO6nucUljybgsWeITPBIjITeMWC56sxoFB2MnaUXViJXdwB64xTkWCGqmEiWmO7Y2mH42wYceO14-9ZX7Q07LxujrT8UaPXv-T0F3FgZAq-KMKDL8Zh01bznnesttaGMNQkMD-R5U6MEuGK5ZJziZAVDqPzU11l9wy7YCP3j6YcLvfqg~~ 16 400
                 __   ___                               __           __  __           __          
   ___  ___ ____/ /__/ (_)__  ___ _  ___  _______ _____/ /__   ___ _/ /_/ /____ _____/ /_____ ____
  / _ \/ _ `/ _  / _  / / _ \/ _ `/ / _ \/ __/ _ `/ __/ / -_) / _ `/ __/ __/ _ `/ __/  '_/ -_) __/
 / .__/\_,_/\_,_/\_,_/_/_//_/\_, /  \___/_/  \_,_/\__/_/\__/  \_,_/\__/\__/\_,_/\__/_/\_\\__/_/   
/_/                         /___/                                                                 

TypeError: Invalid `ciphertext`, should be evenly divisble by `blockSize`
    at Object.decrypt [as default] (/usr/local/lib/node_modules/padding-oracle-attacker/dist/decrypt.js:28:15)
    at main (/usr/local/lib/node_modules/padding-oracle-attacker/dist/cli.js:180:32)
    at Object.<anonymous> (/usr/local/lib/node_modules/padding-oracle-attacker/dist/cli.js:189:1)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/padding-oracle-attacker/dist/bin.js:4:1)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

A greeting and thanks

tXambe avatar Jul 03 '23 07:07 tXambe