dipsec / armitage

Automatically exported from code.google.com/p/armitage
0 stars 0 forks source link

Hosts --> Import Hosts using GUI fails due to speechmark placement #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
       =[ metasploit v4.2.0-dev [core:4.2 api:1.0]
+ -- --=[ 798 exploits - 435 auxiliary - 133 post
+ -- --=[ 246 payloads - 27 encoders - 8 nops
       =[ svn r14691 updated today (2012.02.04)

Hosts-->Import Hosts
Select more than one file produces this error in import tab:
msf > db_import "/root/output/192.168.0.18.custom.tcp.amap 
/root/output/192.168.0.18.custom.udp.amap 
/root/output/192.168.0.18.small.tcp.amap"
[-] No such file /root/output/192.168.0.18.custom.tcp.amap 
/root/output/192.168.0.18.custom.udp.amap 
/root/output/192.168.0.18.small.tcp.amap

each file needs it's own speech marks, e.g.
msf > db_import "/dir/file1" "/dir/file2" "/dir/file3" 

files attached for sample test

manually copying the attempted import and add adding speech marks works fine:
msf > db_import "/root/output/192.168.0.18.custom.tcp.amap" 
"/root/output/192.168.0.18.custom.udp.amap" 
"/root/output/192.168.0.18.small.tcp.amap"
[*] Importing 'Amap Log' data
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Successfully imported /root/output/192.168.0.18.custom.tcp.amap
[*] Importing 'Amap Log' data
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Successfully imported /root/output/192.168.0.18.custom.udp.amap
[*] Importing 'Amap Log' data
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Importing host 192.168.0.18
[*] Successfully imported /root/output/192.168.0.18.small.tcp.amap

Original issue reported on code.google.com by phillips321 on 4 Feb 2012 at 3:17

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks. This seems related to issue 81 which I will address in the next update. 
Also--good job posting sample files. I wish more folks did this. I should be 
okay in this case, but the more you can give me is always better.

Original comment by rsmu...@gmail.com on 4 Feb 2012 at 9:17