Skip to content

Commit

Permalink
Remove a buggy payload that doesn't have NX support
Browse files Browse the repository at this point in the history
  • Loading branch information
HD Moore committed Jul 12, 2012
1 parent 2da984d commit 6cdd044
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 87 deletions.
16 changes: 8 additions & 8 deletions modules/auxiliary/server/capture/drda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@ def on_client_data(c)
end

if @state[c][:user] and @state[c][:pass]
print_status("DRDA LOGIN Database: #{@state[c][:database]}; #{@state[c][:user]} / #{@state[c][:pass]}")
print_status("DRDA LOGIN #{@state[c][:name]} Database: #{@state[c][:database]}; #{@state[c][:user]} / #{@state[c][:pass]}")
report_auth_info(
:host => @state[c][:ip],
:port => datastore['SRVPORT'],
:sname => 'db2_client',
:user => @state[c][:user],
:pass => @state[c][:pass],
:source_type => "captured",
:active => true
:host => @state[c][:ip],
:port => datastore['SRVPORT'],
:sname => 'db2_client',
:user => @state[c][:user],
:pass => @state[c][:pass],
:source_type => "captured",
:active => true
)

params = []
Expand Down
6 changes: 5 additions & 1 deletion modules/auxiliary/server/capture/smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def on_client_data(c)
data = c.get_once
return if not data

print_status("SMTP: #{data.strip}")
print_status("SMTP: #{@state[c][:name]} Command: #{data.strip}")

if(@state[c][:data_mode])

Expand All @@ -78,6 +78,10 @@ def on_client_data(c)
:type => "smtp_message",
:data => @state[c][:data_buff][0,idx]
)
@state[c][:data_buff][0,idx].split("\n").each do |line|
print_status("SMTP: #{@state[c][:name]} EMAIL: #{line.strip}")
end

@state[c][:data_buff] = nil
@state[c][:data_mode] = nil
c.put "250 OK\r\n"
Expand Down
78 changes: 0 additions & 78 deletions modules/payloads/singles/windows/download_exec.rb

This file was deleted.

0 comments on commit 6cdd044

Please sign in to comment.