NAME
App::Hack::Exe - An animated terminal app that pretends to hack a website, just like in the movies
SYNOPSIS
require App::Hack::Exe;
my $he = App::Hack::Exe->new;
# Run the script
$he->run('yahoo.com');
DESCRIPTION
This is a flashy animated script that simulates a "hacking program", as often seen in movies.
CONSTRUCTOR
new()
my $he = App::Hack::Exe->new( %options )
This method constructs a new App::Hack::Exe object and returns it. Key/value pair arguments may be provided to set up the initial state. The following options are recognized:
KEY DEFAULT
----------- -----------
get_ipv4 1
get_ipv6 1
no_delay 0
ports [143, 993, 587, 456, 25, 587, 993, 80]
proxies [qw/ BEL AUS JAP CHI NOR FIN UKR /]
- get_ipv4, get_ipv6 (int)
-
Print out this number of IPv4 and IPv6 addresses for the host name, respectively.
- no_delay (bool)
-
Print out all text at once, instead of simulating delays (e.g. network lag).
- ports (arrayref)
-
Set the port numbers for the simulation. Ports are arbitrary strings.
- proxies (arrayref)
-
Set the proxy names for the simulation. Proxy names are arbitrary strings.
METHODS
run( $hostname )
Run the simulation.
AUTHOR
Dan Church (h3xx<attyzatzat>gmx<dottydot>com)
LICENSE AND COPYRIGHT
Copyright (C) 2023 Dan Church.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AVAILABILITY
The latest version of this library is likely to be available from CPAN as well as:
https://codeberg.org/h3xx/perl-App-Hack-Exe>
THANKS
Thanks to janbrennen's original idea.