mirror of
https://github.com/ViViDboarder/abuse-the-force.git
synced 2024-11-24 19:06:35 +00:00
parent
df81c1dde8
commit
7ce992db3a
@ -296,7 +296,8 @@ module AbuseTheForce
|
||||
end
|
||||
|
||||
def print
|
||||
puts "#{@name}\t#{@username}\t#{@host}\t#{(@active && 'Active') || ''}"
|
||||
#puts "#{@name}\t#{@username}\t#{@host}\t#{(@active && 'Active') || ''}"
|
||||
puts "#{(@active ? '*' : ' ')} #{@name}\t\t#{@username}\t#{(@host.starts_with?('test') ? 'sandbox' : '')}\t"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -112,7 +112,7 @@ module AbuseTheForce
|
||||
|
||||
desc "list", "Lists all targets"
|
||||
def list()
|
||||
puts "Name\tUsername\tHost"
|
||||
puts "Name\t\tUsername"
|
||||
|
||||
Atf_Config.targets.values.each do |target|
|
||||
target.print
|
||||
@ -165,6 +165,7 @@ module AbuseTheForce
|
||||
|
||||
zip_path = File.join(Atf_Config.get_project_path, 'staticresources', resource_name + '.resource')
|
||||
|
||||
# TODO: Find a better place to stare XML templates
|
||||
static_resource_xml = <<-eos
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<StaticResource xmlns="http://soap.sforce.com/2006/04/metadata">
|
||||
|
Loading…
Reference in New Issue
Block a user