Module: Ronin::Support
- Includes:
- Mixin
- Defined in:
- lib/ronin/support.rb,
lib/ronin/support/home.rb,
lib/ronin/support/path.rb,
lib/ronin/support/mixin.rb,
lib/ronin/support/binary.rb,
lib/ronin/support/crypto.rb,
lib/ronin/support/archive.rb,
lib/ronin/support/version.rb,
lib/ronin/support/cli/ansi.rb,
lib/ronin/support/encoding.rb,
lib/ronin/support/text/typo.rb,
lib/ronin/support/crypto/key.rb,
lib/ronin/support/encoding/c.rb,
lib/ronin/support/network/ip.rb,
lib/ronin/support/text/mixin.rb,
lib/ronin/support/archive/tar.rb,
lib/ronin/support/archive/zip.rb,
lib/ronin/support/compression.rb,
lib/ronin/support/crypto/cert.rb,
lib/ronin/support/crypto/hmac.rb,
lib/ronin/support/encoding/js.rb,
lib/ronin/support/network/asn.rb,
lib/ronin/support/network/dns.rb,
lib/ronin/support/network/ssl.rb,
lib/ronin/support/network/tcp.rb,
lib/ronin/support/network/tld.rb,
lib/ronin/support/network/tls.rb,
lib/ronin/support/network/udp.rb,
lib/ronin/support/text/random.rb,
lib/ronin/support/binary/array.rb,
lib/ronin/support/binary/stack.rb,
lib/ronin/support/binary/union.rb,
lib/ronin/support/cli/io_shell.rb,
lib/ronin/support/cli/printing.rb,
lib/ronin/support/crypto/mixin.rb,
lib/ronin/support/encoding/hex.rb,
lib/ronin/support/encoding/sql.rb,
lib/ronin/support/encoding/uri.rb,
lib/ronin/support/encoding/xml.rb,
lib/ronin/support/network/host.rb,
lib/ronin/support/network/http.rb,
lib/ronin/support/text/entropy.rb,
lib/ronin/support/archive/mixin.rb,
lib/ronin/support/binary/buffer.rb,
lib/ronin/support/binary/ctypes.rb,
lib/ronin/support/binary/memory.rb,
lib/ronin/support/binary/packet.rb,
lib/ronin/support/binary/stream.rb,
lib/ronin/support/binary/struct.rb,
lib/ronin/support/crypto/cipher.rb,
lib/ronin/support/crypto/key/dh.rb,
lib/ronin/support/crypto/key/ec.rb,
lib/ronin/support/encoding/html.rb,
lib/ronin/support/encoding/http.rb,
lib/ronin/support/encoding/ruby.rb,
lib/ronin/support/network/mixin.rb,
lib/ronin/support/network/proxy.rb,
lib/ronin/support/binary/cstring.rb,
lib/ronin/support/crypto/key/dsa.rb,
lib/ronin/support/crypto/key/rsa.rb,
lib/ronin/support/encoding/shell.rb,
lib/ronin/support/network/domain.rb,
lib/ronin/support/network/packet.rb,
lib/ronin/support/network/telnet.rb,
lib/ronin/support/text/erb/mixin.rb,
lib/ronin/support/text/homoglyph.rb,
lib/ronin/support/binary/bit_flip.rb,
lib/ronin/support/binary/template.rb,
lib/ronin/support/encoding/base16.rb,
lib/ronin/support/encoding/base32.rb,
lib/ronin/support/encoding/base36.rb,
lib/ronin/support/encoding/base62.rb,
lib/ronin/support/encoding/base64.rb,
lib/ronin/support/network/dns/idn.rb,
lib/ronin/support/binary/ctypes/os.rb,
lib/ronin/support/binary/unhexdump.rb,
lib/ronin/support/compression/gzip.rb,
lib/ronin/support/compression/zlib.rb,
lib/ronin/support/network/asn/list.rb,
lib/ronin/support/network/ip/mixin.rb,
lib/ronin/support/network/ip_range.rb,
lib/ronin/support/network/tld/list.rb,
lib/ronin/support/network/wildcard.rb,
lib/ronin/support/binary/byte_slice.rb,
lib/ronin/support/compression/mixin.rb,
lib/ronin/support/crypto/cert_chain.rb,
lib/ronin/support/crypto/cipher/aes.rb,
lib/ronin/support/encoding/punycode.rb,
lib/ronin/support/network/dns/mixin.rb,
lib/ronin/support/network/ftp/mixin.rb,
lib/ronin/support/network/ssl/mixin.rb,
lib/ronin/support/network/ssl/proxy.rb,
lib/ronin/support/network/tcp/mixin.rb,
lib/ronin/support/network/tcp/proxy.rb,
lib/ronin/support/network/tls/mixin.rb,
lib/ronin/support/network/tls/proxy.rb,
lib/ronin/support/network/udp/mixin.rb,
lib/ronin/support/network/udp/proxy.rb,
lib/ronin/support/text/patterns/pii.rb,
lib/ronin/support/text/random/mixin.rb,
lib/ronin/support/archive/tar/reader.rb,
lib/ronin/support/archive/tar/writer.rb,
lib/ronin/support/archive/zip/reader.rb,
lib/ronin/support/archive/zip/writer.rb,
lib/ronin/support/binary/ctypes/type.rb,
lib/ronin/support/crypto/key/methods.rb,
lib/ronin/support/network/asn/record.rb,
lib/ronin/support/network/exceptions.rb,
lib/ronin/support/network/http/mixin.rb,
lib/ronin/support/network/imap/mixin.rb,
lib/ronin/support/network/pop3/mixin.rb,
lib/ronin/support/network/smtp/email.rb,
lib/ronin/support/network/smtp/mixin.rb,
lib/ronin/support/network/unix/mixin.rb,
lib/ronin/support/binary/ctypes/mixin.rb,
lib/ronin/support/encoding/powershell.rb,
lib/ronin/support/encoding/uuencoding.rb,
lib/ronin/support/network/esmtp/mixin.rb,
lib/ronin/support/network/http/cookie.rb,
lib/ronin/support/text/typo/generator.rb,
lib/ronin/support/binary/ctypes/native.rb,
lib/ronin/support/binary/ctypes/os/bsd.rb,
lib/ronin/support/binary/struct/member.rb,
lib/ronin/support/crypto/cipher/aes128.rb,
lib/ronin/support/crypto/cipher/aes256.rb,
lib/ronin/support/network/dns/resolver.rb,
lib/ronin/support/network/http/request.rb,
lib/ronin/support/network/telnet/mixin.rb,
lib/ronin/support/text/homoglyph/table.rb,
lib/ronin/support/text/patterns/crypto.rb,
lib/ronin/support/text/typo/exceptions.rb,
lib/ronin/support/binary/ctypes/network.rb,
lib/ronin/support/binary/ctypes/os/unix.rb,
lib/ronin/support/binary/stream/methods.rb,
lib/ronin/support/network/email_address.rb,
lib/ronin/support/network/ip_range/cidr.rb,
lib/ronin/support/network/ip_range/glob.rb,
lib/ronin/support/network/public_suffix.rb,
lib/ronin/support/network/ssl/local_key.rb,
lib/ronin/support/text/patterns/network.rb,
lib/ronin/support/text/patterns/numeric.rb,
lib/ronin/support/binary/ctypes/arch/arm.rb,
lib/ronin/support/binary/ctypes/arch/ppc.rb,
lib/ronin/support/binary/ctypes/arch/x86.rb,
lib/ronin/support/binary/ctypes/int_type.rb,
lib/ronin/support/binary/ctypes/os/linux.rb,
lib/ronin/support/binary/ctypes/os/macos.rb,
lib/ronin/support/network/asn/dns_record.rb,
lib/ronin/support/network/asn/record_set.rb,
lib/ronin/support/network/ip_range/range.rb,
lib/ronin/support/network/ssl/local_cert.rb,
lib/ronin/support/text/patterns/language.rb,
lib/ronin/support/binary/ctypes/arch/mips.rb,
lib/ronin/support/binary/ctypes/char_type.rb,
lib/ronin/support/binary/ctypes/enum_type.rb,
lib/ronin/support/binary/ctypes/int8_type.rb,
lib/ronin/support/binary/ctypes/os/netbsd.rb,
lib/ronin/support/binary/ctypes/uint_type.rb,
lib/ronin/support/binary/unhexdump/parser.rb,
lib/ronin/support/compression/gzip/reader.rb,
lib/ronin/support/compression/gzip/writer.rb,
lib/ronin/support/network/http/set_cookie.rb,
lib/ronin/support/archive/zip/reader/entry.rb,
lib/ronin/support/binary/ctypes/arch/arm64.rb,
lib/ronin/support/binary/ctypes/arch/ppc64.rb,
lib/ronin/support/binary/ctypes/array_type.rb,
lib/ronin/support/binary/ctypes/big_endian.rb,
lib/ronin/support/binary/ctypes/char_types.rb,
lib/ronin/support/binary/ctypes/float_type.rb,
lib/ronin/support/binary/ctypes/int16_type.rb,
lib/ronin/support/binary/ctypes/int32_type.rb,
lib/ronin/support/binary/ctypes/int64_type.rb,
lib/ronin/support/binary/ctypes/os/android.rb,
lib/ronin/support/binary/ctypes/os/freebsd.rb,
lib/ronin/support/binary/ctypes/os/openbsd.rb,
lib/ronin/support/binary/ctypes/os/windows.rb,
lib/ronin/support/binary/ctypes/uint8_type.rb,
lib/ronin/support/binary/ctypes/union_type.rb,
lib/ronin/support/network/http/user_agents.rb,
lib/ronin/support/binary/ctypes/arch/mips64.rb,
lib/ronin/support/binary/ctypes/arch/x86_64.rb,
lib/ronin/support/binary/ctypes/object_type.rb,
lib/ronin/support/binary/ctypes/scalar_type.rb,
lib/ronin/support/binary/ctypes/string_type.rb,
lib/ronin/support/binary/ctypes/struct_type.rb,
lib/ronin/support/binary/ctypes/uint16_type.rb,
lib/ronin/support/binary/ctypes/uint32_type.rb,
lib/ronin/support/binary/ctypes/uint64_type.rb,
lib/ronin/support/encoding/quoted_printable.rb,
lib/ronin/support/text/homoglyph/exceptions.rb,
lib/ronin/support/text/patterns/credentials.rb,
lib/ronin/support/text/patterns/file_system.rb,
lib/ronin/support/text/patterns/source_code.rb,
lib/ronin/support/binary/ctypes/float32_type.rb,
lib/ronin/support/binary/ctypes/float64_type.rb,
lib/ronin/support/binary/ctypes/os/apple_ios.rb,
lib/ronin/support/network/public_suffix/list.rb,
lib/ronin/support/binary/ctypes/little_endian.rb,
lib/ronin/support/binary/ctypes/type_resolver.rb,
lib/ronin/support/binary/ctypes/aggregate_type.rb,
lib/ronin/support/network/public_suffix/suffix.rb,
lib/ronin/support/archive/zip/reader/statistics.rb,
lib/ronin/support/binary/ctypes/array_object_type.rb,
lib/ronin/support/binary/ctypes/union_object_type.rb,
lib/ronin/support/binary/ctypes/struct_object_type.rb,
lib/ronin/support/network/public_suffix/suffix_set.rb,
lib/ronin/support/binary/ctypes/arch/arm/big_endian.rb,
lib/ronin/support/binary/ctypes/unbounded_array_type.rb,
lib/ronin/support/binary/ctypes/arch/arm64/big_endian.rb,
lib/ronin/support/text/patterns/network/public_suffix.rb,
lib/ronin/support/binary/ctypes/arch/mips/little_endian.rb,
lib/ronin/support/binary/ctypes/arch/mips64/little_endian.rb
Overview
Top-level namespace for ronin-support
.
Example
require 'ronin/support'
include Ronin::Support
"hello world".base64_encode
# => "aGVsbG8gd29ybGQ=\n"
http_get 'https://example.com/'
# => #<Net::HTTPOK 200 OK readbody=true>
Defined Under Namespace
Modules: Archive, Binary, CLI, Compression, Crypto, Home, Mixin, Network, Text Classes: Encoding, Path
Constant Summary collapse
- VERSION =
ronin-support version
'1.1.0'
Instance Attribute Summary
Attributes included from CLI::Printing
Method Summary
Methods included from CLI::Printing
debug=, debug?, #debug?, #print_debug, #print_error, #print_info, #print_negative, #print_positive, #print_warning
Methods included from Network::HTTP::Mixin
#http_allowed_methods, #http_connect, #http_connect_uri, #http_copy, #http_delete, #http_get, #http_get_body, #http_get_cookies, #http_get_headers, #http_head, #http_lock, #http_mkcol, #http_move, #http_ok?, #http_options, #http_patch, #http_post, #http_post_body, #http_post_cookies, #http_post_headers, #http_powered_by_header, #http_propfind, #http_proppatch, #http_put, #http_request, #http_response_body, #http_response_headers, #http_response_status, #http_server_header, #http_trace, #http_unlock
Methods included from Network::UNIX::Mixin
#unix_accept, #unix_connect, #unix_connect_and_send, #unix_open?, #unix_send, #unix_server, #unix_server_loop, #unix_server_session
Methods included from Network::SSL::Mixin
#ssl_accept, #ssl_banner, #ssl_cert, #ssl_connect, #ssl_connect_and_send, #ssl_context, #ssl_open?, #ssl_send, #ssl_server, #ssl_server_loop, #ssl_server_session, #ssl_server_socket, #ssl_socket
Methods included from Network::UDP::Mixin
#udp_banner, #udp_connect, #udp_connect_and_send, #udp_open?, #udp_recv, #udp_send, #udp_server, #udp_server_loop, #udp_server_session
Methods included from Network::TCP::Mixin
#tcp_accept, #tcp_banner, #tcp_connect, #tcp_connect_and_send, #tcp_open?, #tcp_send, #tcp_server, #tcp_server_loop, #tcp_server_session
Methods included from Network::DNS::Mixin
#dns_get_a_address, #dns_get_a_addresses, #dns_get_a_record, #dns_get_a_records, #dns_get_aaaa_address, #dns_get_aaaa_addresses, #dns_get_aaaa_record, #dns_get_aaaa_records, #dns_get_address, #dns_get_addresses, #dns_get_any_records, #dns_get_cname, #dns_get_cname_record, #dns_get_hinfo_record, #dns_get_loc_record, #dns_get_mailservers, #dns_get_minfo_record, #dns_get_mx_records, #dns_get_name, #dns_get_names, #dns_get_nameservers, #dns_get_ns_records, #dns_get_ptr_name, #dns_get_ptr_names, #dns_get_ptr_record, #dns_get_ptr_records, #dns_get_record, #dns_get_records, #dns_get_soa_record, #dns_get_srv_records, #dns_get_txt_record, #dns_get_txt_records, #dns_get_txt_string, #dns_get_txt_strings, #dns_get_wks_records, #dns_nameserver=, #dns_nameservers, #dns_nameservers=, #dns_resolver
Methods included from Network::IP::Mixin
#local_address, #local_addresses, #local_ip, #local_ips, #public_address, #public_ip
Methods included from Crypto::Mixin
#crypto_aes128_cipher, #crypto_aes128_decrypt, #crypto_aes128_encrypt, #crypto_aes256_cipher, #crypto_aes256_decrypt, #crypto_aes256_encrypt, #crypto_aes_cipher, #crypto_aes_decrypt, #crypto_aes_encrypt, #crypto_cipher, #crypto_decrypt, #crypto_digest, #crypto_encrypt, #crypto_hmac, #crypto_rsa_decrypt, #crypto_rsa_encrypt
Methods included from Compression::Mixin
#gunzip, #gzip, #gzip_open, #gzip_stream, #zlib_deflate, #zlib_inflate
Methods included from Text::ERB::Mixin
Methods included from Text::Random::Mixin
#random_alpha, #random_alpha_numeric, #random_ascii, #random_control, #random_hex, #random_lowercase_alpha, #random_lowercase_hex, #random_numeric, #random_octal, #random_printable, #random_punctuation, #random_signed_ascii, #random_symbols, #random_uppercase_alpha, #random_uppercase_hex, #random_visible, #random_whitespace