Skip to main content

a library for padding oracle attack

Project description

a library for padding oracle attack

Payload_model is a abstract class handling all details of padding oracle attack algorithm. You should specify a subclass of payload_model and change some import methods. You can customize it to fit different environment.

basic usge

from padding_oracle_attack import payload_model
import grequests
from grequests import request

class payload(payload_model):

    def make_request(self, fake_data) -> request:
        params = {
                "data": bytes.hex(fake_data)
            }

        return request("get", "http://127.0.0.1:5000", params=params)

if __name__ == "__main__":
    m = payload("3a10f84900818b1c439430600524fb0f00000000000000000000000000000000")
    m.run()

record

result picture

result

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

padding-oracle-attack-0.0.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

padding_oracle_attack-0.0.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file padding-oracle-attack-0.0.3.tar.gz.

File metadata

  • Download URL: padding-oracle-attack-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for padding-oracle-attack-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fa4f54ad06ca8229a0ceeeb6dd95e41689d1b3cd628621c124c7ba08c3bd58b6
MD5 e1504f267e70b2ffbae8fc746e309acd
BLAKE2b-256 f41713738745975d5cd39998512607e1f6214a1c9bc736d1b5693eafde5c308e

See more details on using hashes here.

Provenance

File details

Details for the file padding_oracle_attack-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: padding_oracle_attack-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for padding_oracle_attack-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 544cc60472cc4f99b06b704a2c2de11700bb424e3c22a49a4782c6fbac9cbd5a
MD5 8d03a1a6b828c224fbbcf701d517a0f8
BLAKE2b-256 cbf9c1188e3a63212149e61510737cf66dc779d39cf0f1eacc036357252ed602

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page