Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.217.105
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nmap /
nselib /
Delete
Unzip
Name
Size
Permission
Date
Action
data
[ DIR ]
drwxr-xr-x
2024-08-29 14:21
afp.lua
71.48
KB
-rw-r--r--
2023-01-13 02:40
ajp.lua
16.77
KB
-rw-r--r--
2023-01-13 02:40
amqp.lua
10.41
KB
-rw-r--r--
2023-01-13 02:40
anyconnect.lua
4.31
KB
-rw-r--r--
2023-01-13 02:40
asn1.lua
14.57
KB
-rw-r--r--
2023-01-13 02:40
base32.lua
7.36
KB
-rw-r--r--
2023-01-13 02:40
base64.lua
5.83
KB
-rw-r--r--
2023-01-13 02:40
bin.lua
12.99
KB
-rw-r--r--
2023-01-13 02:40
bitcoin.lua
18.25
KB
-rw-r--r--
2023-01-13 02:40
bits.lua
2.54
KB
-rw-r--r--
2023-01-13 02:40
bittorrent.lua
35.76
KB
-rw-r--r--
2023-01-13 02:40
bjnp.lua
9.55
KB
-rw-r--r--
2023-01-13 02:40
brute.lua
50.64
KB
-rw-r--r--
2023-01-13 02:40
cassandra.lua
5.48
KB
-rw-r--r--
2023-01-13 02:40
citrixxml.lua
16
KB
-rw-r--r--
2023-01-13 02:40
coap.lua
75.1
KB
-rw-r--r--
2023-01-13 02:40
comm.lua
11.03
KB
-rw-r--r--
2023-01-13 02:40
creds.lua
18.26
KB
-rw-r--r--
2023-01-13 02:40
cvs.lua
3.05
KB
-rw-r--r--
2023-01-13 02:40
datafiles.lua
11.05
KB
-rw-r--r--
2023-01-13 02:40
datetime.lua
7.5
KB
-rw-r--r--
2023-01-13 02:40
dhcp.lua
28.57
KB
-rw-r--r--
2023-01-13 02:40
dhcp6.lua
19.86
KB
-rw-r--r--
2023-01-13 02:40
dns.lua
51.07
KB
-rw-r--r--
2023-01-13 02:40
dnsbl.lua
19.01
KB
-rw-r--r--
2023-01-13 02:40
dnssd.lua
12.61
KB
-rw-r--r--
2023-01-13 02:40
drda.lua
24.08
KB
-rw-r--r--
2023-01-13 02:40
eap.lua
7.54
KB
-rw-r--r--
2023-01-13 02:40
eigrp.lua
12.98
KB
-rw-r--r--
2023-01-13 02:40
formulas.lua
5.68
KB
-rw-r--r--
2023-01-13 02:40
ftp.lua
9.03
KB
-rw-r--r--
2023-01-13 02:40
geoip.lua
1.71
KB
-rw-r--r--
2023-01-13 02:40
giop.lua
18.42
KB
-rw-r--r--
2023-01-13 02:40
gps.lua
3.38
KB
-rw-r--r--
2023-01-13 02:40
http.lua
117.07
KB
-rw-r--r--
2023-01-13 02:40
httpspider.lua
36.65
KB
-rw-r--r--
2023-01-13 02:40
iax2.lua
9.58
KB
-rw-r--r--
2023-01-13 02:40
idna.lua
17.14
KB
-rw-r--r--
2023-01-13 02:40
ike.lua
14.63
KB
-rw-r--r--
2023-01-13 02:40
imap.lua
9.59
KB
-rw-r--r--
2023-01-13 02:40
informix.lua
39.93
KB
-rw-r--r--
2023-01-13 02:40
ipOps.lua
29.06
KB
-rw-r--r--
2023-01-13 02:40
ipmi.lua
8.08
KB
-rw-r--r--
2023-01-13 02:40
ipp.lua
12.57
KB
-rw-r--r--
2023-01-13 02:40
irc.lua
757
B
-rw-r--r--
2023-01-13 02:40
iscsi.lua
21.38
KB
-rw-r--r--
2023-01-13 02:40
isns.lua
14.98
KB
-rw-r--r--
2023-01-13 02:40
jdwp.lua
43.52
KB
-rw-r--r--
2023-01-13 02:40
json.lua
11.62
KB
-rw-r--r--
2023-01-13 02:40
knx.lua
2.42
KB
-rw-r--r--
2023-01-13 02:40
ldap.lua
31.94
KB
-rw-r--r--
2023-01-13 02:40
lfs.luadoc
1.68
KB
-rw-r--r--
2023-01-13 02:40
libssh2-utility.lua
4.69
KB
-rw-r--r--
2023-01-13 02:40
libssh2.luadoc
4.75
KB
-rw-r--r--
2023-01-13 02:40
listop.lua
4.66
KB
-rw-r--r--
2023-01-13 02:40
lpeg-utility.lua
5.64
KB
-rw-r--r--
2023-01-13 02:40
lpeg.luadoc
351
B
-rw-r--r--
2023-01-13 02:40
ls.lua
10.96
KB
-rw-r--r--
2023-01-13 02:40
match.lua
2.05
KB
-rw-r--r--
2023-01-13 02:40
membase.lua
9.93
KB
-rw-r--r--
2023-01-13 02:40
mobileme.lua
8.46
KB
-rw-r--r--
2023-01-13 02:40
mongodb.lua
21.3
KB
-rw-r--r--
2023-01-13 02:40
mqtt.lua
28.86
KB
-rw-r--r--
2023-01-13 02:40
msrpc.lua
190.07
KB
-rw-r--r--
2023-01-13 02:40
msrpcperformance.lua
29.65
KB
-rw-r--r--
2023-01-13 02:40
msrpctypes.lua
168.52
KB
-rw-r--r--
2023-01-13 02:40
mssql.lua
109.43
KB
-rw-r--r--
2023-01-13 02:40
multicast.lua
5.97
KB
-rw-r--r--
2023-01-13 02:40
mysql.lua
16.03
KB
-rw-r--r--
2023-01-13 02:40
natpmp.lua
5.11
KB
-rw-r--r--
2023-01-13 02:40
nbd.lua
16.04
KB
-rw-r--r--
2023-01-13 02:40
ncp.lua
35.64
KB
-rw-r--r--
2023-01-13 02:40
ndmp.lua
11.43
KB
-rw-r--r--
2023-01-13 02:40
netbios.lua
14.44
KB
-rw-r--r--
2023-01-13 02:40
nmap.luadoc
40.34
KB
-rw-r--r--
2023-01-13 02:40
nrpc.lua
4.46
KB
-rw-r--r--
2023-01-13 02:40
nsedebug.lua
3.49
KB
-rw-r--r--
2023-01-13 02:40
omp2.lua
4.78
KB
-rw-r--r--
2023-01-13 02:40
oops.lua
3.61
KB
-rw-r--r--
2023-01-13 02:40
openssl.luadoc
7.5
KB
-rw-r--r--
2023-01-13 02:40
ospf.lua
15.29
KB
-rw-r--r--
2023-01-13 02:40
packet.lua
36.18
KB
-rw-r--r--
2023-01-13 02:40
pcre.luadoc
6.79
KB
-rw-r--r--
2023-01-13 02:40
pgsql.lua
20.6
KB
-rw-r--r--
2023-01-13 02:40
pop3.lua
5.74
KB
-rw-r--r--
2023-01-13 02:40
pppoe.lua
29.42
KB
-rw-r--r--
2023-01-13 02:40
proxy.lua
11.37
KB
-rw-r--r--
2023-01-13 02:40
punycode.lua
11.5
KB
-rw-r--r--
2023-01-13 02:40
rand.lua
2.7
KB
-rw-r--r--
2023-01-13 02:40
rdp.lua
14.73
KB
-rw-r--r--
2023-01-13 02:40
re.lua
8.22
KB
-rw-r--r--
2023-01-13 02:40
redis.lua
3.61
KB
-rw-r--r--
2023-01-13 02:40
rmi.lua
47.77
KB
-rw-r--r--
2023-01-13 02:40
rpc.lua
107.64
KB
-rw-r--r--
2023-01-13 02:40
rpcap.lua
11.08
KB
-rw-r--r--
2023-01-13 02:40
rsync.lua
5.22
KB
-rw-r--r--
2023-01-13 02:40
rtsp.lua
8.62
KB
-rw-r--r--
2023-01-13 02:40
sasl.lua
16.51
KB
-rw-r--r--
2023-01-13 02:40
shortport.lua
11.99
KB
-rw-r--r--
2023-01-13 02:40
sip.lua
30.07
KB
-rw-r--r--
2023-01-13 02:40
slaxml.lua
17.9
KB
-rw-r--r--
2023-01-13 02:40
smb.lua
173.22
KB
-rw-r--r--
2023-01-13 02:40
smb2.lua
15.34
KB
-rw-r--r--
2023-01-13 02:40
smbauth.lua
37.33
KB
-rw-r--r--
2023-01-13 02:40
smtp.lua
19.85
KB
-rw-r--r--
2023-01-13 02:40
snmp.lua
16
KB
-rw-r--r--
2023-01-13 02:40
socks.lua
8.25
KB
-rw-r--r--
2023-01-13 02:40
srvloc.lua
10.99
KB
-rw-r--r--
2023-01-13 02:40
ssh1.lua
9.15
KB
-rw-r--r--
2023-01-13 02:40
ssh2.lua
11.73
KB
-rw-r--r--
2023-01-13 02:40
sslcert.lua
33.35
KB
-rw-r--r--
2023-01-13 02:40
sslv2.lua
9.68
KB
-rw-r--r--
2023-01-13 02:40
stdnse.lua
32.64
KB
-rw-r--r--
2023-01-13 02:40
strbuf.lua
4.52
KB
-rw-r--r--
2023-01-13 02:40
strict.lua
2.53
KB
-rw-r--r--
2023-01-13 02:40
stringaux.lua
4.32
KB
-rw-r--r--
2023-01-13 02:40
stun.lua
11.08
KB
-rw-r--r--
2023-01-13 02:40
tab.lua
3.35
KB
-rw-r--r--
2023-01-13 02:40
tableaux.lua
2.06
KB
-rw-r--r--
2023-01-13 02:40
target.lua
3.93
KB
-rw-r--r--
2023-01-13 02:40
tftp.lua
9.41
KB
-rw-r--r--
2023-01-13 02:40
tls.lua
58.05
KB
-rw-r--r--
2023-01-13 02:40
tn3270.lua
46.99
KB
-rw-r--r--
2023-01-13 02:40
tns.lua
64.16
KB
-rw-r--r--
2023-01-13 02:40
unicode.lua
14.23
KB
-rw-r--r--
2023-01-13 02:40
unittest.lua
12.41
KB
-rw-r--r--
2023-01-13 02:40
unpwdb.lua
10.42
KB
-rw-r--r--
2023-01-13 02:40
upnp.lua
11.18
KB
-rw-r--r--
2023-01-13 02:40
url.lua
16.7
KB
-rw-r--r--
2023-01-13 02:40
versant.lua
8.58
KB
-rw-r--r--
2023-01-13 02:40
vnc.lua
25.54
KB
-rw-r--r--
2023-01-13 02:40
vulns.lua
76.45
KB
-rw-r--r--
2023-01-13 02:40
vuzedht.lua
16.21
KB
-rw-r--r--
2023-01-13 02:40
wsdd.lua
11.98
KB
-rw-r--r--
2023-01-13 02:40
xdmcp.lua
12.09
KB
-rw-r--r--
2023-01-13 02:40
xmpp.lua
15.91
KB
-rw-r--r--
2023-01-13 02:40
zlib.luadoc
4.88
KB
-rw-r--r--
2023-01-13 02:40
Save
Rename
--- A relatively small implementation of the Service Location Protocol. -- It was initially designed to support requests for discovering Novell NCP -- servers, but should work for any other service as well. -- -- The implementation is based on the following classes: -- * Request.Service -- - Contains necessary code to produce a service request -- -- * Request.Attributes -- - Contains necessary code to produce a attribute request -- -- * Reply.Service -- - Contains necessary code to process and parse the response to the -- service request -- -- * Reply.Attributes -- - Contains necessary code to process and parse the response to the -- attribute request -- -- The following code illustrates intended use of the library: -- -- <code> -- local helper = srvloc.Helper:new() -- local status, tree = helper:ServiceRequest("ndap.novell", "DEFAULT") -- if ( status ) then tree = tree:match("%/%/%/(.*)%.$") end -- </code> --@author Patrik Karlsson <patrik@cqure.net> --@copyright Same as Nmap--See https://nmap.org/book/man-legal.html -- Version 0.1 -- Created 24/04/2011 - v0.1 - created by Patrik Karlsson <patrik@cqure.net> local nmap = require "nmap" local stdnse = require "stdnse" local string = require "string" local table = require "table" _ENV = stdnse.module("srvloc", stdnse.seeall) PacketFunction = { SERVICE_REQUEST = 1, SERVICE_REPLY = 2, ATTRIB_REQUEST = 6, } Reply = { Service = { --- Creates a new instance of the Reply.Service class -- @param data string containing the raw reply as read from the socket -- @return o instance of Reply.Service new = function(self, data) local o = { data = data } setmetatable(o, self) self.__index = self o:parse(data) return o end, --- Parses the service reply raw packet data -- @param data string containing the raw reply as read from the socket parse = function(self, data) local pos self.version, self.func, self.len, self.flags, pos = string.unpack(">BBI3I2", data) self.next_extension_offset, self.xid, self.lang_tag, pos = string.unpack(">I3I2s2", data, pos) local no_urls, reserved, url_len self.error_code, no_urls, pos = string.unpack(">I2I2", data, pos) if ( no_urls > 0 ) then local num_auths self.url_lifetime, self.url, num_auths, pos = string.unpack(">xI2s2C", data, pos) end end, --- Attempts to create an instance by reading data off the socket -- @param socket socket connected to the SRVLOC service -- @return new instance of the Reply.Service class fromSocket = function(socket) local status, data = socket:receive() if ( not(status) ) then return end return Reply.Service:new(data) end, --- Gets the url value from the reply -- @return uri string containing the reply url getUrl = function(self) return self.url end, }, Attribute = { --- Creates a new instance of Reply.Attribute -- @param data string containing the raw reply as read from the socket -- @return o instance of Reply.Attribute new = function(self, data) local o = { data = data } setmetatable(o, self) self.__index = self o:parse(data) return o end, --- Parses the service reply raw packet data -- @param data string containing the raw reply as read from the socket parse = function(self, data) local pos self.version, self.func, self.len, pos = string.unpack(">BBI3", data) self.next_extension_offset, self.xid, self.lang_tag, pos = string.unpack(">I3I2s2", data, pos) local num_auths self.error_code, self.attrib_list, num_auths, pos = string.unpack(">I2s2B", data, pos) end, --- Attempts to create an instance by reading data off the socket -- @param socket socket connected to the SRVLOC service -- @return new instance of the Reply.Attribute class fromSocket = function(socket) local status, data = socket:receive() if ( not(status) ) then return end return Reply.Attribute:new(data) end, --- Gets the attribute list -- @return attrib_list getAttribList = function(self) return self.attrib_list end, } } Request = { -- The attribute request Attribute = { --- Creates a new instance of the Attribue request -- @return o instance of Attribute new = function(self) local o = { lang_tag = "en", version = 2, service_type = "", scope = "", next_extension_offset = 0, prev_resp_list_len = 0, slp_spi_len = 0 } setmetatable(o, self) self.__index = self return o end, --- Sets the request scope -- @param scope string containing the request scope setScope = function(self, scope) self.scope = scope end, --- Sets the language tag -- @param lang string containing the language setLangTag = function(self, lang) self.lang_tag = lang end, --- Sets the request flags -- @param flags number containing the numeric flag representation setFlags = function(self, flags) self.flags = flags end, --- Sets the request XID -- @param xid number containing the request XID setXID = function(self, xid) self.xid = xid end, --- Sets the request function -- @param func number containing the request function number setFunction = function(self, func) self.func = func end, --- Sets the request taglist -- @param tl string containing the taglist setTagList = function(self, tl) self.tag_list = tl end, --- Sets the request url -- @param u string containing the url setUrl = function(self, u) self.url = u end, --- "Serializes" the request to a string -- @return data string containing a string representation of the request __tostring = function(self) assert(self.func, "Packet function was not specified") assert(self.scope, "Packet scope was not specified") local BASE_LEN = 24 local len = BASE_LEN + #self.lang_tag + self.prev_resp_list_len + self.slp_spi_len + #self.service_type + #self.url + #self.tag_list + #self.scope local data = string.pack(">BBI3I2I3I2s2I2s2s2s2I2", self.version, self.func, len, self.flags, self.next_extension_offset, self.xid, self.lang_tag, self.prev_resp_list_len, self.url, self.scope, self.tag_list, self.slp_spi_len) return data end }, -- The Service request Service = { --- Creates a new instance of the Service request -- @return o instance of Service new = function(self) local o = { lang_tag = "en", version = 2, service_type = "", scope = "", next_extension_offset = 0, prev_resp_list_len = 0, predicate_len = 0, slp_spi_len = 0 } setmetatable(o, self) self.__index = self return o end, --- Sets the service type of the request -- @param t string containing the type of the request setServiceType = function(self, t) self.service_type = t end, --- Sets the request scope -- @param scope string containing the request scope setScope = function(self, scope) self.scope = scope end, --- Sets the language tag -- @param lang string containing the language setLangTag = function(self, lang) self.lang_tag = lang end, --- Sets the request flags -- @param flags number containing the numeric flag representation setFlags = function(self, flags) self.flags = flags end, --- Sets the request XID -- @param xid number containing the request XID setXID = function(self, xid) self.xid = xid end, --- Sets the request function -- @param func number containing the request function number setFunction = function(self, func) self.func = func end, --- "Serializes" the request to a string -- @return data string containing a string representation of the request __tostring = function(self) assert(self.func, "Packet function was not specified") assert(self.scope, "Packet scope was not specified") local BASE_LEN = 24 local len = BASE_LEN + #self.lang_tag + self.prev_resp_list_len + self.predicate_len + self.slp_spi_len + #self.service_type + #self.scope local len_hi = ((len >> 16) & 0x00FF) local len_lo = (len & 0xFFFF) local neo_hi = ((self.next_extension_offset >> 16) & 0x00FF) local neo_lo = (self.next_extension_offset & 0xFFFF) local data = string.pack(">BBI3I2I3I2s2I2s2s2I2I2", self.version, self.func, len, self.flags, self.next_extension_offset, self.xid, self.lang_tag, self.prev_resp_list_len, self.service_type, self.scope, self.predicate_len, self.slp_spi_len) return data end } } -- The Helper class serves as primary interface for scripts using the library Helper = { new = function(self, host, port) local o = { xid = 1, socket = nmap.new_socket("udp") } setmetatable(o, self) self.__index = self local family = nmap.address_family() o.host = host or (family=="inet6" and "FF02::116" or "239.255.255.253") o.port = port or { number=427, proto="udp" } return o end, --- Sends a service request and waits for the response -- @param srvtype string containing the service type to query -- @param scope string containing the scope of the request -- @return true on success, false on failure -- @return url string (on success) containing the url of the ServiceReply -- @return err string (on failure) containing the error message ServiceRequest = function(self, srvtype, scope) local srvtype = srvtype or "" local scope = scope or "" local sr = Request.Service:new() sr:setXID(self.xid) sr:setServiceType(srvtype) sr:setScope(scope) sr:setFunction(PacketFunction.SERVICE_REQUEST) sr:setFlags(0x2000) self.socket:set_timeout(5000) self.socket:sendto( self.host, self.port, tostring(sr) ) local result = {} repeat local r = Reply.Service.fromSocket(self.socket) if ( r ) then table.insert(result, r:getUrl()) end self.xid = self.xid + 1 until(not(r)) if ( #result == 0 ) then return false, "ERROR: Helper.Locate no response received" end return true, result end, --- Requests an attribute from the server -- @param url as retrieved by the Service request -- @param scope string containing the request scope -- @param taglist string containing the request tag list AttributeRequest = function(self, url, scope, taglist) local url = url or "" local scope = scope or "" local taglist = taglist or "" local ar = Request.Attribute:new() ar:setXID(self.xid) ar:setScope(scope) ar:setUrl(url) ar:setTagList(taglist) ar:setFunction(PacketFunction.ATTRIB_REQUEST) ar:setFlags(0x2000) self.socket:set_timeout(5000) self.socket:sendto( self.host, self.port, tostring(ar) ) local r = Reply.Attribute.fromSocket(self.socket) self.xid = self.xid + 1 if ( not(r) ) then return false, "ERROR: Helper.Locate no response received" end return true, r:getAttribList() end, close = function(self) return self.socket:close() end, } return _ENV;