dhefiri / armitage

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

Attacks: Find Attacks: java.lang.RuntimeException: Invalid Module #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do nmap scan and select any computer on the list
2. Attacks menu -> Find Attacks
--> 

Message box:
Something went wrong: module.options

Error:
java.lang.RuntimeException: Invalid Module

Kali Linux 3.7-trunk-686-pae #1 SMP Debian 3.7.2-0+kali8 i686 GNU/Linux
Armitage: 1.47 - 21 August 2013
Metasploit: Framework 4.6.0-dev, console: 4.6.0-dev.15168

Original issue reported on code.google.com by aki.siv...@gmail.com on 26 Oct 2013 at 8:31

GoogleCodeExporter commented 9 years ago
Your module cache is corrupted my friend. And you're using an old Armitage to 
boot.  Newer Armitage releases address this problem somewhat. The coming 
release will address it better. In the meantime, here's what you can do:

1. Stop armitage
2. In a terminal: service metasploit start ; service metasploit stop
3. Start armitage
4. Hosts -> Clear Database ; yes
5. In a MSF console tab: db_rebuild_cache
6. Wait 5 minutes-do not close armitage.
7. Restart armitage

Should fix it for you.

Original comment by rsmu...@gmail.com on 26 Oct 2013 at 8:47

GoogleCodeExporter commented 9 years ago
Indeed. Now it works. Thanks :)

Original comment by aki.siv...@gmail.com on 26 Oct 2013 at 10:01

GoogleCodeExporter commented 9 years ago
1- detected corrupt module cache restart metasploit for fix to take effect #2?

2- metasploit framework exception : invalid module?

3- detected corrupt module cache restart metasploit for fix to take effect #3?

how to remove this errors?

kind regards,

ADNAN

Original comment by dentco.a...@gmail.com on 30 Jan 2014 at 5:04

GoogleCodeExporter commented 9 years ago
Do the restarts. These are issues related to MSF caching its commercial module 
metadata in the same database used by non-commercial consumers.  I detect when 
this happens and do my best to clear the issue, so that a restart fixes it 
(unil you update again).

-- Raphael

Original comment by rsmu...@gmail.com on 30 Jan 2014 at 7:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello Sir,
         many thanx i need to know how to restarts and fix issues any command or install metadata?

kind regards,
ADNAN

Original comment by dentco.a...@gmail.com on 4 Feb 2014 at 10:29

GoogleCodeExporter commented 9 years ago
same problem for me i dont how to fix!!
i found the map with the corrupt module cache do i have to delete that maps?

Original comment by jimmyvan...@gmail.com on 25 Apr 2014 at 4:26