{"id":17244687,"url":"https://github.com/kost/language-nse","last_synced_at":"2026-07-14T01:31:17.889Z","repository":{"id":34292338,"uuid":"38187184","full_name":"kost/language-nse","owner":"kost","description":"NSE/Lua language support in Atom  https://atom.io/packages/language-nse","archived":false,"fork":false,"pushed_at":"2015-06-29T04:39:23.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-05T00:18:51.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-28T05:06:42.000Z","updated_at":"2015-06-28T10:04:37.000Z","dependencies_parsed_at":"2022-09-09T12:40:37.821Z","dependency_job_id":null,"html_url":"https://github.com/kost/language-nse","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/kost/language-nse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flanguage-nse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flanguage-nse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flanguage-nse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flanguage-nse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kost","download_url":"https://codeload.github.com/kost/language-nse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flanguage-nse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35442828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T06:27:00.965Z","updated_at":"2026-07-14T01:31:17.871Z","avatar_url":"https://github.com/kost.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"NSE and Lua language support in Atom\n======\n\nAdd syntax highlighting and snippets to NSE and Lua files in Atom.\n\nSee: https://atom.io/packages/language-nse\n\nCommon NSE snippets\n---\n| Trigger       | Name                     | Body description     |\n| ------------- |--------------------------| ---------------------|\n| nsetemplate   | basic nse template       | Basic NSE template    |\n| nsehttp       | http nse template        | Basic http NSE script  |\n\nReporting NSE snippets\n---\n| Trigger       | Name                     | Body description     |\n| ------------- |--------------------------| ---------------------|\n| vulnoutput    | vuln output template     | Basic vuln report   |\n\nCommon Lua snippets\n---\n| Trigger       | Name                     | Body                 |\n| ------------- |--------------------------| ---------------------|\n| -[            | multiline comment        | --[[ comment... ]]   |\n| =[            | nested multiline comment | --[=[ comment... ]=] |\n| afun          | anon function            | functionName = function (args) -- body... end |\n| for           | for i=1,10               | for i = 1, 10 do -- body... end |\n| fori          | for i,v in ipairs()      | for i,v in ipairs(table_name) do -- body... end |\n| forp          | for k,v in pairs()       | for k,v in pairs(table_name) do -- body... end |\n| fun           | function                 | function functionName (args) -- body... end |\n| if            | if conditional           | if value then --body... end |\n| ife           | if else conditional      | if value then --body... else --body... end |\n| ifn           | if not conditional       | if not value then --body... end |\n| ifne          | if not else conditional  | if not value then --body... else --body... end |\n| lfun          | local function           | local function functionName (args) -- body... end |\n| loc           | local variable definition shortcut | local x = 1 |\n| local         | local variable definition | local x = 1 |\n| ltab          | local table definition   | local name = {}      |\n| print         | print                    | print(\"logging\")     |\n| rep           | repeat loop shortcut     | repeat -- body... until condition |\n| repeat        | repeat loop              | repeat -- body... until condition |\n| req           | require shortcut         | local name = require \"module\" |\n| require       | require                  | local name = require \"module\" |\n| ret           | return definition shortcut | return value       |\n| return        | return definition        | return value         |\n| tab           | table definition         | name = {}            |\n| whi           | while loop shortcut      | while condition do -- body... end |\n| while         | while loop               | while condition do -- body... end |\n\nTable manipulation snippets\n---\n| Trigger       | Name                     | Body                 |\n| ------------- |--------------------------| ---------------------|\n| tabc          | table.concat             | table.concat(tableName, \" \", start_index, end_index) |\n| tabf          | table.foreach            | table.foreach(tableName, function) |\n| tabi          | table.insert             | table.insert(tableName, data) |\n| tabs          | table.sort               | table.sort(tableName, sortfunction) |\n| tabr          | table.remove             | table.remove(tableName, position) |\n| tabm          | table.maxn               | table.maxn(tableName)\n\nMath function snippets\n---\n| Trigger       | Name                     | Body                 |\n| ------------- |--------------------------| ---------------------|\n| abs           | math.abs                 | math.abs(x)          |\n| acos          | math.acos                | math.acos(x)         |\n| asin          | math.asin                | math.asin(x)         |\n| atan          | math.atan                | math.atan(x)         |\n| atan2         | math.atan2               | math.atan2(y, x)     |\n| ceil          | math.ceil                | math.ceil(x)         |\n| cos           | math.cos                 | math.cos(x)          |\n| cosh          | math.cosh                | math.cosh(x)         |\n| deg           | math.deg                 | math.deg(x)          |\n| exp           | math.exp                 | math.exp(x)          |\n| floor         | math.floor               | math.floor(x)        |\n| fmod          | math.fmod                | math.fmod(x, y)      |\n| frexp         | math.frexp               | math.frexp(x)        |\n| huge          | math.huge                | math.huge            |\n| ldexp         | math.ldexp               | math.ldexp(m, e)     |\n| log           | math.log                 | math.log(x)          |\n| log10         | math.log10               | math.log10(x)        |\n| max           | math.max                 | math.max(x, ...)     |\n| min           | math.min                 | math.min(x, ...)     |\n| pi            | math.pi                  | math.pi              |\n| pow           | math.pow                 | math.pow(x, y)       |\n| rad           | math.rad                 | math.rad(x)          |\n| random        | math.random              | math.random(m, n)    |\n| randomseed    | math.randomseed          | math.randomseed(x)   |\n| sin           | math.sin                 | math.sin(x)          |\n| sinh          | math.sinh                | math.sinh(x)         |\n| sqrt          | math.sqrt                | math.sqrt(x)         |\n| tan           | math.tan                 | math.tan(x)          |\n| tanh          | math.tanh                | math.tanh(x)         |\n\nAuthor\n------\n__Vlatko Kosturjak__\n* [https://github.com/kost](https://github.com/kost)\n\n\nContributors\n---\n\nContributions are greatly appreciated. Please fork this repository and open a\npull request to add snippets, make grammar tweaks, etc.\n\nLicense\n------\nAtom language-nse is released under the MIT license. \n\nOriginally taken from language-lua from https://github.com/FireZenk/language-lua\n(author: __Jorge Garrido Oval__)\n\n\u003eOriginally [converted](http://atom.io/docs/latest/converting-a-text-mate-bundle)\nfrom the [Lua TextMate bundle](https://github.com/textmate/lua.tmbundle).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Flanguage-nse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkost%2Flanguage-nse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Flanguage-nse/lists"}