lumberg 1.0.1 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +1 -1
- data/README.md +184 -70
- data/Rakefile +3 -1
- data/lib/lumberg/config.rb +19 -0
- data/lib/lumberg/cpanel/addon_domain.rb +50 -0
- data/lib/lumberg/cpanel/backups.rb +16 -0
- data/lib/lumberg/cpanel/base.rb +56 -0
- data/lib/lumberg/cpanel/box_trapper.rb +18 -0
- data/lib/lumberg/cpanel/branding.rb +89 -0
- data/lib/lumberg/cpanel/contact.rb +38 -0
- data/lib/lumberg/cpanel/cron.rb +89 -0
- data/lib/lumberg/cpanel/dns_lookup.rb +23 -0
- data/lib/lumberg/cpanel/domain_keys.rb +37 -0
- data/lib/lumberg/cpanel/domain_lookup.rb +71 -0
- data/lib/lumberg/cpanel/email.rb +522 -0
- data/lib/lumberg/cpanel/file_manager.rb +146 -0
- data/lib/lumberg/cpanel/ftp.rb +101 -0
- data/lib/lumberg/cpanel/gpg.rb +36 -0
- data/lib/lumberg/cpanel/locale.rb +15 -0
- data/lib/lumberg/cpanel/mime.rb +34 -0
- data/lib/lumberg/cpanel/mysql.rb +66 -0
- data/lib/lumberg/cpanel/mysql_db.rb +190 -0
- data/lib/lumberg/cpanel/net.rb +28 -0
- data/lib/lumberg/cpanel/park.rb +58 -0
- data/lib/lumberg/cpanel/password.rb +52 -0
- data/lib/lumberg/cpanel/password_strength.rb +63 -0
- data/lib/lumberg/cpanel/random_data.rb +25 -0
- data/lib/lumberg/cpanel/redirect.rb +44 -0
- data/lib/lumberg/cpanel/ssl.rb +220 -0
- data/lib/lumberg/cpanel/sub_domain.rb +61 -0
- data/lib/lumberg/cpanel/support.rb +29 -0
- data/lib/lumberg/cpanel/zone_edit.rb +134 -0
- data/lib/lumberg/cpanel.rb +32 -0
- data/lib/lumberg/format_whm.rb +162 -0
- data/lib/lumberg/version.rb +1 -1
- data/lib/lumberg/whm/account.rb +29 -106
- data/lib/lumberg/whm/base.rb +3 -7
- data/lib/lumberg/whm/cert.rb +88 -0
- data/lib/lumberg/whm/dns.rb +49 -77
- data/lib/lumberg/whm/reseller.rb +25 -118
- data/lib/lumberg/whm/server.rb +163 -222
- data/lib/lumberg/whm/transfer_tool.rb +165 -0
- data/lib/lumberg/whm.rb +11 -9
- data/lib/lumberg/whostmgr/base.rb +13 -0
- data/lib/lumberg/whostmgr/ssl.rb +57 -0
- data/lib/lumberg/whostmgr.rb +6 -0
- data/lib/lumberg.rb +35 -8
- data/spec/config_spec.rb +28 -0
- data/spec/cpanel/addon_domain_spec.rb +84 -0
- data/spec/cpanel/backups_spec.rb +22 -0
- data/spec/cpanel/base_spec.rb +128 -0
- data/spec/cpanel/box_trapper_spec.rb +22 -0
- data/spec/cpanel/branding_spec.rb +46 -0
- data/spec/cpanel/contact_spec.rb +50 -0
- data/spec/cpanel/cron_spec.rb +161 -0
- data/spec/cpanel/dns_lookup_spec.rb +22 -0
- data/spec/cpanel/domain_keys_spec.rb +46 -0
- data/spec/cpanel/domain_lookup_spec.rb +77 -0
- data/spec/cpanel/email_spec.rb +639 -0
- data/spec/cpanel/file_manager_spec.rb +73 -0
- data/spec/cpanel/ftp_spec.rb +71 -0
- data/spec/cpanel/gpg_spec.rb +48 -0
- data/spec/cpanel/locale_spec.rb +23 -0
- data/spec/cpanel/mime_spec.rb +0 -0
- data/spec/cpanel/mysql_db_spec.rb +119 -0
- data/spec/cpanel/mysql_spec.rb +0 -0
- data/spec/cpanel/net_spec.rb +30 -0
- data/spec/cpanel/park_spec.rb +94 -0
- data/spec/cpanel/password_spec.rb +35 -0
- data/spec/cpanel/password_strength_spec.rb +50 -0
- data/spec/cpanel/random_data_spec.rb +24 -0
- data/spec/cpanel/redirect_spec.rb +0 -0
- data/spec/cpanel/ssl_spec.rb +158 -0
- data/spec/cpanel/sub_domain_spec.rb +72 -0
- data/spec/cpanel/support_spec.rb +38 -0
- data/spec/cpanel/zone_edit_spec.rb +0 -0
- data/spec/format_whm_spec.rb +53 -0
- data/spec/sample_certs/cpanel.crt +28 -0
- data/spec/sample_certs/cpanel.key +28 -0
- data/spec/sample_certs/main.crt +27 -0
- data/spec/sample_certs/sample.crt +26 -0
- data/spec/sample_certs/sample.key +27 -0
- data/spec/spec_helper.rb +10 -3
- data/spec/support/cpanel_matchers.rb +17 -0
- data/spec/vcr_cassettes/cpanel/addon_domain/add.yml +77 -0
- data/spec/vcr_cassettes/cpanel/addon_domain/list.yml +77 -0
- data/spec/vcr_cassettes/cpanel/addon_domain/remove.yml +77 -0
- data/spec/vcr_cassettes/cpanel/backups/list.yml +40 -0
- data/spec/vcr_cassettes/cpanel/box_trapper/list.yml +40 -0
- data/spec/vcr_cassettes/cpanel/branding/list_icons.yml +40 -0
- data/spec/vcr_cassettes/cpanel/branding/list_image_types.yml +40 -0
- data/spec/vcr_cassettes/cpanel/branding/list_object_types.yml +40 -0
- data/spec/vcr_cassettes/cpanel/branding/list_pkgs.yml +40 -0
- data/spec/vcr_cassettes/cpanel/branding/list_sprites.yml +40 -0
- data/spec/vcr_cassettes/cpanel/contact/show.yml +40 -0
- data/spec/vcr_cassettes/cpanel/contact/update.yml +40 -0
- data/spec/vcr_cassettes/cpanel/cron/add.yml +77 -0
- data/spec/vcr_cassettes/cpanel/cron/edit.yml +114 -0
- data/spec/vcr_cassettes/cpanel/cron/email.yml +77 -0
- data/spec/vcr_cassettes/cpanel/cron/list.yml +77 -0
- data/spec/vcr_cassettes/cpanel/cron/remove.yml +151 -0
- data/spec/vcr_cassettes/cpanel/cron/set_email.yml +77 -0
- data/spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_keys/add.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_keys/available.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_keys/installed.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_keys/remove.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_lookup/count.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml +40 -0
- data/spec/vcr_cassettes/cpanel/domain_lookup/list.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/accounts.yml +188 -0
- data/spec/vcr_cassettes/cpanel/email/add_account.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/add_filter.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/add_forwarder.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/add_mailing_list.yml +73 -0
- data/spec/vcr_cassettes/cpanel/email/add_mx.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/change_mx.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/change_password.yml +43 -0
- data/spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/default_address.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/delete_mx.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/disk_usage.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/domains.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/edit_quota.yml +112 -0
- data/spec/vcr_cassettes/cpanel/email/filters.yml +114 -0
- data/spec/vcr_cassettes/cpanel/email/forwarders.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/mail_dir.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/mail_dirs.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/mailing_lists.yml +73 -0
- data/spec/vcr_cassettes/cpanel/email/main_discard.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/mx.yml +40 -0
- data/spec/vcr_cassettes/cpanel/email/remove.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/set_default_address.yml +43 -0
- data/spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml +77 -0
- data/spec/vcr_cassettes/cpanel/email/set_mx_type.yml +40 -0
- data/spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml +38 -0
- data/spec/vcr_cassettes/cpanel/file_manager/list.yml +38 -0
- data/spec/vcr_cassettes/cpanel/file_manager/operate.yml +77 -0
- data/spec/vcr_cassettes/cpanel/file_manager/show.yml +40 -0
- data/spec/vcr_cassettes/cpanel/file_manager/stat.yml +38 -0
- data/spec/vcr_cassettes/cpanel/ftp/addftp.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ftp/delftp.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ftp/listftp.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ftp/listftpsessions.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ftp/listftpwithdisk.yml +95 -0
- data/spec/vcr_cassettes/cpanel/ftp/passwd.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ftp/setquota.yml +43 -0
- data/spec/vcr_cassettes/cpanel/gpg/count.yml +40 -0
- data/spec/vcr_cassettes/cpanel/gpg/count_private.yml +40 -0
- data/spec/vcr_cassettes/cpanel/gpg/list.yml +40 -0
- data/spec/vcr_cassettes/cpanel/gpg/list_private.yml +40 -0
- data/spec/vcr_cassettes/cpanel/locale/show.yml +40 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/add_db.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/add_host.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/add_user.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/add_user_db.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/check_db.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/del_db.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/del_host.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/del_user.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/del_user_db.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/init_cache.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/number_of_dbs.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/repair_db.yml +42 -0
- data/spec/vcr_cassettes/cpanel/mysql_db/update_privs.yml +42 -0
- data/spec/vcr_cassettes/cpanel/net/query_hostname.yml +40 -0
- data/spec/vcr_cassettes/cpanel/net/traceroute.yml +40 -0
- data/spec/vcr_cassettes/cpanel/park/add.yml +77 -0
- data/spec/vcr_cassettes/cpanel/park/list.yml +77 -0
- data/spec/vcr_cassettes/cpanel/park/list_addon_domains.yml +77 -0
- data/spec/vcr_cassettes/cpanel/park/remove.yml +77 -0
- data/spec/vcr_cassettes/cpanel/password/digest_authentication.yml +77 -0
- data/spec/vcr_cassettes/cpanel/password/modify.yml +77 -0
- data/spec/vcr_cassettes/cpanel/password_strength/all_required_strengths.yml +43 -0
- data/spec/vcr_cassettes/cpanel/password_strength/required_strength.yml +43 -0
- data/spec/vcr_cassettes/cpanel/password_strength/strength.yml +83 -0
- data/spec/vcr_cassettes/cpanel/random_data/show.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/gencrt.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ssl/gencsr.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ssl/genkey.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/installssl.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/listcrts.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/listcsrs.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/listkeys.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/listsslitems.yml +40 -0
- data/spec/vcr_cassettes/cpanel/ssl/remove.yml +43 -0
- data/spec/vcr_cassettes/cpanel/ssl/showcrt.yml +38 -0
- data/spec/vcr_cassettes/cpanel/ssl/showcsr.yml +38 -0
- data/spec/vcr_cassettes/cpanel/ssl/showkey.yml +38 -0
- data/spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml +40 -0
- data/spec/vcr_cassettes/cpanel/sub_domain/add.yml +77 -0
- data/spec/vcr_cassettes/cpanel/sub_domain/list.yml +77 -0
- data/spec/vcr_cassettes/cpanel/sub_domain/remove.yml +77 -0
- data/spec/vcr_cassettes/cpanel/support/contactable.yml +40 -0
- data/spec/vcr_cassettes/whm/account/accountsummary.yml +41 -29
- data/spec/vcr_cassettes/whm/account/changepackage.yml +73 -43
- data/spec/vcr_cassettes/whm/account/createacct.yml +101 -31
- data/spec/vcr_cassettes/whm/account/domainuserdata.yml +43 -29
- data/spec/vcr_cassettes/whm/account/editquota.yml +78 -57
- data/spec/vcr_cassettes/whm/account/limitbw.yml +79 -57
- data/spec/vcr_cassettes/whm/account/listaccts.yml +195 -100
- data/spec/vcr_cassettes/whm/account/listsuspended.yml +41 -29
- data/spec/vcr_cassettes/whm/account/modifyacct.yml +61 -42
- data/spec/vcr_cassettes/whm/account/myprivs.yml +41 -29
- data/spec/vcr_cassettes/whm/account/passwd.yml +44 -29
- data/spec/vcr_cassettes/whm/account/removeacct.yml +134 -57
- data/spec/vcr_cassettes/whm/account/restoreaccount.yml +310 -135
- data/spec/vcr_cassettes/whm/account/setsiteip.yml +166 -127
- data/spec/vcr_cassettes/whm/account/suspend.yml +75 -43
- data/spec/vcr_cassettes/whm/account/unsuspend.yml +46 -29
- data/spec/vcr_cassettes/whm/cert/fetch_ssl_vhosts.yml +44 -0
- data/spec/vcr_cassettes/whm/cert/fetchsslinfo.yml +38 -0
- data/spec/vcr_cassettes/whm/cert/generatessl.yml +94 -0
- data/spec/vcr_cassettes/whm/cert/installssl.yml +38 -0
- data/spec/vcr_cassettes/whm/cert/listcrts.yml +38 -0
- data/spec/vcr_cassettes/whm/dns/adddns.yml +61 -43
- data/spec/vcr_cassettes/whm/dns/addzonerecord.yml +42 -29
- data/spec/vcr_cassettes/whm/dns/dumpzone.yml +44 -29
- data/spec/vcr_cassettes/whm/dns/editzonerecord.yml +61 -43
- data/spec/vcr_cassettes/whm/dns/getzonerecord.yml +60 -43
- data/spec/vcr_cassettes/whm/dns/killdns.yml +42 -29
- data/spec/vcr_cassettes/whm/dns/listmxs.yml +23 -15
- data/spec/vcr_cassettes/whm/dns/listzones.yml +22 -15
- data/spec/vcr_cassettes/whm/dns/lookupnsip.yml +40 -29
- data/spec/vcr_cassettes/whm/dns/removezonerecord.yml +61 -43
- data/spec/vcr_cassettes/whm/dns/resetzone.yml +42 -29
- data/spec/vcr_cassettes/whm/dns/resolvedomainname.yml +40 -29
- data/spec/vcr_cassettes/whm/dns/savemxs.yml +23 -15
- data/spec/vcr_cassettes/whm/reseller/acctcounts.yml +41 -29
- data/spec/vcr_cassettes/whm/reseller/listacls.yml +22 -15
- data/spec/vcr_cassettes/whm/reseller/listresellers.yml +22 -15
- data/spec/vcr_cassettes/whm/reseller/resellerstats.yml +42 -29
- data/spec/vcr_cassettes/whm/reseller/saveacllist.yml +76 -57
- data/spec/vcr_cassettes/whm/reseller/setacls.yml +40 -29
- data/spec/vcr_cassettes/whm/reseller/setresellerips.yml +42 -28
- data/spec/vcr_cassettes/whm/reseller/setresellerlimits.yml +41 -29
- data/spec/vcr_cassettes/whm/reseller/setresellermainip.yml +59 -43
- data/spec/vcr_cassettes/whm/reseller/setresellernameservers.yml +58 -43
- data/spec/vcr_cassettes/whm/reseller/setresellerpackagelimit.yml +61 -43
- data/spec/vcr_cassettes/whm/reseller/setupreseller.yml +41 -29
- data/spec/vcr_cassettes/whm/reseller/suspendreseller.yml +75 -44
- data/spec/vcr_cassettes/whm/reseller/terminatereseller.yml +83 -46
- data/spec/vcr_cassettes/whm/reseller/unsetupreseller.yml +41 -29
- data/spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml +46 -29
- data/spec/vcr_cassettes/whm/server/addip.yml +24 -15
- data/spec/vcr_cassettes/whm/server/applist.yml +22 -15
- data/spec/vcr_cassettes/whm/server/delip.yml +23 -15
- data/spec/vcr_cassettes/whm/server/disk_usage.yml +45 -0
- data/spec/vcr_cassettes/whm/server/edit_hook.yml +44 -0
- data/spec/vcr_cassettes/whm/server/gethostname.yml +22 -15
- data/spec/vcr_cassettes/whm/server/getlanglist.yml +22 -15
- data/spec/vcr_cassettes/whm/server/gettweaksetting.yml +44 -0
- data/spec/vcr_cassettes/whm/server/list_hooks.yml +44 -0
- data/spec/vcr_cassettes/whm/server/listips.yml +22 -15
- data/spec/vcr_cassettes/whm/server/loadavg.yml +26 -19
- data/spec/vcr_cassettes/whm/server/lookup_nameserver_ip.yml +44 -0
- data/spec/vcr_cassettes/whm/server/my_function.yml +59 -43
- data/spec/vcr_cassettes/whm/server/nvget.yml +22 -15
- data/spec/vcr_cassettes/whm/server/nvset.yml +22 -15
- data/spec/vcr_cassettes/whm/server/reboot.yml +22 -15
- data/spec/vcr_cassettes/whm/server/sethostname.yml +24 -15
- data/spec/vcr_cassettes/whm/server/setresolvers.yml +23 -15
- data/spec/vcr_cassettes/whm/server/settweaksetting.yml +44 -0
- data/spec/vcr_cassettes/whm/server/showbw.yml +22 -15
- data/spec/vcr_cassettes/whm/server/systemloadavg.yml +40 -29
- data/spec/vcr_cassettes/whm/server/themes.yml +38 -0
- data/spec/vcr_cassettes/whm/server/version.yml +22 -15
- data/spec/vcr_cassettes/whm/transfer_tool/check.yml +44 -0
- data/spec/vcr_cassettes/whm/transfer_tool/create.yml +72 -0
- data/spec/vcr_cassettes/whm/transfer_tool/enqueue.yml +44 -0
- data/spec/vcr_cassettes/whm/transfer_tool/pause.yml +44 -0
- data/spec/vcr_cassettes/whm/transfer_tool/show_log.yml +44 -0
- data/spec/vcr_cassettes/whm/transfer_tool/start.yml +44 -0
- data/spec/vcr_cassettes/whm/transfer_tool/status.yml +44 -0
- data/spec/vcr_cassettes/whm/transfer_tool/validate_user.yml +44 -0
- data/spec/vcr_cassettes/whostmgr/ssl/create.yml +219 -0
- data/spec/vcr_cassettes/whostmgr/ssl/remove.yml +172 -0
- data/spec/vcr_cassettes/whostmgr/ssl/remove_data.yml +179 -0
- data/spec/whm/account_spec.rb +90 -249
- data/spec/whm/base_spec.rb +3 -7
- data/spec/whm/cert_spec.rb +110 -0
- data/spec/whm/dns_spec.rb +37 -155
- data/spec/whm/reseller_spec.rb +46 -114
- data/spec/whm/server_spec.rb +142 -156
- data/spec/whm/transfer_tool_spec.rb +172 -0
- data/spec/whm/whm_spec.rb +8 -8
- data/spec/whostmgr/ssl_spec.rb +55 -0
- metadata +528 -108
- data/.gitignore +0 -10
- data/.rspec +0 -2
- data/.rvmrc +0 -49
- data/.travis.yml +0 -11
- data/lib/lumberg/whm/args.rb +0 -113
- data/lib/net_http_hacked.rb +0 -42
- data/lumberg.gemspec +0 -28
- data/spec/vcr_cassettes/whm/server/response_type.yml +0 -85
- data/spec/whm/args_spec.rb +0 -179
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/json-api/pause_transfer_session?api.version=1&transfer_session_id=x
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
Accept-Encoding:
|
13
|
+
- deflate
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.0
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.44.1.23
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Wed, 07 Jan 2015 13:36:27 GMT
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- text/plain; charset="utf-8"
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"metadata":{"command":"pause_transfer_session","result":"1","version":1,"reason":"OK"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 07 Jan 2015 13:36:27 GMT
|
44
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/json-api/fetch_transfer_session_log?api.version=1&logfile=master.log&transfer_session_id=x
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
Accept-Encoding:
|
13
|
+
- deflate
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.0
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.44.1.23
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Wed, 07 Jan 2015 13:18:00 GMT
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- text/plain; charset="utf-8"
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"metadata":{"reason":"OK","command":"fetch_transfer_session_log","version":1,"result":"1"},"data":{"log":"{\"type\":\"control\",\"contents\":{\"action\":\"start\",\"child_number\":0},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"initiator\",\"child_number\":0,\"msg\":\"copyacct\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"version\",\"child_number\":0,\"msg\":\"1.9\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"queue_count\",\"child_number\":0,\"msg\":\"1\",\"queue\":\"TRANSFER\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"queue_size\",\"child_number\":0,\"msg\":\"73682944\",\"queue\":\"TRANSFER\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"queue_count\",\"child_number\":0,\"msg\":\"1\",\"queue\":\"RESTORE\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"queue_size\",\"child_number\":0,\"msg\":\"73682944\",\"queue\":\"RESTORE\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"remotehost\",\"child_number\":0,\"msg\":\"192.168.1.100\"},\"pid\":\"30831\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"start\",\"item\":\"another\",\"logfile\":\"item-TRANSFER_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"queue\":\"TRANSFER\"},\"pid\":\"30833\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"process-item\",\"item\":\"another\",\"logfile\":\"item-TRANSFER_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"msg\":\"item-TRANSFER_AccountRemoteRoot_another\",\"queue\":\"TRANSFER\"},\"pid\":\"30833\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"start-item\",\"item\":\"another\",\"logfile\":\"item-TRANSFER_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"msg\":{\"size\":\"73682944\"},\"queue\":\"TRANSFER\"},\"pid\":\"30833\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"success-item\",\"item\":\"another\",\"logfile\":\"item-TRANSFER_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"msg\":{\"altered_items\":0,\"message\":null,\"dangerous_items\":0,\"contents\":{\"altered_items\":null,\"dangerous_items\":null,\"skipped_items\":null,\"warnings\":null},\"skipped_items\":0,\"warnings\":0,\"size\":\"73682944\"},\"queue\":\"TRANSFER\"},\"pid\":\"30833\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"complete\",\"child_number\":1,\"queue\":\"TRANSFER\"},\"pid\":\"30833\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"start\",\"item\":\"another\",\"logfile\":\"item-RESTORE_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"queue\":\"RESTORE\"},\"pid\":\"30835\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"process-item\",\"item\":\"another\",\"logfile\":\"item-RESTORE_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"msg\":\"item-RESTORE_AccountRemoteRoot_another\",\"queue\":\"RESTORE\"},\"pid\":\"30835\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"start-item\",\"item\":\"another\",\"logfile\":\"item-RESTORE_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"msg\":{\"size\":\"73682944\"},\"queue\":\"RESTORE\"},\"pid\":\"30835\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"success-item\",\"item\":\"another\",\"logfile\":\"item-RESTORE_AccountRemoteRoot_another\",\"item_type\":\"AccountRemoteRoot\",\"local_item\":\"another\",\"item_name\":\"Account\",\"child_number\":1,\"msg\":{\"altered_items\":0,\"message\":null,\"dangerous_items\":0,\"contents\":{\"altered_items\":[],\"dangerous_items\":[],\"skipped_items\":[],\"warnings\":[]},\"skipped_items\":0,\"warnings\":0,\"size\":\"73682944\"},\"queue\":\"RESTORE\"},\"pid\":\"30835\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"complete\",\"child_number\":1,\"queue\":\"RESTORE\"},\"pid\":\"30835\"}\n{\"type\":\"control\",\"contents\":{\"action\":\"complete\",\"child_number\":0},\"pid\":\"30831\"}\n"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 07 Jan 2015 13:18:00 GMT
|
44
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/json-api/start_transfer_session?api.version=1&transfer_session_id=x
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
Accept-Encoding:
|
13
|
+
- deflate
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.0
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.44.1.23
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Tue, 06 Jan 2015 19:36:46 GMT
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- text/plain; charset="utf-8"
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"data":{"pid":30831},"metadata":{"reason":"OK","result":"1","version":1,"command":"start_transfer_session"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Tue, 06 Jan 2015 19:36:46 GMT
|
44
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/json-api/get_transfer_session_state?api.version=1&transfer_session_id=x
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
Accept-Encoding:
|
13
|
+
- deflate
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.0
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.44.1.23
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Wed, 07 Jan 2015 13:13:35 GMT
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- text/plain; charset="utf-8"
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"data":{"state_name":"COMPLETED"},"metadata":{"reason":"OK","version":1,"result":"1","command":"get_transfer_session_state"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 07 Jan 2015 13:13:35 GMT
|
44
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/json-api/validate_system_user?api.version=1&user=another
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
Accept-Encoding:
|
13
|
+
- deflate
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.0
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.44.1.23
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Tue, 06 Jan 2015 16:05:59 GMT
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- text/plain; charset="utf-8"
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"data":{"reserved":0,"valid_for_transfer":1,"exists":0,"valid_for_new":1},"metadata":{"version":1,"result":"1","command":"validate_system_user","reason":"OK"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Tue, 06 Jan 2015 16:05:59 GMT
|
44
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,219 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/scripts2/dogencrt?countryName=US&domains=myhost.com&emailAddress=test@myhost.com&localityName=houston&noemail=1&organizationName=Company&organizationalUnitName=Dept&pass=abc123&stateOrProvinceName=TX&xemail=
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v0.8.9
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.40.1.11
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Wed, 19 Feb 2014 15:45:28 GMT
|
35
|
+
Content-Type:
|
36
|
+
- text/html; charset=utf-8
|
37
|
+
body:
|
38
|
+
encoding: ASCII-8BIT
|
39
|
+
string: !binary |-
|
40
|
+
CgoKCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwg
|
41
|
+
MS4wIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94
|
42
|
+
aHRtbDEvRFREL3hodG1sMS10cmFuc2l0aW9uYWwuZHRkIj4KPGh0bWwgeG1s
|
43
|
+
bnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIGRpcj0ibHRyIj4K
|
44
|
+
ICAgIDxoZWFkPgogICAgICAgIDwhLS0gSFRNTCBIRUFEIFNFQ1RJT04gLS0+
|
45
|
+
CiAgICAgICAgPCEtLSBUaXRsZSAtLT4KICAgIC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tZXMubGVuZ3Ro
|
77
|
+
OyBpIDwgbGVuOyBpKyspIHsKICAgICAgICAgICAgICAgIGlmKGZyYW1lc1tp
|
78
|
+
XS5uYW1lID09PSdtYWluRnJhbWUnKSB7CiAgICAgICAgICAgICAgICAgICAg
|
79
|
+
cmV0dXJuIHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0K
|
80
|
+
ICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH07CiAgICAgICAg
|
81
|
+
Ly8gSW52ZXN0aWdhdGUgaWYgdGhpcyBpcyBuZWVkZWQuCiAgICAgICAgWUFI
|
82
|
+
T08udXRpbC5FdmVudC5vbkRPTVJlYWR5KCBmdW5jdGlvbigpIHsKICAgICAg
|
83
|
+
ICAgICAgLy8gUHJldmlvdXMgY29kZSB0byBoaWRlIGJyZWFkY3J1bWJzLgog
|
84
|
+
ICAgICAgICAgICAvKmlmIChwYXJlbnQgJiYgcGFyZW50LmZyYW1lcyAmJiBw
|
85
|
+
YXJlbnQuZnJhbWVzWzJdICYmIHBhcmVudC5mcmFtZXNbMl0ubmFtZSE9J21h
|
86
|
+
aW5GcmFtZScpIHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LndyaXRlbG4o
|
87
|
+
IjxzdHlsZSB0eXBlPSd0ZXh0L2Nzcyc+LmhpZGVCcmVhZGNydW1icyB7ZGlz
|
88
|
+
cGxheTpub25lfTwvc3R5bGU+Iik7CiAgICAgICAgICAgIH0qLwogICAgICAg
|
89
|
+
ICAgICBpZiAocGFyZW50LmZyYW1lcy5jb21tYW5kZXIgJiYgcGFyZW50LmZy
|
90
|
+
YW1lcy5jb21tYW5kZXIuY29tbWFuZGVyKSB7CiAgICAgICAgICAgICAgICBZ
|
91
|
+
QUhPTy51dGlsLkV2ZW50Lm9uKHdpbmRvdywgJ2xvYWQnLAogICAgICAgICAg
|
92
|
+
ICAgICAgICAgIGZ1bmN0aW9uKG8pIHsKICAgICAgICAgICAgICAgICAgICAg
|
93
|
+
ICAgcGFyZW50LmZyYW1lcy5jb21tYW5kZXIuY29tbWFuZGVyLnV0aWwuc2Vs
|
94
|
+
ZWN0QWN0aXZlUGFnZUZyb21CcmVhZGNydW1iKCk7CiAgICAgICAgICAgICAg
|
95
|
+
ICB9KTsKICAgICAgICAgICAgfQogICAgICAgIH0gKTsKCiAgICAgICAgLy8g
|
96
|
+
b25Db250ZW50UmVhZHkgc2hvdWxkIGJlIHVzZWQgZm9yIGxvYWRpbmcgYnJl
|
97
|
+
YWRjcnVtYnMgaW5zdGVhZCBvZiBvbkRvbVJlYWR5CiAgICAgICAgLy8gYmVj
|
98
|
+
YXVzZSB0aGUgbmF2aWdhdGlvbiBwYXJ0IGxvYWRzIGZpcnN0IGFuZCB3ZSBk
|
99
|
+
byBub3QgbmVlZCB0byB3YWl0IGZvciB0aGUKICAgICAgICAvLyBlbnRpcmUg
|
100
|
+
cGFnZSB0byBiZSBsb2FkZWQuCiAgICAgICAgWUFIT08udXRpbC5FdmVudC5v
|
101
|
+
bkNvbnRlbnRSZWFkeSgibmF2aWdhdGlvbiIsIGJyZWFkY3J1bWJDb250ZW50
|
102
|
+
SGFuZGxlcik7CgogICAgICAgIC8qKgogICAgICAgICogSGFuZGxlcyBicmVh
|
103
|
+
ZGNydW1iIHJlbmRlcmluZyBvbiBwYWdlIGxvYWQuCiAgICAgICAgKgogICAg
|
104
|
+
ICAgICogQG1ldGhvZCBicmVhZGNydW1iQ29udGVudEhhbmRsZXIKICAgICAg
|
105
|
+
ICAqIEBwYXJhbSB7ZX0gZXZlbnQgb2JqZWN0CiAgICAgICAgKi8KICAgICAg
|
106
|
+
ICBmdW5jdGlvbiBicmVhZGNydW1iQ29udGVudEhhbmRsZXIoZSkgewogICAg
|
107
|
+
ICAgICAgICAvLyBjb2RlIHRvIHNob3cgaGlkZSBicmVhZGNydW1icy4KICAg
|
108
|
+
ICAgICAgICAgLy8gRGlzcGxheSBicmVhZGNydW1icyB3aGVuIHRoZSBwYWdl
|
109
|
+
IGhhcyBmcmFtZXMgYW5kICdtYWluRnJhbWUnIGlzIG9uZSBvZiB0aGUgZnJh
|
110
|
+
bWVzIG9yCiAgICAgICAgICAgIC8vIHdoZW4gaW5kaXZpZHVhbCBwYWdlcyBh
|
111
|
+
cmUgb3BlbmVkIGluIHNlcGFyYXRlIHRhYi4KICAgICAgICAgICAgaWYgKHBh
|
112
|
+
cmVudCAmJiBwYXJlbnQuZnJhbWVzICYmIHBhcmVudC5mcmFtZXMubGVuZ3Ro
|
113
|
+
ICYmICFtYWluRnJhbWVFeGlzdHMoKSkgewogICAgICAgICAgICAgICAgWUFI
|
114
|
+
T08udXRpbC5Eb20uYWRkQ2xhc3MoJ2JyZWFkY3J1bWJzQ29udGFpbmVyJywg
|
115
|
+
J2hpZGVCcmVhZGNydW1icycpOwogICAgICAgICAgICB9CiAgICAgICAgICAg
|
116
|
+
IGVsc2UgewogICAgICAgICAgICAgICAgWUFIT08udXRpbC5Eb20ucmVtb3Zl
|
117
|
+
Q2xhc3MoJ2JyZWFkY3J1bWJzQ29udGFpbmVyJywgJ2hpZGVCcmVhZGNydW1i
|
118
|
+
cycpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgPC9zY3JpcHQ+CiAg
|
119
|
+
ICA8ZGl2IGlkPSJicmVhZGNydW1ic0NvbnRhaW5lciIgY2xhc3M9ImhpZGVC
|
120
|
+
cmVhZGNydW1icyI+CiAgICAgICAgPHVsIGlkPSJicmVhZGNydW1ic19saXN0
|
121
|
+
IiBjbGFzcz0iYnJlYWRjcnVtYnMiPgogICAgICAgIDxsaT48YSBocmVmPSIv
|
122
|
+
c2NyaXB0cy9jb21tYW5kP1BGSUxFPW1haW4iPjxpbWcgYm9yZGVyPSIwIiBh
|
123
|
+
bHQ9J0hvbWUnIHNyYz0nL2NQYW5lbF9tYWdpY19yZXZpc2lvbl8xMzcwNTg3
|
124
|
+
NzEzL2ltYWdlcy9ob21lLnBuZycgLz48c3BhbiBjbGFzcz0iaW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M9InBhZ2VUaXRsZSI+CiAgICAgICAgICAgICAgICAg
|
141
|
+
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
|
142
|
+
ICAgICAgICAgICAgICAgICAgICAgICAgICA8aDE+PGltZyBzcmM9Ii9jUGFu
|
143
|
+
ZWxfbWFnaWNfcmV2aXNpb25fMTM3MDU4NzYxNC90aGVtZXMveC9pY29ucy9n
|
144
|
+
ZW5lcmF0ZV9zc2wuZ2lmIiBhbHQ9IiIvPiA8c3Bhbj5HZW5lcmF0ZSBhbiBT
|
145
|
+
U0wgQ2VydGlmaWNhdGUgYW5kIFNpZ25pbmcgUmVxdWVzdDwvc3Bhbj48L2gx
|
146
|
+
PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
|
147
|
+
IDwvZGl2PgogICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAg
|
148
|
+
ICAgIDwhLS0gUEFHRSBURU1QTEFURSdTIENPTlRFTlQgLS0+CiAgICAgICAg
|
149
|
+
ICAgICAgICAgICAgCgoKCjxwPgogICAgVGhlIHN5c3RlbSBoYXMgc3VjY2Vz
|
150
|
+
c2Z1bGx5IGdlbmVyYXRlZCB0aGUgPGFiYnIgdGl0bGU9IkNlcnRpZmljYXRl
|
151
|
+
IFNpZ25pbmcgUmVxdWVzdCIgY2xhc3M9ImluaXRpYWxpc20iPkNTUjwvYWJi
|
152
|
+
cj4gYW5kIHByaXZhdGUga2V5IGZvciDigJw8c3Ryb25nPm15aG9zdC5jb208
|
153
|
+
L3N0cm9uZz7igJ0uIFRoZSBzeXN0ZW0gYWxzbyBnZW5lcmF0ZWQgYSBzZWxm
|
154
|
+
LXNpZ25lZCBjZXJ0aWZpY2F0ZSB0aGF0IHlvdSBjYW4gdGVtcG9yYXJpbHkg
|
155
|
+
dXNlIHVudGlsIHlvdSByZWNlaXZlIGEgc2lnbmVkIGNlcnRpZmljYXRlIGZy
|
156
|
+
b20geW91ci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ICAg
|
172
|
+
ICAgICAgICAgCiAgICAgICAgICAgIDwvZGl2PgogICAgICAgIDwvZGl2Pgog
|
173
|
+
ICAgICAgIDxkaXY+CiAgICAgICAgICAgIDxkaXYgY2xhc3M9ImZpZWxkIj4K
|
174
|
+
ICAgICAgICAgICAgICAgIDxsYWJlbCBmb3I9ImtleSIgY2xhc3M9InRpdGxl
|
175
|
+
Ij5LZXk6PC9sYWJlbD4KICAgICAgICAgICAgICAgIDx0ZXh0YXJlYSByb3dz
|
176
|
+
PSIxOCIgY29scz0iNzAiIHJlYWRvbmx5PSJyZWFkb25seSIgZGlyPSJsdHIi
|
177
|
+
IGlkPSJrZXkiIGNsYXNzPSJvdXRwdXQtbW9ubyI+LS0tLS1CRUdJTiBSU0Eg
|
178
|
+
UFJJVkFURSBLRVktLS0tLQpSRU1PVkVECi0tLS0tRU5EIFJTQSBQUklWQVRF
|
179
|
+
IEtFWS0tLS0tCjwvdGV4dGFyZWE+CiAgICAgICAgICAgIDwvZGl2PgogICAg
|
180
|
+
ICAgIDwvZGl2PgogICAgPC9maWVsZHNldD4KPC9mb3JtPgoKCjxkaXYgY2xh
|
181
|
+
c3M9InJldHVybi1saW5rIj4KPGI+WzwvYj4gPGEgaHJlZj0iL3NjcmlwdHMy
|
182
|
+
L2dlbmNydGh0bWwiPkdvIEJhY2s8L2E+PGI+IF08L2I+CjwvZGl2PgoKICAg
|
183
|
+
ICAgICAgICAgICAgIDwvZGl2PgogICAgICAgICAgICAgICAgPCEtLSB0cmlh
|
184
|
+
bCBvciBkZXYgbGljZW5zZSB3YXJuaW5nIC0tPgogICAgICAgICAgICAgICAg
|
185
|
+
CiAgICAgICAgICAgIDwvZGl2PgoKICAgICAgICAgICAgICAgICAgICAgICAg
|
186
|
+
PGRpdiBpZD0ic3VwcG9ydENvbnRhaW5lciIgY2xhc3M9InNsaWRlQ29udGFp
|
187
|
+
bmVyIj4KICAgICAgICAgICAgICAgIDxkaXYgaWQ9InN1cHBvcnRJY29uIiBj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HR0cDovL2dvLmNw
|
204
|
+
YW5lbC5uZXQvaG93dG8iIHRhYmluZGV4PSItMSIgdGFyZ2V0PSJzdXBwb3J0
|
205
|
+
X3dobWRvY3MiPldITSBEb2N1bWVudGF0aW9uPC9hPgogICAgICAgICAgICAg
|
206
|
+
ICAgICAgIDxhIGhyZWY9Imh0dHA6Ly9nby5jcGFuZWwubmV0L2dldHN0YXJ0
|
207
|
+
ZWQiIHRhYmluZGV4PSItMSIgdGFyZ2V0PSJzdXBwb3J0X2NwYW5lbGRvY3Mi
|
208
|
+
PmNQYW5lbCBEb2N1bWVudGF0aW9uPC9hPgogICAgICAgICAgICAgICAgICAg
|
209
|
+
IDxhIGhyZWY9Ii9zY3JpcHRzMi9yZWFsc3VibWl0c3VwcG9ydCIgdGFiaW5k
|
210
|
+
ZXg9Ii0xIiB0YXJnZXQ9InN1cHBvcnRfY29udGFjdCI+Q29udGFjdCBjUGFu
|
211
|
+
ZWw8L2E+CiAgICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgPC9k
|
212
|
+
aXY+CgogICAgICAgICAgICAKCiAgICAgICAgPC9kaXY+CiAgICAgICAgPCEt
|
213
|
+
LSBGT09URVIgLS0+CiAgICAgICAgICAgIDwvYm9keT4KPC9odG1sPgoKPCEt
|
214
|
+
LSBXZWIgSG9zdCBNYW5hZ2VyIDExLjQwLjEuMTEgWzJdIChjKSBjUGFuZWws
|
215
|
+
IEluYy4gMjAxMwogICAgICAgICAgICBodHRwOi8vY3BhbmVsLm5ldC8gIFVu
|
216
|
+
YXV0aG9yaXplZCBjb3B5aW5nIGlzIHByb2hpYml0ZWQgLS0+Cg==
|
217
|
+
http_version:
|
218
|
+
recorded_at: Wed, 19 Feb 2014 15:45:30 GMT
|
219
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,172 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://myhost.com:2087/scripts2/realdelsslhost?host=lumberg-test.com
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- WHM root:iscool
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v0.8.8
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- cpsrvd/11.40.0.26
|
25
|
+
X-Keep-Alive-Count:
|
26
|
+
- '1'
|
27
|
+
Connection:
|
28
|
+
- Keep-Alive
|
29
|
+
Keep-Alive:
|
30
|
+
- timeout=70, max=200
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Date:
|
34
|
+
- Mon, 09 Dec 2013 20:25:13 GMT
|
35
|
+
Content-Type:
|
36
|
+
- text/html; charset=utf-8
|
37
|
+
body:
|
38
|
+
encoding: ASCII-8BIT
|
39
|
+
string: !binary |-
|
40
|
+
CjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4w
|
41
|
+
IFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRt
|
42
|
+
bDEvRFREL3hodG1sMS10cmFuc2l0aW9uYWwuZHRkIj4KPGh0bWwgeG1sbnM9
|
43
|
+
Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIGRpcj0ibHRyIj4KPGhl
|
44
|
+
YWQ+CiAgICA8dGl0bGU+V2ViIEhvc3QgTWFuYWdlciAxMS40MC4wLjI2IC0g
|
45
|
+
TWFuYWdlIFNTTCBIb3N0czwvdGl0bGU+CiAgICAgICAgPGxpbmsgcmVsPSJz
|
46
|
+
aG9ydGN1dCBpY29uIiBocmVmPSIvY1BhbmVsX21hZ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ICAgICAgICAg
|
78
|
+
cmV0dXJuIGZhbHNlOwogICAgICAgIH07CiAgICAgICAgLy8gSW52ZXN0aWdh
|
79
|
+
dGUgaWYgdGhpcyBpcyBuZWVkZWQuCiAgICAgICAgWUFIT08udXRpbC5FdmVu
|
80
|
+
dC5vbkRPTVJlYWR5KCBmdW5jdGlvbigpIHsKICAgICAgICAgICAgLy8gUHJl
|
81
|
+
dmlvdXMgY29kZSB0byBoaWRlIGJyZWFkY3J1bWJzLgogICAgICAgICAgICAv
|
82
|
+
KmlmIChwYXJlbnQgJiYgcGFyZW50LmZyYW1lcyAmJiBwYXJlbnQuZnJhbWVz
|
83
|
+
WzJdICYmIHBhcmVudC5mcmFtZXNbMl0ubmFtZSE9J21haW5GcmFtZScpIHsK
|
84
|
+
ICAgICAgICAgICAgICAgIGRvY3VtZW50LndyaXRlbG4oIjxzdHlsZSB0eXBl
|
85
|
+
PSd0ZXh0L2Nzcyc+LmhpZGVCcmVhZGNydW1icyB7ZGlzcGxheTpub25lfTwv
|
86
|
+
c3R5bGU+Iik7CiAgICAgICAgICAgIH0qLwogICAgICAgICAgICBpZiAocGFy
|
87
|
+
ZW50LmZyYW1lcy5jb21tYW5kZXIgJiYgcGFyZW50LmZyYW1lcy5jb21tYW5k
|
88
|
+
ZXIuY29tbWFuZGVyKSB7CiAgICAgICAgICAgICAgICBZQUhPTy51dGlsLkV2
|
89
|
+
ZW50Lm9uKHdpbmRvdywgJ2xvYWQnLAogICAgICAgICAgICAgICAgICAgIGZ1
|
90
|
+
bmN0aW9uKG8pIHsKICAgICAgICAgICAgICAgICAgICAgICAgcGFyZW50LmZy
|
91
|
+
YW1lcy5jb21tYW5kZXIuY29tbWFuZGVyLnV0aWwuc2VsZWN0QWN0aXZlUGFn
|
92
|
+
ZUZyb21CcmVhZGNydW1iKCk7CiAgICAgICAgICAgICAgICB9KTsKICAgICAg
|
93
|
+
ICAgICAgfQogICAgICAgIH0gKTsKCiAgICAgICAgLy8gb25Db250ZW50UmV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vYT4KICAgICAgICAgICAgICAgICAgICAgICAgPC9k
|
142
|
+
aXY+CiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgaWQ9InN1cHBvcnRQ
|
143
|
+
YW5lbCIgY2xhc3M9InNsaWRlUGFuZWwgc2hvdyI+CiAgICAgICAgICAgICAg
|
144
|
+
ICAgICAgICAgICAgICA8YSBocmVmPSJodHRwOi8vZ28uY3BhbmVsLm5ldC93
|
145
|
+
aG1mYXEiIHRhYmluZGV4PSItMSIgdGFyZ2V0PSJzdXBwb3J0X2ZhcSI+Y1Bh
|
146
|
+
bmVsICZhbXA7IFdITSBGQVE8L2E+CiAgICAgICAgICAgICAgICAgICAgICAg
|
147
|
+
ICAgICA8YSBocmVmPSJodHRwOi8vZ28uY3BhbmVsLm5ldC9jcGZvcnVtIiB0
|
148
|
+
YWJpbmRleD0iLTEiIHRhcmdldD0ic3VwcG9ydF9mb3J1bXMiPlN1cHBvcnQg
|
149
|
+
Rm9ydW1zPC9hPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgaHJl
|
150
|
+
Zj0iaHR0cDovL2dvLmNwYW5lbC5uZXQvaG93dG8iIHRhYmluZGV4PSItMSIg
|
151
|
+
dGFyZ2V0PSJzdXBwb3J0X3dobWRvY3MiPldITSBEb2N1bWVudGF0aW9uPC9h
|
152
|
+
PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj0iaHR0cDov
|
153
|
+
L2dvLmNwYW5lbC5uZXQvZ2V0c3RhcnRlZCIgdGFiaW5kZXg9Ii0xIiB0YXJn
|
154
|
+
ZXQ9InN1cHBvcnRfY3BhbmVsZG9jcyI+Y1BhbmVsIERvY3VtZW50YXRpb248
|
155
|
+
L2E+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSIvc2Ny
|
156
|
+
aXB0czIvcmVhbHN1Ym1pdHN1cHBvcnQiIHRhYmluZGV4PSItMSIgdGFyZ2V0
|
157
|
+
PSJzdXBwb3J0X2NvbnRhY3QiPkNvbnRhY3QgY1BhbmVsPC9hPgogICAgICAg
|
158
|
+
ICAgICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8
|
159
|
+
L2Rpdj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
|
160
|
+
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGgxPjxzcGFuPjxp
|
161
|
+
bWcgc3JjPSIvY1BhbmVsX21hZ2ljX3JldmlzaW9uXzEzNzA1ODc1NTgvdGhl
|
162
|
+
bWVzL3gvaWNvbnMvbWFuYWdlX3NzbC5naWYiIGFsdD0iIiAvPjwvc3Bhbj4g
|
163
|
+
TWFuYWdlIFNTTCBIb3N0czwvaDE+CiAgICAgICAgICAgICAgICAgICAgICAg
|
164
|
+
ICAgICA8L2Rpdj4KICAgICAgICA8L2Rpdj4KICAgIDxoMz5TU0wgSG9zdCBS
|
165
|
+
ZW1vdmFsPC9oMz5Zb3UgaGF2ZSBzdWNjZXNzZnVsbHkgZGVsZXRlZCB0aGUg
|
166
|
+
U1NMIGhvc3QgZm9yIOKAnGx1bWJlcmctdGVzdC5jb23igJ0uPCEtLSBXZWIg
|
167
|
+
SG9zdCBNYW5hZ2VyIDExLjQwLjAuMjYgWzJdIChjKSBjUGFuZWwsIEluYy4g
|
168
|
+
MjAxMwogICAgICAgICAgICBodHRwOi8vY3BhbmVsLm5ldC8gIFVuYXV0aG9y
|
169
|
+
aXplZCBjb3B5aW5nIGlzIHByb2hpYml0ZWQgLS0+Cg==
|
170
|
+
http_version:
|
171
|
+
recorded_at: Mon, 09 Dec 2013 20:25:14 GMT
|
172
|
+
recorded_with: VCR 2.4.0
|