mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 21:09:00 +00:00
Remove bin.lua packing from more scripts
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
local bin = require "bin"
|
||||
local msrpc = require "msrpc"
|
||||
local smb = require "smb"
|
||||
local string = require "string"
|
||||
@@ -110,9 +109,9 @@ from an anonymous connection.
|
||||
end
|
||||
|
||||
-- create malicious packet, same as in the PoC
|
||||
local data = bin.pack("<I",4096) -- num_sids
|
||||
local data = string.pack("<I4",4096) -- num_sids
|
||||
.. "abcd"
|
||||
..bin.pack("<III",100
|
||||
..string.pack("<I4I4I4",100
|
||||
,0
|
||||
,100)
|
||||
..string.rep("a",1000)
|
||||
|
||||
Reference in New Issue
Block a user