Nat-As / ApiWordlistGenerator

Generate wordlists for fuzzing API method names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate wordlists for API fuzzing from basic wordlists

ApiWordlistGen generates wordlist that contains concatinations of all word combinations that matches scheme. If more than one schemes separated by comma are specifed, ApiWordlistGen generate one merged list.
Empty strings exists in postfix in prefix wordlists, so list for scheme without "p" or "f" is subset of list for scheme with "p" or "f".

usage: ApiWordlistGen.py [-h] [--format FORMAT] [--out OUT] scheme

Schemes

ApiWordlistGen support schemes in format "vpnfbni,vn,vnBbI", where:

  • v - word from verb wordlist
  • p - word from prefix wordlist
  • n - word from noun wordlist
  • N - word from noun wordlist extend by plural form ("*ss"->"*sses", "*y"->"*ies", "*x"-> "*xes", default just add "s")
  • f - word from postfix wordlist
  • B - word "By"
  • b - word from by wordlist
  • I - word "Id"

-h, --help

show help

--format FORMAT, -f FORMAT

Define style of generated wordlist.
Possible values:

  • camel -> GetCustomerNameById
  • lower_chain -> get_customer_name_by_id
  • camel_chain -> Get_Customer_Name_By_Id
  • upper_chain -> GET_CUSTOMER_NAME_BY_ID

--out OUT, -o OUT Name of generated file

Example:

python ApiWordlistGen.py -f camel -o out.txt vpnfbni,vn,vnBbI

About

Generate wordlists for fuzzing API method names


Languages

Language:Python 100.0%