User Tools

Site Tools


lua:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lua:start [2017/11/29 10:13]
vivek created
lua:start [2018/12/22 12:49] (current)
veera [LuaJIT tips]
Line 1: Line 1:
 ====== Getting started with Trisul LUA Scripting ====== ====== Getting started with Trisul LUA Scripting ======
  
-Using plain LuaJIT you can extend Trisul'​s functionality in any number of ways. +Using plain LuaJIT you can extend Trisul'​s functionality in number of ways. 
  
 +===== Concepts =====
  
-Tutorial 1 : [[https://www.trisul.org/docs/lua/tutorial1.html|A Hello World]]+[[https://github.com/​trisulnsm/​trisul-scripts/tree/master/lua/skeletons|Skeleton Lua scripts]] you can copy and fill out
  
-Tutorial 2 : A [[https://​www.trisul.org/​docs/​lua/​tutorial2.html|packet length counter]] +[[https://​www.trisul.org/​docs/​lua/​selector.html|LUA Script selector]] - to help you pick the type of scripting API you need to use to accomplish a variety of tasks 
  
-[[https://​github.com/​trisulnsm/​trisul-scripts/​tree/​master/​lua/​skeletons|Skeleton Lua scripts]] ​you can copy and fill out+[[scripting:​introbro|Bro IDS scripting vs Trisul scripting]] 
 + 
 +[[lua:​structure|How to structure your scripts]] 
 + 
 +===== Tutorials ===== 
 + 
 +Links to step by step tutorials 
 + 
 +  * **Tutorial 1** : [[https://​www.trisul.org/​docs/​lua/​tutorial1.html|A Hello World]] 
 +  * **Tutorial 2** : A [[https://​www.trisul.org/​docs/​lua/​tutorial2.html|packet length counter]]  
 +  * **Tutorial 3** : A basic TCP [[https://​github.com/​trisulnsm/​trisul-scripts/​tree/​master/​lua/​tutorial/​tutorial3|based DNP3 analyzer]] 
 +  * **Tutorial 4** : A step-by-step guide to working with resources (Logs) [[https://​github.com/​trisulnsm/​trisul-scripts/​tree/​master/​lua/​tutorial/​tutorial4|by writing a URLHaus IOC checker]] 
 + 
 +===== LuaJIT tips ===== 
 + 
 +[[lua:​jittips|LuaJIT performance tips]] 
 + 
 +===== Techniques ===== 
 + 
 +[[lua:​logtail|Log tailing]] : Lua snippet to watch a directory of logfiles ​and tail them into your LUA code. 
lua/start.1511950433.txt.gz · Last modified: 2017/11/29 10:13 by vivek