git-svn-id: file:///home/svn/incoming/trunk@2368 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2005-04-11 05:56:11 +00:00
parent 593bc26ff2
commit b601772d18
1 changed files with 15 additions and 0 deletions

View File

@ -59,6 +59,21 @@ class Dir < Rex::Post::Dir
return 0
end
=begin
mkdir(path)
Creates a directory.
=end
def Dir.mkdir(path)
request = Packet.create_request('stdapi_fs_mkdir')
request.add_tlv(TLV_TYPE_DIRECTORY_PATH, path)
response = client.send_request(request)
return 0
end
=begin
pwd