HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/usr/share/nmap/nselib/data/psexec/drives.lua
---This configuration file pulls info about a given harddrive

-- Any variable in the 'config' table in smb-psexec.nse can be overriden in the
-- 'overrides' table. Most of them are not really recommended, such as the host,
-- key, etc.
overrides = {}
--overrides.timeout = 40

modules = {}
local mod

mod = {}
mod.upload           = false
mod.name             = "Drive type"
mod.program          = "fsutil"
mod.args             = "fsinfo drivetype $drive"
mod.req_args         = {"drive"}
mod.maxtime          = 1
table.insert(modules, mod)

mod = {}
mod.upload           = false
mod.name             = "Drive info"
mod.program          = "fsutil"
mod.args             = "fsinfo ntfsinfo $drive"
mod.req_args         = {"drive"}
mod.replace          = {{" :",":"}}
mod.maxtime          = 1
table.insert(modules, mod)

mod = {}
mod.upload           = false
mod.name             = "Drive type"
mod.program          = "fsutil"
mod.args             = "fsinfo statistics $drive"
mod.req_args         = {"drive"}
mod.replace          = {{" :",":"}}
mod.maxtime          = 1
table.insert(modules, mod)

mod = {}
mod.upload           = false
mod.name             = "Drive quota"
mod.program          = "fsutil"
mod.args             = "quota query $drive"
mod.req_args         = {"drive"}
mod.maxtime          = 1
table.insert(modules, mod)