This is the command scapy that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
scapy - Interactive packet manipulation tool
SYNOPSIS
scapy [options]
DESCRIPTION
This manual page documents briefly the scapy tool.
scapy is a powerful interactive packet manipulation tool, packet generator, network
scanner, network discovery, packet sniffer, etc. It can for the moment replace hping,
parts of nmap, arpspoof, arp-sk, arping, tcpdump, tshark, p0f, ...
scapy uses the python interpreter as a command board. That means that you can use directly
python language (assign variables, use loops, define functions, etc.) If you give a file
as parameter when you run scapy, your session (variables, functions, intances, ...) will
be saved when you leave the interpretor, and restored the next time you launch scapy.
The idea is simple. Those kind of tools do two things : sending packets and receiving
answers. That's what scapy does : you define a set of packets, it sends them, receives
answers, matches requests with answers and returns a list of packet couples (request,
answer) and a list of unmatched packets. This has the big advantage over tools like nmap
or hping that an answer is not reduced to (open/closed/filtered), but is the whole packet.
On top of this can be build more high level functions, for example one that does
traceroutes and give as a result only the start TTL of the request and the source IP of
the answer. One that pings a whole network and gives the list of machines answering. One
that does a portscan and returns a LaTeX report.
OPTIONS
Options for scapy are:
-h display usage
-d increase log verbosity. Can be used many times.
-s FILE
use FILE to save/load session values (variables, functions, intances, ...)
-p PRESTART_FILE
use PRESTART_FILE instead of $HOME/.scapy_prestart.py as pre-startup file
-P do not run prestart file
-c STARTUP_FILE
use STARTUP_FILE instead of $HOME/.scapy_startup.py as startup file
-C do not run startup file
COMMANDS
Only the vital commands to begin are listed here for the moment.
ls() lists supported protocol layers. If a protocol layer is given as parameter, lists
its fields and types of fields.
lsc() lists some user commands. If a command is given as parameter, its documentation is
displayed.
conf this object contains the configuration.
Use scapy online using onworks.net services