1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-07-18 18:31:41 +02:00

Mark all libraries as defaulting to 8-bit strings

This commit is contained in:
HD Moore 2012-06-29 00:18:28 -05:00
parent c45b1037f1
commit d656e3185f
920 changed files with 927 additions and 3 deletions

View File

@ -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 File

@ -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 File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
class BitStruct
# Class for fixed length binary strings of characters.
# Declared with BitStruct.char.

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
class BitStruct
class << self
# Define a char string field in the current subclass of BitStruct,

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
class BitStruct
# Class for floats (single and double precision) in network order.
# Declared with BitStruct.float.

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'bit-struct/char-field'
class BitStruct

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'bit-struct/bit-struct'
class BitStruct

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'bit-struct/char-field'
class BitStruct

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
class BitStruct
# Class for fixed length padding.
class PadField < Field

View File

@ -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 File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
class BitStruct
# Class for null-terminated printable text strings.
# Declared with BitStruct.text.

View File

@ -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 File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'bit-struct/vector'
class BitStruct

View File

@ -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 File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'yaml'
class BitStruct

View File

@ -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 File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
###
#
# framework-base

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: binary -*-
require 'test/unit'
require 'msf/base'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'fileutils'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'rex'
require 'msf/base'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
class PersistentStorage

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
module Serializer

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/base'
require 'msf/base/sessions/scriptable'
require 'shellwords'

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: binary -*-
require 'test/unit'
require 'msf/base'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id: meterpreter_options.rb 10595 2010-10-08 04:11:47Z hdm $
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf::Session

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/base'
require 'rex/services/local_relay'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
# Buffer management
require 'msf/base/simple/buffer'
require 'msf/base/simple/statistics'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
module Simple

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
module Simple

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/base'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/base/simple'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/base'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/base'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
module Simple

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
module Simple

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
###
#
# framework-core

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: binary -*-
require 'test/unit'
require 'msf/core'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core/module'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'rex/proto/iax2/client'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'open3'
require 'fileutils'
require 'rex/proto/ntlm/crypt'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'action_dispatch/http/mime_type'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'rex/parser/nmap_nokogiri'
require 'rex/parser/nmap_xml'
require 'open3'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
###
# $Id$
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###
#

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
###
#
# This file contains constants that are referenced by the core

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -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 File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require "active_record"
require 'msf/core'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
# $Id$
require 'msf/core'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
module Encoding

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/module'

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/exploit/tcp'

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
module Msf
###

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id$
##

View File

@ -1,3 +1,4 @@
# -*- coding: binary -*-
##
# $Id: $
##

Some files were not shown because too many files have changed in this diff Show More