Skip to main content

uint and hex values converter for solidity CTFs

Project description

Fuconv

  • uint and hex values converter for solidity CTFs
  • and yes this tool is name after that word only because of my frustration of creating a sol file for basic conversion during CTF

Installation

  • pip
pip3 install fuconv
  • setup tools
git clone https://github.com/root-tanishq/fuconv
cd fuconv
python3 setup.py install

Usage

$ fuconv <CONVERSION TYPE> <INPUT> [-ui] [-uo] # ui / uo are optional params for some conversion's
  • for conversion type use --help
❯ fuconv --help
😴 Fuccccccc²⁵⁶conv↴		@github.com/root-tanishq

usage: fuconv [-h] {u160,u128,u64,u32,u16,u8,b16,b8,b4,wei,eth,hex,uint} ...

conversion script for solidity ctfs

options:
  -h, --help            show this help message and exit

Subcommands:
  {u160,u128,u64,u32,u16,u8,b16,b8,b4,wei,eth,hex,uint}
    u160                convert a value to uint160
    u128                convert a value to uint128
    u64                 convert a value to uint64
    u32                 convert a value to uint32
    u16                 convert a value to uint16
    u8                  convert a value to uint8
    b16                 convert a value to bytes16
    b8                  convert a value to bytes8
    b4                  convert a value to bytes4
    wei                 convert ethers to wei
    eth                 convert wei to ethers
    hex                 convert a uint to bytes32 hex
    uint                convert a bytes hex value to uint

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

fuconv-0.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fuconv-0.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file fuconv-0.0.2.tar.gz.

File metadata

  • Download URL: fuconv-0.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for fuconv-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e8c216daabc989cf1cb41d35bbf082c838523468f9d187f5f3ec177d75f6edc8
MD5 6daaee7f7bdcc94a0d7c9bafebe7d0ef
BLAKE2b-256 f89c89cab21a4c41019c8ac1b7b258ec2232b299cd0e5d60ae2b7bc7b71ac37f

See more details on using hashes here.

File details

Details for the file fuconv-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fuconv-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for fuconv-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 187f31cc7dbeb8e3280cfcc3a75322e1641dbfe621844899b3232d262f05bb8e
MD5 94ba89f37c79eaa135e5218b9a6a6d96
BLAKE2b-256 d3ff015ddedc6a56e55225694d8474cc9425fd0a709fd14fdd1884dec07e75ef

See more details on using hashes here.

Supported by

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