Permalink
Browse files

Mark all libraries as defaulting to 8-bit strings

  • Loading branch information...
1 parent c45b103 commit d656e3185ff80b7264c30e994b2299a039e907a2 HD Moore committed Jun 29, 2012
Showing with 307 additions and 3 deletions.
  1. +1 −0 lib/bit-struct.rb
  2. +1 −0 lib/bit-struct/bit-struct.rb
  3. +1 −0 lib/bit-struct/char-field.rb
  4. +1 −0 lib/bit-struct/fields.rb
  5. +1 −0 lib/bit-struct/float-field.rb
  6. +1 −0 lib/bit-struct/hex-octet-field.rb
  7. +1 −0 lib/bit-struct/nested-field.rb
  8. +1 −0 lib/bit-struct/octet-field.rb
  9. +1 −0 lib/bit-struct/pad-field.rb
  10. +1 −0 lib/bit-struct/signed-field.rb
  11. +1 −0 lib/bit-struct/text-field.rb
  12. +1 −0 lib/bit-struct/unsigned-field.rb
  13. +1 −0 lib/bit-struct/vector-field.rb
  14. +1 −0 lib/bit-struct/vector.rb
  15. +1 −0 lib/bit-struct/yaml.rb
  16. +1 −0 lib/fastlib.rb
  17. +1 −0 lib/msf/base.rb
  18. +1 −0 lib/msf/base.rb.ts.rb
  19. +1 −0 lib/msf/base/config.rb
  20. +1 −0 lib/msf/base/logging.rb
  21. +1 −0 lib/msf/base/persistent_storage.rb
  22. +1 −0 lib/msf/base/persistent_storage/flatfile.rb
  23. +1 −0 lib/msf/base/serializer/readable_text.rb
  24. +1 −0 lib/msf/base/sessions/command_shell.rb
  25. +1 −0 lib/msf/base/sessions/command_shell.rb.ut.rb
  26. +1 −0 lib/msf/base/sessions/command_shell_options.rb
  27. +1 −0 lib/msf/base/sessions/meterpreter.rb
  28. +1 −0 lib/msf/base/sessions/meterpreter_java.rb
  29. +1 −0 lib/msf/base/sessions/meterpreter_options.rb
  30. +1 −0 lib/msf/base/sessions/meterpreter_php.rb
  31. +1 −0 lib/msf/base/sessions/meterpreter_x64_win.rb
  32. +1 −0 lib/msf/base/sessions/meterpreter_x86_bsd.rb
  33. +1 −0 lib/msf/base/sessions/meterpreter_x86_linux.rb
  34. +1 −0 lib/msf/base/sessions/meterpreter_x86_win.rb
  35. +1 −0 lib/msf/base/sessions/scriptable.rb
  36. +1 −0 lib/msf/base/sessions/tty.rb
  37. +1 −0 lib/msf/base/sessions/vncinject.rb
  38. +1 −0 lib/msf/base/sessions/vncinject_options.rb
  39. +1 −0 lib/msf/base/simple.rb
  40. +1 −0 lib/msf/base/simple/auxiliary.rb
  41. +1 −0 lib/msf/base/simple/buffer.rb
  42. +1 −0 lib/msf/base/simple/encoder.rb
  43. +1 −0 lib/msf/base/simple/exploit.rb
  44. +1 −0 lib/msf/base/simple/framework.rb
  45. +1 −0 lib/msf/base/simple/module.rb
  46. +1 −0 lib/msf/base/simple/nop.rb
  47. +1 −0 lib/msf/base/simple/payload.rb
  48. +1 −0 lib/msf/base/simple/post.rb
  49. +1 −0 lib/msf/base/simple/statistics.rb
  50. +1 −0 lib/msf/core.rb
  51. +1 −0 lib/msf/core.rb.ts.rb
  52. +1 −0 lib/msf/core/auxiliary.rb
  53. +1 −0 lib/msf/core/auxiliary/auth_brute.rb
  54. +1 −0 lib/msf/core/auxiliary/cisco.rb
  55. +1 −0 lib/msf/core/auxiliary/commandshell.rb
  56. +1 −0 lib/msf/core/auxiliary/crawler.rb
  57. +1 −0 lib/msf/core/auxiliary/dos.rb
  58. +1 −0 lib/msf/core/auxiliary/fuzzer.rb
  59. +1 −0 lib/msf/core/auxiliary/iax2.rb
  60. +1 −0 lib/msf/core/auxiliary/jtr.rb
  61. +1 −0 lib/msf/core/auxiliary/login.rb
  62. +1 −0 lib/msf/core/auxiliary/mime_types.rb
  63. +1 −0 lib/msf/core/auxiliary/mixins.rb
  64. +1 −0 lib/msf/core/auxiliary/nmap.rb
  65. +1 −0 lib/msf/core/auxiliary/pii.rb
  66. +1 −0 lib/msf/core/auxiliary/report.rb
  67. +1 −0 lib/msf/core/auxiliary/rservices.rb
  68. +1 −0 lib/msf/core/auxiliary/scanner.rb
  69. +1 −0 lib/msf/core/auxiliary/timed.rb
  70. +1 −0 lib/msf/core/auxiliary/wmapmodule.rb
  71. +1 −0 lib/msf/core/constants.rb
  72. +1 −0 lib/msf/core/data_store.rb
  73. +1 −0 lib/msf/core/db.rb
  74. +1 −0 lib/msf/core/db_export.rb
  75. +1 −0 lib/msf/core/db_manager.rb
  76. +1 −0 lib/msf/core/encoded_payload.rb
  77. +1 −0 lib/msf/core/encoder.rb
  78. +1 −0 lib/msf/core/encoder/alphanum.rb
  79. +1 −0 lib/msf/core/encoder/nonalpha.rb
  80. +1 −0 lib/msf/core/encoder/nonupper.rb
  81. +1 −0 lib/msf/core/encoder/xor.rb
  82. +1 −0 lib/msf/core/encoder/xor_additive_feedback.rb
  83. +1 −0 lib/msf/core/encoding/xor.rb
  84. +1 −0 lib/msf/core/event_dispatcher.rb
  85. +1 −0 lib/msf/core/exceptions.rb
  86. +1 −0 lib/msf/core/exceptions.rb.ut.rb
  87. +1 −0 lib/msf/core/exploit.rb
  88. +1 −0 lib/msf/core/exploit.rb.ut.rb
  89. +1 −0 lib/msf/core/exploit/afp.rb
  90. +1 −0 lib/msf/core/exploit/arkeia.rb
  91. +1 −0 lib/msf/core/exploit/browser_autopwn.rb
  92. +1 −0 lib/msf/core/exploit/brute.rb
  93. +1 −0 lib/msf/core/exploit/brutetargets.rb
  94. +1 −0 lib/msf/core/exploit/capture.rb
  95. +1 −0 lib/msf/core/exploit/cmdstager.rb
  96. +1 −0 lib/msf/core/exploit/cmdstager_debug_asm.rb
  97. +1 −0 lib/msf/core/exploit/cmdstager_debug_write.rb
  98. +1 −0 lib/msf/core/exploit/cmdstager_tftp.rb
  99. +1 −0 lib/msf/core/exploit/cmdstager_vbs.rb
  100. +1 −0 lib/msf/core/exploit/cmdstager_vbs_adodb.rb
  101. +1 −0 lib/msf/core/exploit/db2.rb
  102. +1 −0 lib/msf/core/exploit/dcerpc.rb
  103. +1 −0 lib/msf/core/exploit/dcerpc.rb.ut.rb
  104. +1 −0 lib/msf/core/exploit/dcerpc_epm.rb
  105. +1 −0 lib/msf/core/exploit/dcerpc_lsa.rb
  106. +1 −0 lib/msf/core/exploit/dcerpc_mgmt.rb
  107. +1 −0 lib/msf/core/exploit/dect_coa.rb
  108. +1 −0 lib/msf/core/exploit/dhcp.rb
  109. +1 −0 lib/msf/core/exploit/dialup.rb
  110. +1 −0 lib/msf/core/exploit/egghunter.rb
  111. +1 −0 lib/msf/core/exploit/exe.rb
  112. +1 −0 lib/msf/core/exploit/fileformat.rb
  113. +1 −0 lib/msf/core/exploit/fmtstr.rb
  114. +1 −0 lib/msf/core/exploit/ftp.rb
  115. +1 −0 lib/msf/core/exploit/ftpserver.rb
  116. +1 −0 lib/msf/core/exploit/http/client.rb
  117. +1 −0 lib/msf/core/exploit/http/server.rb
  118. +1 −0 lib/msf/core/exploit/imap.rb
  119. +1 −0 lib/msf/core/exploit/ip.rb
  120. +1 −0 lib/msf/core/exploit/ipv6.rb
  121. +1 −0 lib/msf/core/exploit/java.rb
  122. +1 −0 lib/msf/core/exploit/kernel_mode.rb
  123. +1 −0 lib/msf/core/exploit/lorcon.rb
  124. +1 −0 lib/msf/core/exploit/lorcon2.rb
  125. +1 −0 lib/msf/core/exploit/mixins.rb
  126. +1 −0 lib/msf/core/exploit/mssql.rb
  127. +1 −0 lib/msf/core/exploit/mssql_commands.rb
  128. +1 −0 lib/msf/core/exploit/mssql_sqli.rb
  129. +1 −0 lib/msf/core/exploit/mysql.rb
  130. +1 −0 lib/msf/core/exploit/ndmp.rb
  131. +1 −0 lib/msf/core/exploit/ntlm.rb
  132. +1 −0 lib/msf/core/exploit/omelet.rb
  133. +1 −0 lib/msf/core/exploit/oracle.rb
  134. +1 −0 lib/msf/core/exploit/pdf.rb
  135. +1 −0 lib/msf/core/exploit/pdf_parse.rb
  136. +1 −0 lib/msf/core/exploit/pop2.rb
  137. +1 −0 lib/msf/core/exploit/postgres.rb
  138. +1 −0 lib/msf/core/exploit/riff.rb
  139. +1 −0 lib/msf/core/exploit/seh.rb
  140. +1 −0 lib/msf/core/exploit/seh.rb.ut.rb
  141. +1 −0 lib/msf/core/exploit/smb.rb
  142. +1 −0 lib/msf/core/exploit/smtp.rb
  143. +1 −0 lib/msf/core/exploit/smtp_deliver.rb
  144. +1 −0 lib/msf/core/exploit/snmp.rb
  145. +1 −0 lib/msf/core/exploit/sunrpc.rb
  146. +1 −0 lib/msf/core/exploit/tcp.rb
  147. +1 −0 lib/msf/core/exploit/tcp.rb.ut.rb
  148. +1 −0 lib/msf/core/exploit/telnet.rb
  149. +1 −0 lib/msf/core/exploit/tftp.rb
  150. +1 −0 lib/msf/core/exploit/tns.rb
  151. +1 −0 lib/msf/core/exploit/udp.rb
  152. +1 −0 lib/msf/core/exploit/vim_soap.rb
  153. +1 −0 lib/msf/core/exploit/wbemexec.rb
  154. +1 −0 lib/msf/core/exploit/wdbrpc.rb
  155. +1 −0 lib/msf/core/exploit/wdbrpc_client.rb
  156. +1 −0 lib/msf/core/exploit_driver.rb
  157. +1 −0 lib/msf/core/framework.rb
  158. +1 −0 lib/msf/core/handler.rb
  159. +1 −0 lib/msf/core/handler/bind_tcp.rb
  160. +1 −0 lib/msf/core/handler/bind_tcp.rb.ut.rb
  161. +1 −0 lib/msf/core/handler/find_port.rb
  162. +1 −0 lib/msf/core/handler/find_shell.rb
  163. +1 −0 lib/msf/core/handler/find_tag.rb
  164. +1 −0 lib/msf/core/handler/find_tty.rb
  165. +1 −0 lib/msf/core/handler/none.rb
  166. +1 −0 lib/msf/core/handler/reverse_http.rb
  167. +1 −0 lib/msf/core/handler/reverse_https.rb
  168. +1 −0 lib/msf/core/handler/reverse_ipv6_http.rb
  169. +1 −0 lib/msf/core/handler/reverse_ipv6_https.rb
  170. +1 −0 lib/msf/core/handler/reverse_tcp.rb
  171. +1 −0 lib/msf/core/handler/reverse_tcp.rb.ut.rb
  172. +1 −0 lib/msf/core/handler/reverse_tcp_allports.rb
  173. +1 −0 lib/msf/core/handler/reverse_tcp_double.rb
  174. +1 −0 lib/msf/core/module.rb
  175. +1 −0 lib/msf/core/module/author.rb
  176. +1 −0 lib/msf/core/module/author.rb.ut.rb
  177. +1 −0 lib/msf/core/module/auxiliary_action.rb
  178. +1 −0 lib/msf/core/module/has_actions.rb
  179. +1 −0 lib/msf/core/module/platform.rb
  180. +1 −0 lib/msf/core/module/platform_list.rb
  181. +1 −0 lib/msf/core/module/platform_list.rb.ut.rb
  182. +1 −0 lib/msf/core/module/reference.rb
  183. +1 −0 lib/msf/core/module/reference.rb.ut.rb
  184. +1 −0 lib/msf/core/module/target.rb
  185. +1 −0 lib/msf/core/module/target.rb.ut.rb
  186. +1 −0 lib/msf/core/module_manager.rb
  187. +1 −0 lib/msf/core/nop.rb
  188. +1 −0 lib/msf/core/option_container.rb
  189. +1 −0 lib/msf/core/option_container.rb.ut.rb
  190. +1 −0 lib/msf/core/patches/active_record.rb
  191. +1 −0 lib/msf/core/payload.rb
  192. +1 −0 lib/msf/core/payload/aix.rb
  193. +1 −0 lib/msf/core/payload/bsd.rb
  194. +1 −0 lib/msf/core/payload/generic.rb
  195. +1 −0 lib/msf/core/payload/java.rb
  196. +1 −0 lib/msf/core/payload/linux.rb
  197. +1 −0 lib/msf/core/payload/netware.rb
  198. +1 −0 lib/msf/core/payload/osx.rb
  199. +1 −0 lib/msf/core/payload/osx/bundleinject.rb
  200. +1 −0 lib/msf/core/payload/php.rb
  201. +1 −0 lib/msf/core/payload/single.rb
  202. +1 −0 lib/msf/core/payload/solaris.rb
  203. +1 −0 lib/msf/core/payload/stager.rb
  204. +1 −0 lib/msf/core/payload/windows.rb
  205. +1 −0 lib/msf/core/payload/windows/dllinject.rb
  206. +1 −0 lib/msf/core/payload/windows/exec.rb
  207. +1 −0 lib/msf/core/payload/windows/loadlibrary.rb
  208. +1 −0 lib/msf/core/payload/windows/reflectivedllinject.rb
  209. +1 −0 lib/msf/core/payload/windows/x64/reflectivedllinject.rb
  210. +1 −0 lib/msf/core/payload_set.rb
  211. +1 −0 lib/msf/core/plugin.rb
  212. +1 −0 lib/msf/core/plugin_manager.rb
  213. +1 −0 lib/msf/core/post.rb
  214. +1 −0 lib/msf/core/post/common.rb
  215. +1 −0 lib/msf/core/post/file.rb
  216. +1 −0 lib/msf/core/post/linux/priv.rb
  217. +1 −0 lib/msf/core/post/linux/system.rb
  218. +1 −0 lib/msf/core/post/osx/system.rb
  219. +1 −0 lib/msf/core/post/solaris/priv.rb
  220. +1 −0 lib/msf/core/post/solaris/system.rb
  221. +1 −0 lib/msf/core/post/unix.rb
  222. +1 −0 lib/msf/core/post/windows/accounts.rb
  223. +1 −0 lib/msf/core/post/windows/cli_parse.rb
  224. +1 −0 lib/msf/core/post/windows/eventlog.rb
  225. +1 −0 lib/msf/core/post/windows/powershell.rb
  226. +1 −0 lib/msf/core/post/windows/priv.rb
  227. +1 −0 lib/msf/core/post/windows/railgun.rb
  228. +1 −0 lib/msf/core/post/windows/registry.rb
  229. +1 −0 lib/msf/core/post/windows/registry.rb.ut.rb
  230. +1 −0 lib/msf/core/post/windows/services.rb
  231. +1 −0 lib/msf/core/post/windows/shadowcopy.rb
  232. +1 −0 lib/msf/core/post/windows/user_profiles.rb
  233. +1 −0 lib/msf/core/post/windows/user_profiles.rb.ut.rb
  234. +1 −0 lib/msf/core/rpc.rb
  235. +1 −0 lib/msf/core/rpc/v10/client.rb
  236. +1 −0 lib/msf/core/rpc/v10/constants.rb
  237. +1 −0 lib/msf/core/rpc/v10/rpc_auth.rb
  238. +1 −0 lib/msf/core/rpc/v10/rpc_base.rb
  239. +1 −0 lib/msf/core/rpc/v10/rpc_console.rb
  240. +1 −0 lib/msf/core/rpc/v10/rpc_core.rb
  241. +1 −0 lib/msf/core/rpc/v10/rpc_db.rb
  242. +1 −0 lib/msf/core/rpc/v10/rpc_job.rb
  243. +1 −0 lib/msf/core/rpc/v10/rpc_module.rb
  244. +1 −0 lib/msf/core/rpc/v10/rpc_plugin.rb
  245. +1 −0 lib/msf/core/rpc/v10/rpc_session.rb
  246. +1 −0 lib/msf/core/rpc/v10/service.rb
  247. +1 −0 lib/msf/core/session.rb
  248. +1 −0 lib/msf/core/session/basic.rb
  249. +1 −0 lib/msf/core/session/comm.rb
  250. +1 −0 lib/msf/core/session/interactive.rb
  251. +1 −0 lib/msf/core/session/netware_console.rb
  252. +1 −0 lib/msf/core/session/provider/multi_command_execution.rb
  253. +1 −0 lib/msf/core/session/provider/multi_command_shell.rb
  254. +1 −0 lib/msf/core/session/provider/single_command_execution.rb
  255. +1 −0 lib/msf/core/session/provider/single_command_shell.rb
  256. +1 −0 lib/msf/core/session_manager.rb
  257. +1 −0 lib/msf/core/session_manager.rb.ut.rb
  258. +1 −0 lib/msf/core/task_manager.rb
  259. +1 −0 lib/msf/core/thread_manager.rb
  260. +1 −0 lib/msf/env/gemcache.rb
  261. +1 −0 lib/msf/events.rb
  262. +8 −3 lib/msf/sanity.rb
  263. +1 −0 lib/msf/scripts/meterpreter.rb
  264. +1 −0 lib/msf/scripts/meterpreter/accounts.rb
  265. +1 −0 lib/msf/scripts/meterpreter/common.rb
  266. +1 −0 lib/msf/scripts/meterpreter/file.rb
  267. +1 −0 lib/msf/scripts/meterpreter/registry.rb
  268. +1 −0 lib/msf/scripts/meterpreter/services.rb
  269. +1 −0 lib/msf/ui.rb
  270. +1 −0 lib/msf/ui/banner.rb
  271. +1 −0 lib/msf/ui/common.rb
  272. +1 −0 lib/msf/ui/console.rb
  273. +1 −0 lib/msf/ui/console/command_dispatcher.rb
  274. +1 −0 lib/msf/ui/console/command_dispatcher/auxiliary.rb
  275. +1 −0 lib/msf/ui/console/command_dispatcher/core.rb
  276. +1 −0 lib/msf/ui/console/command_dispatcher/db.rb
  277. +1 −0 lib/msf/ui/console/command_dispatcher/encoder.rb
  278. +1 −0 lib/msf/ui/console/command_dispatcher/exploit.rb
  279. +1 −0 lib/msf/ui/console/command_dispatcher/nop.rb
  280. +1 −0 lib/msf/ui/console/command_dispatcher/payload.rb
  281. +1 −0 lib/msf/ui/console/command_dispatcher/post.rb
  282. +1 −0 lib/msf/ui/console/driver.rb
  283. +1 −0 lib/msf/ui/console/framework_event_manager.rb
  284. +1 −0 lib/msf/ui/console/module_command_dispatcher.rb
  285. +1 −0 lib/msf/ui/console/table.rb
  286. +1 −0 lib/msf/ui/driver.rb
  287. +1 −0 lib/msf/ui/web.rb
  288. +1 −0 lib/msf/ui/web/comm.rb
  289. +1 −0 lib/msf/ui/web/console.rb
  290. +1 −0 lib/msf/ui/web/driver.rb
  291. +1 −0 lib/msf/util.rb
  292. +1 −0 lib/msf/util/exe.rb
  293. +1 −0 lib/msf/util/svn.rb
  294. +1 −0 lib/msf/windows_error.rb
  295. +1 −0 lib/net/dns.rb
  296. +1 −0 lib/net/dns/dns.rb
  297. +1 −0 lib/net/dns/header.rb
  298. +1 −0 lib/net/dns/names/names.rb
  299. +1 −0 lib/net/dns/packet.rb
  300. +1 −0 lib/net/dns/question.rb
