NetView scripts


NetView scripts are the simple programs program with syntax of the Pascal language, but with some additional function added. As "engine" was used Innerfuse Pascal Script, it supports the majority Pascal features, and you can get much more info about it on the web site - http://www.carlo-kok.com. If you want to use your own script, you can use built-in NetView script editor IDE or any other text editor. You shouldn't restart NetView after script change - you shoud only restart script. Scripts can be used for the following destination:

  • General using scripts. Such scripts can control hostlist and it's objects, answer on the some NetView's events etc. Scripts files are placed into \Scripts\Scripter and you can control this scripts from sheet Scripts of the Preferences window. After installation you can find next scripts there:
    • emailalert.nvs - to send emails when alertable host state changes 
    • htmlreport.nvs - saves hosts from hostlist and their states to html file after every recheck. (By default \Export\htmlreport.html)
    • namechanges.nvs - logs changing of IPs and hostnames
    • statelogger.nvs - logs changes of hosts states (metavariable ison)
    • togglestate.nvs - after loading this script you will be able to change hosts state directly from theirs context menu
  • Listener scripts. There is instrument Port Listener in NetView. With using of script it is possible to extend netview with emulator of different services, defrauding promoted scanners port, and even allowing organize some true services. You can assign and adjust scripts to ports from PortListener's portlist context menu. By default with NV you can find following Listener scripts:
    • listen_ftp.nvs - Emulates fake FTP service.
    • listen_http.nvs - This is small but true HTTP server script. All site files shuld ne placed in folder \scripts\HTTP\. Main page is \scripts\HTTP\index.html.
    • listen_netbus.nvs - NetBus server emulator ;).
    • listen_smtp.nvs -SMTP server emulator. Stores all received mail into SMTPmail.txt in scripts folder.
    • listen_socks.nvs -socks proxy emulator.
    • listen_telnet.nvs -fake telnet server
    • listen_raccess.nvs -This script allows access to NetView from network using for example telnet. By default there is syntax error to prevent security issues.
  • Network scaner'à scripts. Scripts for advanced TCP and UDP ports scanning in NetworkScaner. Scripts files are places in \Scripts\Scaner. You should enable your script in nvscripts.ini. Add to it section [TCP_#] for every TCP port to be scanned or [UDP_#] for UDP, where # - decimal port number, then set variable script=yourscriptfilename.nvs in this section.
  • Terminal's scripts. This scripts controls receiving and displaying of data onto Terminal's window, also they controls transmitting data to the remote end
    • terminal_raw.nvs -RAW terminal. 
    • terminal_chat.nvs - Simple client-server chat.
    • terminal_telnet.nvs -ANSI telnet terminal

© 2001-2004 Killer{R}   © 2003 VoVaN