Skip to main content

This tool lets you perform some quick tasks for CTFs and Pentesting.

Reason this release was yanked:

Defunct

Project description

AlteMatrix

================

This tool lets you convert strings and numbers between number bases (2, 8, 10 and 16) as well as ASCII text. You can use the IP address analyzer to find out details on IPv4 and perform abbreviation as well as expansion on IPv6 addresses.It can also perform a two's complement calculation as well.

You can visit CodingPeps to learn more about how to use it.

Installation

================

$ rm -rf AlteMatrix/
$ git clone https://github.com/Ir0n-c0d3X/AlteMatrix
$ cd AlteMatrix
$ python setup.py install

OR

$ pip install AlteMatrix

Usage

Windows

> cd altematrix
> python AlteMatrix.py -h

Linux

$ cd altematrix
$ python3 AlteMatrix.py -h

"converter" module

$ python3 converter.py -h

Call Function
b2o, bin-oct Convert binary to octal.
b2d, bin-dec Convert binary to decimal.
b2h, bin-hex Convert binary to hexadecimal.
b2t, bin-txt Convert binary to ASCII text.
d2b, dec-bin Convert decimal to binary.
d2o, dec-oct Convert decimal to octal.
d2h, dec-hex Convert decimal to hexadecimal.
d2t, dec-txt Convert decimal to ASCII text.
o2b, oct-bin Convert octal to binary.
o2d, oct-dec Convert octal to decimal.
o2h, oct-hex Convert octal to hexadecimal.
o2t, oct-txt Convert octal to ASCII text.
h2b, hex-bin Convert hexadecimal to binary.
h2o, hex-oct Convert hexadecimal to octal.
h2d, hex-dec Convert hexadecimal to decimal.
h2t, hex-txt Convert hexadecimal to ASCII text.
udf, user-defined Convert from any number base to another.
udt, udef-text Convert from text to any number base or vice-versa.

NOTE: No arguments are required when function involves conversion of text or udf/udt.

"ipanalyzer" module

$ python3 ipanalyzer.py -h

ipv4 - Perform analysis on IPv4 addresses.

ipv6 - Perform analysis on IPv6 addresses.

    options: [-a, --abbreviate]   Abbreviate full length IPv6 addresses.
             [-e, --expand]   Expand shortened IPv6 addresses.

"2comp" module

$ python3 twos_complement.py -h

com2 - Perform two's complement test on a number with a multiplier.

To convert back to final decimal result:

Windows

> cd twos_complement/final-convert_win32.exe

Linux

$ cd twos_complement/
$ chmod 777 final-convert.out
$ ./final-convert.out

Support Teams

Follow @codingpeps

:octocat:

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

AlteMatrix-0.0.1.tar.gz (96.3 kB view details)

Uploaded Source

Built Distribution

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

AlteMatrix-0.0.1-py3-none-any.whl (98.1 kB view details)

Uploaded Python 3

File details

Details for the file AlteMatrix-0.0.1.tar.gz.

File metadata

  • Download URL: AlteMatrix-0.0.1.tar.gz
  • Upload date:
  • Size: 96.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.7

File hashes

Hashes for AlteMatrix-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ac6f73740eeaee18ecc5c681594a13f265f832d3094c7966f59b90c143aa8407
MD5 f5210de748382651cf5c0877aa6b352f
BLAKE2b-256 971cd2e5133bbbd7b13716ff0c72e65cbda1e44263a03683f411e2bf6cf57ccf

See more details on using hashes here.

File details

Details for the file AlteMatrix-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: AlteMatrix-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 98.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.7

File hashes

Hashes for AlteMatrix-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4aeb15275d8890c444fba06a0a5cff1b02adbc5b5017a10c3ac6cb6c02c75bfb
MD5 0db3e840c55a24c8a07841f53a8996e4
BLAKE2b-256 70c0bd9e29595100cf0593e1414468ccf563bb090bfafb0fe153cb035f5c1623

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