Class: Watobo::Conversation

Inherits:
Object
  • Object
show all
Includes:
Constants
Defined in:
lib/watobo/core/conversation.rb

Overview

:nodoc: all

Direct Known Subclasses

Chat, Finding

Constant Summary

Constants included from Constants

Watobo::Constants::AC_GROUP_APACHE, Watobo::Constants::AC_GROUP_DOMINO, Watobo::Constants::AC_GROUP_ENUMERATION, Watobo::Constants::AC_GROUP_FILE_INCLUSION, Watobo::Constants::AC_GROUP_FLASH, Watobo::Constants::AC_GROUP_GENERIC, Watobo::Constants::AC_GROUP_JBOSS, Watobo::Constants::AC_GROUP_JOOMLA, Watobo::Constants::AC_GROUP_SAP, Watobo::Constants::AC_GROUP_SQL, Watobo::Constants::AC_GROUP_TYPO3, Watobo::Constants::AC_GROUP_XSS, Watobo::Constants::AUTH_TYPE_BASIC, Watobo::Constants::AUTH_TYPE_DIGEST, Watobo::Constants::AUTH_TYPE_NONE, Watobo::Constants::AUTH_TYPE_NTLM, Watobo::Constants::AUTH_TYPE_UNKNOWN, Watobo::Constants::CHAT_SOURCE_AUTO_SCAN, Watobo::Constants::CHAT_SOURCE_FUZZER, Watobo::Constants::CHAT_SOURCE_INTERCEPT, Watobo::Constants::CHAT_SOURCE_MANUAL, Watobo::Constants::CHAT_SOURCE_MANUAL_SCAN, Watobo::Constants::CHAT_SOURCE_PROXY, Watobo::Constants::CHAT_SOURCE_UNDEF, Watobo::Constants::DEFAULT_PORT_HTTP, Watobo::Constants::DEFAULT_PORT_HTTPS, Watobo::Constants::FINDING_TYPE_HINT, Watobo::Constants::FINDING_TYPE_INFO, Watobo::Constants::FINDING_TYPE_UNDEFINED, Watobo::Constants::FINDING_TYPE_VULN, Watobo::Constants::FIRST_TIME_FILE, Watobo::Constants::GUI_REGULAR_FONT_SIZE, Watobo::Constants::GUI_SMALL_FONT_SIZE, Watobo::Constants::ICON_PATH, Watobo::Constants::LOG_DEBUG, Watobo::Constants::LOG_INFO, Watobo::Constants::SCAN_CANCELED, Watobo::Constants::SCAN_FINISHED, Watobo::Constants::SCAN_PAUSED, Watobo::Constants::SCAN_STARTED, Watobo::Constants::TE_CHUNKED, Watobo::Constants::TE_COMPRESS, Watobo::Constants::TE_DEFLATE, Watobo::Constants::TE_GZIP, Watobo::Constants::TE_IDENTITY, Watobo::Constants::TE_NONE, Watobo::Constants::VULN_RATING_CRITICAL, Watobo::Constants::VULN_RATING_HIGH, Watobo::Constants::VULN_RATING_INFO, Watobo::Constants::VULN_RATING_LOW, Watobo::Constants::VULN_RATING_MEDIUM, Watobo::Constants::VULN_RATING_UNDEFINED

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file.



5
6
7
# File 'lib/watobo/core/conversation.rb', line 5

def file
  @file
end

Instance Method Details

#copyRequestObject



10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/watobo/core/conversation.rb', line 10

def copyRequest()
  # req_copy = []
  # self.request.each do |line|
  #   req_copy.push line.clone
  # end
  orig = Utils.copyObject(@request)
  # now extend the new request with the Watobo mixins
  #copy.extend Watobo::Mixin::Parser::Url
  #copy.extend Watobo::Mixin::Parser::Web10
  #copy.extend Watobo::Mixin::Shaper::Web10
   copy = Watobo::Request.new(orig)
  return copy
end

#idObject



6
7
8
# File 'lib/watobo/core/conversation.rb', line 6

def id()
  # must be defined
end