1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
#!/usr/bin/env lua
local sslattributes: local constbind
value: table: 0x97ec6d8
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:2:7
used-line:1 = requireattributes: known global
value: function: 0x96f1ff8
signature: require (modname)
used-line:1 "ssl";

local oid_aliasesattributes: local constbind
value: table: 0x97e6e50
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:4:7
used-line:3 = {
["1.3.6.1.5.5.7.8.5"] = "xmppAddr";
["1.3.6.1.5.5.7.8.7"] = "sRVName";
};

if argattributes: known global
value: table: 0x96f4ea0
used-line:8[1] then
	ioattributes: known global
value: table: 0x96f2a58
description: (table) I/O library
used-line:9.inputattributes: known field
value: function: 0x96f1ae8
signature: io.input ([file])
used-line:9(argattributes: known global
value: table: 0x96f4ea0
used-line:9[1])
end

local certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:12, linesattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:12, iattributes: local mutatebind masked
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:20
used-line:12;
for lineattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:14:5
used-line:13 in ioattributes: known global
value: table: 0x96f2a58
description: (table) I/O library
used-line:13.linesattributes: known field
value: function: 0x96f2f50
signature: io.lines ([filename])
used-line:13() do
	if lineattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:14:5
used-line:14 == "-----BEGIN CERTIFICATE-----" then
		linesattributes: local mutatebind
value: table: 0x9817158
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:15, iattributes: local mutatebind
value: 1
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:20
used-line:15 = {}, 1;
	end
	if linesattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:17 then
		linesattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:18[iattributes: local mutatebind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:20
used-line:18], iattributes: local mutatebind
value: error:attempt to perform arithmetic on 'i' (a nil value)
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:20
used-line:18 = lineattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:14:5
used-line:18, iattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:20
used-line:18+1;
	end
	if linesattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:20 and lineattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:14:5
used-line:20 == "-----END CERTIFICATE-----" then
		certattributes: local mutatebind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:21 = sslattributes: local constbind
value: table: 0x97ec6d8
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:2:7
used-line:21.loadcertificateattributes: known field
value: function: 0x9859228
used-line:21(tableattributes: known global
value: table: 0x96f1828
description: (table) table manipulation library
used-line:21.concatattributes: known field
value: function: 0x96f1850
signature: table.concat (table [, sep [, i [, j]]])
used-line:21(linesattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:21, "\n"));
		linesattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:13
used-line:22, iattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:20
used-line:22 = nil, nil;
		break;
	end
end

if certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:27.setencodeattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:27 then
	certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:28:setencodeattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:28("utf8");
end

local function print_rdnattributes: local constbind
value: function: 0x9814a00
description: function(rdn) no returns
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:32:16
used-line:31(rdnattributes: local param constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:32:26
used-line:31)
	for iattributes: local constbind masking
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:33:6
masking definition at line: 13
used-line:32=1,#rdnattributes: local param constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:32:26
used-line:32 do
		local itemattributes: local constbind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:34:9
used-line:33 = rdnattributes: local param constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:32:26
used-line:33[iattributes: local constbind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:33:6
used-line:33];
		printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:34("  "..(itemattributes: local constbind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:34:9
used-line:34.nameattributes: unknown field
value: error:attempt to index 'item' (a nil value)
used-line:34 or itemattributes: local constbind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:34:9
used-line:34.oidattributes: unknown field
value: error:attempt to index 'item' (a nil value)
used-line:34)..": "..itemattributes: local constbind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:34:9
used-line:34.valueattributes: unknown field
value: error:attempt to index 'item' (a nil value)
used-line:34);
	end
end

printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:38("SHA-1:   " .. certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:38:digestattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:38("sha1"));
printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:39("SHA-256: " .. certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:39:digestattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:39("sha256"));
if not certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:40:validatattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:40(osattributes: known global
value: table: 0x96f3260
description: (table) OS facilities library
used-line:40.timeattributes: known field
value: function: 0x96f1510
signature: os.time ([table])
used-line:40()) then
	printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:41"* Expired *"
end
printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:43("Not before: " .. certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:43:notbeforeattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:43());
printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:44("Not after:  " .. certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:44:notafterattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:44());
printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:45"Issuer:"
print_rdnattributes: local constbind
value: function: 0x9814a00
description: function(rdn) no returns
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:32:16
used-line:46(certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:46:issuerattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:46());
printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:47"Subject:"
print_rdnattributes: local constbind
value: function: 0x9814a00
description: function(rdn) no returns
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:32:16
used-line:48(certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:48:subjectattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:48());
local extensionsattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:50:7
used-line:49 = certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:49:extensionsattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:49();
if nextattributes: known global
value: function: 0x96f0d68
signature: next (table [, index])
used-line:50(extensionsattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:50:7
used-line:50) then
	printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:51"Extensions:"
	for kattributes: local unused constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:53:6
used-line:52, extattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:53:9
used-line:52 in pairsattributes: known global
value: function: 0x96f0a00
signature: pairs (t)
used-line:52(extensionsattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:50:7
used-line:52) do
		printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:53("  "..extattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:53:9
used-line:53.nameattributes: unknown field
value: error:attempt to index 'ext' (a nil value)
used-line:53..":")
		for eattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:7
used-line:54, extvattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:10
used-line:54 in pairsattributes: known global
value: function: 0x96f0a00
signature: pairs (t)
used-line:54(extattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:53:9
used-line:54) do
			if typeattributes: known global
value: function: 0x96f0f40
signature: type (v)
used-line:55(extvattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:10
used-line:55) == "table" then
				local nattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:57:11
used-line:56 = oid_aliasesattributes: local constbind
value: table: 0x97e6e50
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:4:7
used-line:56[extvattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:10
used-line:56.nameattributes: unknown field
value: error:attempt to index 'extv' (a nil value)
used-line:56 or eattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:7
used-line:56 or ""] or extvattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:10
used-line:56.nameattributes: unknown field
value: error:attempt to index 'extv' (a nil value)
used-line:56 or eattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:7
used-line:56;
				printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:57("    " .. nattributes: local constbind
value: unknown
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:57:11
used-line:57..": "..tableattributes: known global
value: table: 0x96f1828
description: (table) table manipulation library
used-line:57.concatattributes: known field
value: function: 0x96f1850
signature: table.concat (table [, sep [, i [, j]]])
used-line:57(extvattributes: local constbind
value: number
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:55:10
used-line:57, ", "));
			end
		end
	end
end
if certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:62.sigalgattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:62 then
	printattributes: known global
value: function: 0x96f1020
signature: print (...)
used-line:63("Signed using: " .. certattributes: local mutatebind
value: nil
location defined: /srv/http/se/zash/www/%/edit/x509parse.lua:13:7
used-line:63:sigalgattributes: unknown field
value: error:attempt to index 'cert' (a nil value)
used-line:63());
end