Skip to main content

Generate a wordlist to fuzz amounts or any other numerical values.

Project description

Amounts

Generate a wordlist to fuzz amounts or any other numerical values. Based on Common Security Issues in Financially-Oriented Web Applications.

Bypass minimum and maximum restrictions, cause an unintended behavior and errors, etc.

Works with integer and float numerical values.

Tests:

  • using amount separators such as space, dot, and comma;
  • prepending zeros and appending decimal zeros using amount separators such as space and comma;
  • prepending and appending positive and negative scope;
  • prepending currency symbols such as $, £, and - including negative scope;
  • embracing the amount with brackets such as (), [], and {} - and expanding it;
  • trying underflows and overflows;
  • trying binary, hexadecimal, hexadecimal ASCII, hexadecimal Unicode, and exponential notations;
  • trying bolean, empty, integer minimum and maximum, and other special values,
  • trying various lengths - including negative scope.

Pre-generated wordlists can be found in /src/wordlists/; also a part of /danielmiessler/SecLists/tree/master/Fuzzing/Amounts.

Complimentary wordlists:

Extend this script to your liking.

Tested on Kali Linux v2023.4 (64-bit).

Made for educational purposes. I hope it will help!

Table of Contents

How to Install

Standard Install

pip3 install --upgrade amounts

Build and Install From the Source

git clone https://github.com/ivan-sincek/amounts && cd amounts

python3 -m pip install --upgrade build

python3 -m build

python3 -m pip install dist/amounts-3.4-py3-none-any.whl

Generated Amounts

amounts -min 1 -max 10000 -mid 2200 -o amounts.txt

amounts.txt generated wordlist:

1
10000
2200
2 200
2.200
2,200
002200
2200.00
2200,00
+2200
2200+
-2200
2200-
$2200
$-2200
-$2200
£2200
£-2200
-£2200
€2200
€-2200
-€2200
()
(,,)
(2200)
(2200,2201)
("2200")
("2200","2201")
[]
[,,]
[2200]
[2200,2201]
["2200"]
["2200","2201"]
{}
{,,}
{2200}
{2200,2201}
{"2200"}
{"2200","2201"}
0
10001
NaN
-NaN
Infinity
-Infinity
inf
-inf
0b100010011000
0x898
\x32\x32\x30\x30
\u0032\u0032\u0030\u0030
&h00
&hff
0.00000000000000000000000000000000000000000000000001
1e-50
2200e0
1e-1
10000e1
true
false
-1
+1
-0
+0
0e-1
0e1
null
None
nil
An Array
2,,2,,0,,0
%20%092200
2200%20%00%00
-2147483648
2147483647
4294967295
-2147483649
2147483648
4294967296
99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
-9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
-999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
-99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

Usage

Amounts v3.4 ( github.com/ivan-sincek/amounts )

--- Generate a wordlist from an amount range ---
Usage:   python3 amounts.py -min minimum -max maximum -mid middle -o out         [-q quotes]
Example: python3 amounts.py -min 1       -max 1000    -mid 20     -o amounts.txt [-q double]

--- Generate a wordlist from a single amount ---
Usage:   python3 amounts.py -mid middle -o out         [-q quotes]
Example: python3 amounts.py -mid 20     -o amounts.txt [-q double]

DESCRIPTION
    Generate a wordlist to fuzz amounts or any other numerical values
MINIMUM
    Minimum amount allowed
    If not specified, middle amount will be used
    -min, --minimum = 1 | etc.
MAXIMUM
    Maximum amount allowed
    If not specified, middle amount will be used
    -max, --maximum = 1000 | etc.
MIDDLE
    Preferably a multi-digit amount greater than minimum, lesser than maximum, and other than zero
    -mid, --middle = 20 | etc.
OUT
    Output file
    -o, --out = amounts.txt | etc.
QUOTES
    Enclose amounts in quotes
    Use comma-separated values
    -q, --quotes = original | single | double | backtick | all

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

amounts-3.4.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

amounts-3.4-py3-none-any.whl (13.4 kB view hashes)

Uploaded Python 3

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