Sha256: 2e7cb51bf1a8c32ca7eaedd71049133b00426d9bd20310e3d375ad4530cb3184

Contents?: true

Size: 959 Bytes

Versions: 6

Compression:

Stored size: 959 Bytes

Contents

# frozen_string_literal: true

##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
WhatWeb::Plugin.define "Steam-Steal0r-Log" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-10-15
  @version = "0.1"
  @description = "This plugin extracts passwords from Steam Steal0r logs."

  # 4 results for "Possible Accountnames:" "Steam Steal0r v2" @ 2010-10-15

  # Extract passwords
  def passive(target)
    m = []

    if /^--------------------[\s]+Steam Steal0r v2 by -=Player=-/.match?(target.body)

      if /^ Possible Accountnames: [^\r^\n]+[\s]+Password: ([^\r^\n]+)/.match?(target.body)
        accounts = target.body.scan(/^ Possible Accountnames: [^\r^\n]+[\s]+Password: ([^\r^\n]+)/)
        m << { account: accounts }
      end

    end

    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/steam-steal0r-log.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/steam-steal0r-log.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/steam-steal0r-log.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/steam-steal0r-log.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/steam-steal0r-log.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/steam-steal0r-log.rb