#...............................................................................
#
#  IO Ninja stock in-app scripts
#

[script]
source      = ias/default.jnc
name        = "Default"
description = \
	"The default in-app script. " \
	"Defines the two entry points and runs until the 'Stop' button is pressed."

[script]
source      = ias/loop.jnc
name        = "Inifite Packet Loop"
description = \
	"Defines an infinite loop to sends packets with ever-incrementing index. " \
	"Don't let the 'infinite' part scare you -- you can " \
	"always abort the execution of a script with the 'Stop' button."

	
[script]
source      = ias/echo.jnc
name        = "Echo Server"
description = \
	"The example below works as a simple echo-server. Whatever is received, is " \
	"sent back immediately. Here we use 'onLogRecord' as a way to get notified " \
	"about session events, and we handle 'log.StdRecordCode.Rx' to transmit every " \
	"RX packet back."

[script]
source      = ias/file.jnc
name        = "Save To File"
description = \
	"The example extracts sections of the incomiong data stream (RX) between " \
	"characters STX (0x02) and CR (0x0A) and saves those in a file called " \
	"'ioninja-stx-cr.bin' in the users's home directory."

[script]
source      = ias/arp-whois.jnc
name        = "ARP 'whois' Loop"
description = \
	"This script iterates through all IPs on a class C network and sends " \
	"an ARP 'whois' request to each.\n\n" \
	"Must be used with a Network Sniffer session."

[script]
source      = ias/http-server.jnc
name        = "HTTP Server"
description = \
	"The example satisfies HTTP GET requests by sending the requested files from " \
	"the the users's home directory. On errors, the HTTP 500 (Internal Server Error) " \
	"is returned. This sample can easily be extended to process other HTTP requests " \
	"as well (by adding cases to the `reswitch` statement)."
