Skip to main content

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

Metadata

Release files for fuconv 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fuconv 0.0.2
File Size Uploaded
fuconv-0.0.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fuconv 0.0.2
File Interpreter ABI Platform
fuconv-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / fuconv-0.0.2.tar.gz

Download URL fuconv-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e8c216daabc989cf1cb41d35bbf082c838523468f9d187f5f3ec177d75f6edc8
BLAKE2b-256 checksum
How to use checksums
f89c89cab21a4c41019c8ac1b7b258ec2232b299cd0e5d60ae2b7bc7b71ac37f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / fuconv-0.0.2-py3-none-any.whl

Download URL fuconv-0.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
187f31cc7dbeb8e3280cfcc3a75322e1641dbfe621844899b3232d262f05bb8e
BLAKE2b-256 checksum
How to use checksums
d3ff015ddedc6a56e55225694d8474cc9425fd0a709fd14fdd1884dec07e75ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page