Interactive Console
Last updated
Last updated
PacketGen provides an interactive console: pgconsole
. It may be used to quickly write and test some pieces of code.
pgconsole
uses IRB, or Pry if it is installed. It includes class methods and ones to simplify access to them.
gen
, parse
, capture
, read
and write
are quickly accessible:
This local configuration may be used to forge packets:
To ease tests, Methods from PacketGen::Utils
module are quickly accessible from pgconsole
:
Utils
methods are:
to get MAC address for given IP address,
to do ARP spoofing.
pgconsole
provides quick access to local network configuration through config
, a object:
to do a Man-In-The-Middle attack (on local network only).