Files
metasploit-gs/lib/rex
RageLtMan 537dc6e218 Update Payload Cached Sizes fails in PSH Script
When attempting to update cached payload sizes which utilize the
Rex::Powershell functionality, the BRE block which appropriates
initial code is called with the 'code' variable being a nil which
results in:

```
lib/rex/powershell/script.rb:40:in `initialize': no implicit
conversion of nil into String (TypeError)
```

This throws a conditional into the File.open call which presents an
empty string instead of a nil. This still results in the rescue
block having to catch the exception, but manages to keep the
payload size updating script happy an retains consistent
behavior.
2015-06-07 11:42:24 -04:00
..
2014-05-25 09:40:33 +01:00
2015-05-29 14:45:47 -05:00
2015-04-21 11:14:03 -05:00
2014-11-06 22:48:34 -06:00
2014-11-03 14:25:29 -06:00
2015-06-04 16:14:31 -05:00
2015-04-14 10:45:44 -05:00
2014-05-21 20:15:32 +01:00
2014-12-10 09:52:23 -06:00
2014-03-13 09:46:20 -05:00