Metasploit mailing list archives
Re: LocalJumpError problems
From: HD Moore <hdm () metasploit com>
Date: Mon, 15 Feb 2010 19:34:24 -0600
On 2/12/2010 5:13 PM, Robin Wood wrote:
Hi I've spent the last hour struggling to get the following code working in ruby 1.9
I want to break out when I get a timeout but I keep getting errors, they are are all around this style [-] Auxiliary failed: LocalJumpError unexpected return [-] Auxiliary failed: LocalJumpError break from proc-closure
It should be possible to just "break" from inside of the each_packet loop. Since this is a yielded packet from a background thread, normal returns don't work as you would expect them to. I added an example of the break method to aux/test/capture/ -HD _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- LocalJumpError problems Robin Wood (Feb 12)
- Re: LocalJumpError problems HD Moore (Feb 15)
- Re: LocalJumpError problems Robin Wood (Feb 16)
- Re: LocalJumpError problems HD Moore (Feb 15)
- Re: LocalJumpError problems HD Moore (Feb 15)