View Source Exfake (Exfake v2.0.0)
Documentation for Exfake
.
Link to this section Summary
Functions
Generates a random company BS goals.
Generates a random company catch phrase.
Generates a random company name.
Generates a random company suffix.
Generates a random domain.
Generates a random email.
Generates first name.
Generates a random IPv4 address.
Generates last name.
Generates random lorem paragraph with specified sentence count and sentence words count which randoms between 2 and 5. Sentence count must be greater than 0. Default sentence count is 3. Default words count between 2 and 5.
Generates first name + last name combination.
Generates phone number which formatted randomly.
Generates random english sentence with specified words count. Words count must be greater than 1. Default words count is 5.
Generates random english word.
Generates a random XSS file.
Generates a random XSS string.
Generates a random USA zip code.
Link to this section Functions
@spec bs() :: String.t()
Generates a random company BS goals.
examples
Examples
iex> Exfake.bs()
"reintermediate granular niches"
iex> Exfake.bs()
"unleash user-centric markets"
@spec catch_phrase() :: String.t()
Generates a random company catch phrase.
examples
Examples
iex> Exfake.catch_phrase()
"Re-engineered maximized productivity"
iex> Exfake.catch_phrase()
"Right-sized hybrid complexity"
@spec company_name() :: String.t()
Generates a random company name.
examples
Examples
iex> Exfake.company_name()
"Klein, Mueller and Windler"
iex> Exfake.company_name()
"Zion Kerluke LLC"
iex> Exfake.company_name()
"Legros-Yundt"
@spec company_suffix() :: String.t()
Generates a random company suffix.
examples
Examples
iex> Exfake.company_suffix()
"Inc"
iex> Exfake.company_suffix()
"LLC"
@spec domain() :: String.t()
Generates a random domain.
examples
Examples
iex> Exfake.domain()
"www.laboriosam.me"
iex> Exfake.email()
"www.nihil.biz"
@spec email() :: String.t()
Generates a random email.
examples
Examples
iex> Exfake.email()
"dallas@gmail.com"
iex> Exfake.email()
"miller@hotmail.com"
@spec first_name() :: String.t()
Generates first name.
examples
Examples
iex> Exfake.first_name()
"Jake"
iex> Exfake.first_name()
"Rosemary"
@spec ipv4() :: String.t()
Generates a random IPv4 address.
examples
Examples
iex> Exfake.ipv4()
"145.77.91.223"
iex> Exfake.ipv4()
"17.94.49.5"
@spec last_name() :: String.t()
Generates last name.
examples
Examples
iex> Exfake.last_name()
"Nitzsche"
iex> Exfake.last_name()
"Adams"
@spec paragraphs(pos_integer(), pos_integer()) :: String.t()
Generates random lorem paragraph with specified sentence count and sentence words count which randoms between 2 and 5. Sentence count must be greater than 0. Default sentence count is 3. Default words count between 2 and 5.
examples
Examples
iex> Exfake.paragraphs()
"Statement waste mind. Verse sugar answer adjustment behavior. Soup attempt."
iex> Exfake.paragraphs(3, 2)
"Smoke ink. Cry day. Company stop."
iex> Exfake.paragraphs(3, 2)
"Nation wind. Sea stone. Minute comparison."
@spec person() :: String.t()
Generates first name + last name combination.
examples
Examples
iex> Exfake.person()
"Jake Nitzsche"
iex> Exfake.person()
"Luciano Eichmann"
@spec phone_number() :: String.t()
Generates phone number which formatted randomly.
examples
Examples
iex> Exfake.phone_number()
"684-126-0269"
iex> Exfake.phone_number()
"1-319-098-3384 x06095"
@spec sentence(pos_integer()) :: String.t()
Generates random english sentence with specified words count. Words count must be greater than 1. Default words count is 5.
examples
Examples
iex> Exfake.sentence()
"Judge taste page porter harmony."
iex> Exfake.sentece(3)
"Event minute view."
@spec word() :: String.t()
Generates random english word.
examples
Examples
iex> Exfake.word()
"burn"
iex> Exfake.word()
"language"
@spec xss_file() :: String.t()
Generates a random XSS file.
examples
Examples
iex> Exfake.xss_file()
"<TABLE><TD BACKGROUND="javascript:alert('XSS')">.txt"
iex> Exfake.xss_file()
"<IMG SRC="javascript:alert('XSS');">.txt"
@spec xss_string() :: String.t()
Generates a random XSS string.
examples
Examples
iex> Exfake.xss_string()
"<BODY BACKGROUND="javascript:alert('XSS')">"
iex> Exfake.xss_string()
"<A HREF="http://0102.0146.0007.00000223/">XSS</A>"
@spec zip_code() :: String.t()
Generates a random USA zip code.
examples
Examples
iex> Exfake.zip_code()
"32107-6766"
iex> Exfake.zip_code()
"9152"