msftidy pass on msf*
git-svn-id: file:///home/svn/framework3/trunk@14035 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
62c8c6ea9f
commit
5905ef3fad
8
msfcli
8
msfcli
|
@ -63,10 +63,10 @@ $stderr.puts "[*] Please wait while we load the module tree..."
|
|||
$framework = Msf::Simple::Framework.create
|
||||
|
||||
if ($framework.modules.failed.length > 0)
|
||||
print("Warning: The following modules could not be loaded!\n\n")
|
||||
$framework.modules.failed.each_pair do |file, err|
|
||||
print("\t#{file}: #{err}\n\n")
|
||||
end
|
||||
print("Warning: The following modules could not be loaded!\n\n")
|
||||
$framework.modules.failed.each_pair do |file, err|
|
||||
print("\t#{file}: #{err}\n\n")
|
||||
end
|
||||
end
|
||||
|
||||
if (not exploit_name)
|
||||
|
|
|
@ -235,8 +235,8 @@ case cmd
|
|||
"0x%.8x" % seg.base_address,
|
||||
seg.size.to_s,
|
||||
(((seg.readable == true) ? "r" : "") +
|
||||
((seg.writable == true) ? "w" : "") +
|
||||
((seg.executable == true) ? "x" : ""))
|
||||
((seg.writable == true) ? "w" : "") +
|
||||
((seg.executable == true) ? "x" : ""))
|
||||
]
|
||||
}
|
||||
|
||||
|
|
2
msfrop
2
msfrop
|
@ -164,5 +164,5 @@ if opts[:export]
|
|||
puts "Error writing #{opts[:export]} file"
|
||||
exit(1)
|
||||
end
|
||||
ropbuilder.print_msg("%bld%redSuccess!%clr gadgets exported to %bld%cya#{opts[:export]}%clr\n", color)
|
||||
ropbuilder.print_msg("%bld%redSuccess!%clr gadgets exported to %bld%cya#{opts[:export]}%clr\n", color)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue