Fix msfencode -l, thanks _sinn3r

git-svn-id: file:///home/svn/framework3/trunk@7218 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-10-20 21:58:08 +00:00
parent 00b2915554
commit 0fff5e5bc8
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ $args.parse(ARGV) { |opt, idx, val|
}
if(not fmt)
if(not fmt and output)
pre,ext = output.split('.')
if(ext and not ext.empty?)
fmt = ext