Sorry, we could not display the entire diff because too many files (920) changed.
View
1 lib/bit-struct.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# A Convenience to load all field classes and yaml handling.
# XXX: Pretty certian this monkeypatch isn't required in Metasploit.
View
1 lib/bit-struct/bit-struct.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# Class for packed binary data, with defined bitfields and accessors for them.
# See {intro.txt}[link:../doc/files/intro_txt.html] for an overview.
#
View
1 lib/bit-struct/char-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
# Class for fixed length binary strings of characters.
# Declared with BitStruct.char.
View
1 lib/bit-struct/fields.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
class << self
# Define a char string field in the current subclass of BitStruct,
View
1 lib/bit-struct/float-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
# Class for floats (single and double precision) in network order.
# Declared with BitStruct.float.
View
1 lib/bit-struct/hex-octet-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'bit-struct/char-field'
class BitStruct
View
1 lib/bit-struct/nested-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'bit-struct/bit-struct'
class BitStruct
View
1 lib/bit-struct/octet-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'bit-struct/char-field'
class BitStruct
View
1 lib/bit-struct/pad-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
# Class for fixed length padding.
class PadField < Field
View
1 lib/bit-struct/signed-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
# Class for signed integers in network order, 1-16 bits, or 8n bits.
# Declared with BitStruct.signed.
View
1 lib/bit-struct/text-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
# Class for null-terminated printable text strings.
# Declared with BitStruct.text.
View
1 lib/bit-struct/unsigned-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
class BitStruct
# Class for unsigned integers in network order, 1-16 bits, or 8n bits.
# Declared with BitStruct.unsigned.
View
1 lib/bit-struct/vector-field.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'bit-struct/vector'
class BitStruct
View
1 lib/bit-struct/vector.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# A Vector is, like a BitStruct, a String. It retains all of the String
# methods, except for #[], #[]=, and #each. These methods operate on entries
# instead of chars. Other methods, including #length and #slice, are unchanged.
View
1 lib/bit-struct/yaml.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'yaml'
class BitStruct
View
1 lib/fastlib.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
#
# FASTLIB is a mechanism for loading large sets of libraries in a way that is
View
1 lib/msf/base.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# framework-base
View
1 lib/msf/base.rb.ts.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
require 'test/unit'
require 'msf/base'
View
1 lib/msf/base/config.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'fileutils'
module Msf
View
1 lib/msf/base/logging.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex'
require 'msf/base'
View
1 lib/msf/base/persistent_storage.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/base/persistent_storage/flatfile.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
class PersistentStorage
View
1 lib/msf/base/serializer/readable_text.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Serializer
View
1 lib/msf/base/sessions/command_shell.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/base'
require 'msf/base/sessions/scriptable'
require 'shellwords'
View
1 lib/msf/base/sessions/command_shell.rb.ut.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
require 'test/unit'
require 'msf/base'
View
1 lib/msf/base/sessions/command_shell_options.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter_java.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter_options.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter_php.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter_x64_win.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id: meterpreter_options.rb 10595 2010-10-08 04:11:47Z hdm $
##
View
1 lib/msf/base/sessions/meterpreter_x86_bsd.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter_x86_linux.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/meterpreter_x86_win.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/scriptable.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf::Session
View
1 lib/msf/base/sessions/tty.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/sessions/vncinject.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/base'
require 'rex/services/local_relay'
View
1 lib/msf/base/sessions/vncinject_options.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/simple.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# Buffer management
require 'msf/base/simple/buffer'
require 'msf/base/simple/statistics'
View
1 lib/msf/base/simple/auxiliary.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Simple
View
1 lib/msf/base/simple/buffer.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/simple/encoder.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Simple
View
1 lib/msf/base/simple/exploit.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/base'
module Msf
View
1 lib/msf/base/simple/framework.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/base/simple'
module Msf
View
1 lib/msf/base/simple/module.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/base'
module Msf
View
1 lib/msf/base/simple/nop.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/base'
module Msf
View
1 lib/msf/base/simple/payload.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/base/simple/post.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Simple
View
1 lib/msf/base/simple/statistics.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Simple
View
1 lib/msf/core.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# framework-core
View
1 lib/msf/core.rb.ts.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
require 'test/unit'
require 'msf/core'
View
1 lib/msf/core/auxiliary.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core/module'
module Msf
View
1 lib/msf/core/auxiliary/auth_brute.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/cisco.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/commandshell.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/auxiliary/crawler.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/dos.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/fuzzer.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/iax2.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/proto/iax2/client'
module Msf
View
1 lib/msf/core/auxiliary/jtr.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'open3'
require 'fileutils'
require 'rex/proto/ntlm/crypt'
View
1 lib/msf/core/auxiliary/login.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/auxiliary/mime_types.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'action_dispatch/http/mime_type'
module Msf
View
1 lib/msf/core/auxiliary/mixins.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/auxiliary/nmap.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/parser/nmap_nokogiri'
require 'rex/parser/nmap_xml'
require 'open3'
View
1 lib/msf/core/auxiliary/pii.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
# $Id$
###
View
1 lib/msf/core/auxiliary/report.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/rservices.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/auxiliary/scanner.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/timed.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/auxiliary/wmapmodule.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
#
View
1 lib/msf/core/constants.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# This file contains constants that are referenced by the core
View
1 lib/msf/core/data_store.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/db.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# Check Rex::Parser.nokogiri_loaded for status of the Nokogiri parsers
require 'rex/parser/nmap_nokogiri'
require 'rex/parser/nexpose_simple_nokogiri'
View
1 lib/msf/core/db_export.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
##
View
1 lib/msf/core/db_manager.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require "active_record"
require 'msf/core'
View
1 lib/msf/core/encoded_payload.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# $Id$
require 'msf/core'
View
1 lib/msf/core/encoder.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/encoder/alphanum.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/encoder/nonalpha.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/encoder/nonupper.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/encoder/xor.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
###
View
1 lib/msf/core/encoder/xor_additive_feedback.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
###
View
1 lib/msf/core/encoding/xor.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Encoding
View
1 lib/msf/core/event_dispatcher.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exceptions.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exceptions.rb.ut.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
View
1 lib/msf/core/exploit.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/module'
View
1 lib/msf/core/exploit.rb.ut.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
View
1 lib/msf/core/exploit/afp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/arkeia.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit/browser_autopwn.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/brute.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/brutetargets.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/capture.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/cmdstager.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/cmdstager_debug_asm.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/cmdstager_debug_write.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/cmdstager_tftp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/cmdstager_vbs.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/cmdstager_vbs_adodb.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id: $
##
View
1 lib/msf/core/exploit/db2.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit/dcerpc.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/proto/dcerpc'
require 'rex/encoder/ndr'
require 'msf/core/exploit/dcerpc_epm'
View
1 lib/msf/core/exploit/dcerpc.rb.ut.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
View
1 lib/msf/core/exploit/dcerpc_epm.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/dcerpc_lsa.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/dcerpc_mgmt.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/dect_coa.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/dhcp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/dialup.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Exploit::Remote::Dialup
View
1 lib/msf/core/exploit/egghunter.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# $Id$
require 'rex/exploitation/egghunter'
View
1 lib/msf/core/exploit/exe.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/fileformat.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# This module exposes a simple method to create a file.
View
1 lib/msf/core/exploit/fmtstr.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/ftp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/ftpserver.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/http/client.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'uri'
require 'digest'
require 'rex/proto/ntlm/crypt'
View
1 lib/msf/core/exploit/http/server.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/service_manager'
require 'rex/exploitation/obfuscatejs'
require 'rex/exploitation/encryptjs'
View
1 lib/msf/core/exploit/imap.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/ip.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/ipv6.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/java.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# This mixn provides methods for interacting with a JDK installation to perform
View
1 lib/msf/core/exploit/kernel_mode.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'rex/payloads/win32/kernel'
View
1 lib/msf/core/exploit/lorcon.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/lorcon2.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/mixins.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# $Id$
#
# All exploit mixins should be added to the list below
View
1 lib/msf/core/exploit/mssql.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/exploit/mssql_commands'
require 'rex/proto/ntlm/crypt'
View
1 lib/msf/core/exploit/mssql_commands.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/mssql_sqli.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/exploit/mssql_commands'
View
1 lib/msf/core/exploit/mysql.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/ndmp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit/ntlm.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/proto/ntlm/constants'
require 'rex/proto/ntlm/crypt'
require 'rex/proto/ntlm/base'
View
1 lib/msf/core/exploit/omelet.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
# $Id$
require 'rex/exploitation/omelet'
View
1 lib/msf/core/exploit/oracle.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# This module provides methods for communicating with a host running oracle.
View
1 lib/msf/core/exploit/pdf.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/pdf_parse.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
###
#
# This module provides methods for parseing and interacting
View
1 lib/msf/core/exploit/pop2.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/postgres.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit/riff.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/seh.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/exploitation/seh'
module Msf
View
1 lib/msf/core/exploit/seh.rb.ut.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
View
1 lib/msf/core/exploit/smb.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/proto/smb'
require 'rex/proto/ntlm'
require 'rex/proto/dcerpc'
View
1 lib/msf/core/exploit/smtp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/smtp_deliver.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
require 'msf/core/exploit/tcp'
View
1 lib/msf/core/exploit/snmp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
require 'snmp'
View
1 lib/msf/core/exploit/sunrpc.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'rex/proto/sunrpc'
module Msf
View
1 lib/msf/core/exploit/tcp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module EvasiveTCP
View
1 lib/msf/core/exploit/tcp.rb.ut.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
View
1 lib/msf/core/exploit/telnet.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/tftp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/tns.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit/udp.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
###
View
1 lib/msf/core/exploit/vim_soap.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
module Msf
module Exploit::Remote::VIMSoap
View
1 lib/msf/core/exploit/wbemexec.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
##
# $Id$
##
View
1 lib/msf/core/exploit/wdbrpc.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit/wdbrpc_client.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/exploit_driver.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
module Msf
View
1 lib/msf/core/framework.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'
require 'msf/util'
View
1 lib/msf/core/handler.rb
@@ -1,3 +1,4 @@
+# -*- coding: binary -*-
require 'msf/core'