mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Revert revision 34034 from nmap/nse_main.lua:
Fix the creation of the thread.info property.
This commit is contained in:
@@ -467,7 +467,7 @@ do
|
|||||||
co = co,
|
co = co,
|
||||||
env = env,
|
env = env,
|
||||||
identifier = tostring(co),
|
identifier = tostring(co),
|
||||||
info = format("%s M:%s", self.id, match(tostring(co), "thread: (%x+)"));
|
info = format("%s M:%s", self.id, match(tostring(co), "0x(.*)"));
|
||||||
parent = nil, -- placeholder
|
parent = nil, -- placeholder
|
||||||
script = self,
|
script = self,
|
||||||
type = script_type,
|
type = script_type,
|
||||||
@@ -485,7 +485,7 @@ do
|
|||||||
args = pack(...),
|
args = pack(...),
|
||||||
close_handlers = {},
|
close_handlers = {},
|
||||||
co = co,
|
co = co,
|
||||||
info = format("%s W:%s", self.id, match(tostring(co), "thread: (%x+)"));
|
info = format("%s W:%s", self.id, match(tostring(co), "0x(.*)"));
|
||||||
parent = self,
|
parent = self,
|
||||||
worker = true,
|
worker = true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user