Corrected mispelled word
git-svn-id: file:///home/svn/framework3/trunk@11702 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
acf9b2088d
commit
64c5393a10
|
@ -54,7 +54,7 @@ module WindowsServices
|
|||
service["Startup"] = "Disabled"
|
||||
end
|
||||
service["Command"] = registry_getvaldata(servicekey,"ImagePath").to_s
|
||||
service["Creentials"] = registry_getvaldata(servicekey,"ObjectName").to_s
|
||||
service["Credentials"] = registry_getvaldata(servicekey,"ObjectName").to_s
|
||||
return service
|
||||
end
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ elsif srv_info
|
|||
print_good("\tName: #{srv_conf['Name']}")
|
||||
print_good("\tStartup: #{srv_conf['Startup']}")
|
||||
print_good("\tCommand: #{srv_conf['Command']}")
|
||||
print_good("\tCredentials: #{srv_conf['Creentials']}")
|
||||
print_good("\tCredentials: #{srv_conf['Credentials']}")
|
||||
rescue
|
||||
print_error("A Service Name must be provided, service names are case sensitive.")
|
||||
end
|
||||
|
@ -218,4 +218,4 @@ elsif srv_delete
|
|||
raise Rex::Script::Completed
|
||||
else
|
||||
usage
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue