Fix Javascript payload generation in msfweb: was passing the invalid

"javascript", so it now chooses "js_le" or "js_be" based on endianness


git-svn-id: file:///home/svn/framework3/trunk@6042 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2008-12-24 06:57:32 +00:00
parent 9aa29aa876
commit a30adcdca5
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@
<option value="c">C</option>
<option value="ruby">Ruby</option>
<option value="perl">Perl</option>
<option value="javascript">Javascript</option>
<option value="js_<%= Rex::Arch.endian(@tmod.arch) == ENDIAN_BIG ? "b" : "l" %>e">Javascript</option>
<option value="java">Java</option>
<option value="raw">Raw</option>
</select>