inspec 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.rubocop.yml +65 -0
  4. data/.travis.yml +23 -0
  5. data/CHANGELOG.md +38 -0
  6. data/Gemfile +33 -0
  7. data/LICENSE +201 -0
  8. data/MAINTAINERS.md +28 -0
  9. data/MAINTAINERS.toml +42 -0
  10. data/README.md +257 -0
  11. data/Rakefile +47 -0
  12. data/bin/inspec +109 -0
  13. data/docs/ctl_inspec.rst +195 -0
  14. data/docs/dsl_inspec.rst +182 -0
  15. data/docs/readme.rst +100 -0
  16. data/docs/resources.rst +4319 -0
  17. data/docs/template.rst +51 -0
  18. data/examples/test-kitchen/.kitchen.yml +20 -0
  19. data/examples/test-kitchen/Berksfile +3 -0
  20. data/examples/test-kitchen/Gemfile +21 -0
  21. data/examples/test-kitchen/README.md +27 -0
  22. data/examples/test-kitchen/metadata.rb +7 -0
  23. data/examples/test-kitchen/recipes/default.rb +6 -0
  24. data/examples/test-kitchen/recipes/nginx.rb +30 -0
  25. data/examples/test-kitchen/test/integration/default/web_spec.rb +28 -0
  26. data/inspec.gemspec +30 -0
  27. data/lib/inspec.rb +20 -0
  28. data/lib/inspec/backend.rb +42 -0
  29. data/lib/inspec/dsl.rb +151 -0
  30. data/lib/inspec/log.rb +34 -0
  31. data/lib/inspec/metadata.rb +79 -0
  32. data/lib/inspec/plugins.rb +9 -0
  33. data/lib/inspec/plugins/resource.rb +62 -0
  34. data/lib/inspec/profile.rb +138 -0
  35. data/lib/inspec/profile_context.rb +170 -0
  36. data/lib/inspec/resource.rb +76 -0
  37. data/lib/inspec/rspec_json_formatter.rb +27 -0
  38. data/lib/inspec/rule.rb +170 -0
  39. data/lib/inspec/runner.rb +154 -0
  40. data/lib/inspec/shell.rb +66 -0
  41. data/lib/inspec/targets.rb +9 -0
  42. data/lib/inspec/targets/core.rb +27 -0
  43. data/lib/inspec/targets/dir.rb +67 -0
  44. data/lib/inspec/targets/file.rb +29 -0
  45. data/lib/inspec/targets/folder.rb +43 -0
  46. data/lib/inspec/targets/tar.rb +34 -0
  47. data/lib/inspec/targets/url.rb +39 -0
  48. data/lib/inspec/targets/zip.rb +47 -0
  49. data/lib/inspec/version.rb +7 -0
  50. data/lib/matchers/matchers.rb +221 -0
  51. data/lib/resources/apache.rb +29 -0
  52. data/lib/resources/apache_conf.rb +113 -0
  53. data/lib/resources/apt.rb +140 -0
  54. data/lib/resources/audit_policy.rb +63 -0
  55. data/lib/resources/auditd_conf.rb +56 -0
  56. data/lib/resources/auditd_rules.rb +53 -0
  57. data/lib/resources/bond.rb +65 -0
  58. data/lib/resources/bridge.rb +114 -0
  59. data/lib/resources/command.rb +57 -0
  60. data/lib/resources/csv.rb +32 -0
  61. data/lib/resources/directory.rb +15 -0
  62. data/lib/resources/etc_group.rb +150 -0
  63. data/lib/resources/file.rb +110 -0
  64. data/lib/resources/gem.rb +46 -0
  65. data/lib/resources/group.rb +132 -0
  66. data/lib/resources/host.rb +143 -0
  67. data/lib/resources/inetd_conf.rb +56 -0
  68. data/lib/resources/interface.rb +127 -0
  69. data/lib/resources/iptables.rb +65 -0
  70. data/lib/resources/json.rb +64 -0
  71. data/lib/resources/kernel_module.rb +40 -0
  72. data/lib/resources/kernel_parameter.rb +55 -0
  73. data/lib/resources/limits_conf.rb +55 -0
  74. data/lib/resources/login_def.rb +60 -0
  75. data/lib/resources/mysql.rb +81 -0
  76. data/lib/resources/mysql_conf.rb +116 -0
  77. data/lib/resources/mysql_session.rb +52 -0
  78. data/lib/resources/npm.rb +44 -0
  79. data/lib/resources/ntp_conf.rb +58 -0
  80. data/lib/resources/oneget.rb +63 -0
  81. data/lib/resources/os.rb +22 -0
  82. data/lib/resources/os_env.rb +34 -0
  83. data/lib/resources/package.rb +169 -0
  84. data/lib/resources/parse_config.rb +75 -0
  85. data/lib/resources/passwd.rb +93 -0
  86. data/lib/resources/pip.rb +75 -0
  87. data/lib/resources/port.rb +296 -0
  88. data/lib/resources/postgres.rb +37 -0
  89. data/lib/resources/postgres_conf.rb +87 -0
  90. data/lib/resources/postgres_session.rb +59 -0
  91. data/lib/resources/processes.rb +57 -0
  92. data/lib/resources/registry_key.rb +54 -0
  93. data/lib/resources/script.rb +34 -0
  94. data/lib/resources/security_policy.rb +73 -0
  95. data/lib/resources/service.rb +379 -0
  96. data/lib/resources/ssh_conf.rb +75 -0
  97. data/lib/resources/user.rb +374 -0
  98. data/lib/resources/windows_feature.rb +77 -0
  99. data/lib/resources/yaml.rb +23 -0
  100. data/lib/resources/yum.rb +154 -0
  101. data/lib/utils/convert.rb +12 -0
  102. data/lib/utils/detect.rb +15 -0
  103. data/lib/utils/find_files.rb +36 -0
  104. data/lib/utils/hash.rb +13 -0
  105. data/lib/utils/modulator.rb +12 -0
  106. data/lib/utils/parser.rb +61 -0
  107. data/lib/utils/simpleconfig.rb +115 -0
  108. data/tasks/maintainers.rb +213 -0
  109. data/test/docker_run.rb +156 -0
  110. data/test/docker_test.rb +51 -0
  111. data/test/helper.rb +200 -0
  112. data/test/integration/.kitchen.yml +42 -0
  113. data/test/integration/Berksfile +4 -0
  114. data/test/integration/cookbooks/os_prepare/metadata.rb +8 -0
  115. data/test/integration/cookbooks/os_prepare/recipes/apt.rb +20 -0
  116. data/test/integration/cookbooks/os_prepare/recipes/default.rb +9 -0
  117. data/test/integration/cookbooks/os_prepare/recipes/file.rb +21 -0
  118. data/test/integration/cookbooks/os_prepare/recipes/package.rb +26 -0
  119. data/test/integration/default/_debug_spec.rb +1 -0
  120. data/test/integration/default/apt_spec.rb +42 -0
  121. data/test/integration/default/file_spec.rb +109 -0
  122. data/test/integration/default/group_spec.rb +32 -0
  123. data/test/integration/default/kernel_module_spec.rb +17 -0
  124. data/test/integration/default/kernel_parameter_spec.rb +56 -0
  125. data/test/integration/default/package_spec.rb +11 -0
  126. data/test/integration/default/service_spec.rb +28 -0
  127. data/test/integration/default/user_spec.rb +44 -0
  128. data/test/resource/command_test.rb +33 -0
  129. data/test/resource/dsl_test.rb +45 -0
  130. data/test/resource/file_test.rb +130 -0
  131. data/test/resource/ssh_config.rb +9 -0
  132. data/test/resource/sshd_config.rb +9 -0
  133. data/test/test-extra.yaml +11 -0
  134. data/test/test.yaml +11 -0
  135. data/test/unit/mock/cmd/Get-NetAdapter +24 -0
  136. data/test/unit/mock/cmd/GetUserAccount +33 -0
  137. data/test/unit/mock/cmd/GetWin32Group +23 -0
  138. data/test/unit/mock/cmd/PATH +1 -0
  139. data/test/unit/mock/cmd/Resolve-DnsName +26 -0
  140. data/test/unit/mock/cmd/Test-NetConnection +4 -0
  141. data/test/unit/mock/cmd/auditctl +7 -0
  142. data/test/unit/mock/cmd/auditpol +2 -0
  143. data/test/unit/mock/cmd/brew-info-jq +1 -0
  144. data/test/unit/mock/cmd/chage-l-root +7 -0
  145. data/test/unit/mock/cmd/dpkg-s-curl +21 -0
  146. data/test/unit/mock/cmd/dscl +5 -0
  147. data/test/unit/mock/cmd/etc-apt +7 -0
  148. data/test/unit/mock/cmd/find-etc-rc-d-name-S +12 -0
  149. data/test/unit/mock/cmd/find-net-interface +9 -0
  150. data/test/unit/mock/cmd/gem-list-local-a-q-rubocop +1 -0
  151. data/test/unit/mock/cmd/get-net-tcpconnection +24 -0
  152. data/test/unit/mock/cmd/get-netadapter-binding-bridge +4 -0
  153. data/test/unit/mock/cmd/get-package-firefox +30 -0
  154. data/test/unit/mock/cmd/get-package-ruby +18 -0
  155. data/test/unit/mock/cmd/get-service-dhcp +10 -0
  156. data/test/unit/mock/cmd/get-windows-feature +7 -0
  157. data/test/unit/mock/cmd/getent-hosts-example.com +1 -0
  158. data/test/unit/mock/cmd/getent-passwd-root +1 -0
  159. data/test/unit/mock/cmd/id-chartmann +1 -0
  160. data/test/unit/mock/cmd/id-root +1 -0
  161. data/test/unit/mock/cmd/initctl-show-config-ssh +3 -0
  162. data/test/unit/mock/cmd/initctl-status-ssh +1 -0
  163. data/test/unit/mock/cmd/iptables-s +6 -0
  164. data/test/unit/mock/cmd/launchctl-list +3 -0
  165. data/test/unit/mock/cmd/ls-1-etc-init.d +2 -0
  166. data/test/unit/mock/cmd/ls-sys-class-net-br +2 -0
  167. data/test/unit/mock/cmd/lsmod +2 -0
  168. data/test/unit/mock/cmd/lsof-np-itcp +4 -0
  169. data/test/unit/mock/cmd/netstat-tulpen +5 -0
  170. data/test/unit/mock/cmd/npm-ls-g--json-bower +9 -0
  171. data/test/unit/mock/cmd/pacman-qi-curl +21 -0
  172. data/test/unit/mock/cmd/ping-example.com +6 -0
  173. data/test/unit/mock/cmd/pip-show-jinja2 +11 -0
  174. data/test/unit/mock/cmd/ps-aux +3 -0
  175. data/test/unit/mock/cmd/pw-usershow-root-7 +1 -0
  176. data/test/unit/mock/cmd/reg_schedule +1 -0
  177. data/test/unit/mock/cmd/rpm-qia-curl +24 -0
  178. data/test/unit/mock/cmd/sbin_sysctl +1 -0
  179. data/test/unit/mock/cmd/secedit-export +7 -0
  180. data/test/unit/mock/cmd/service-e +2 -0
  181. data/test/unit/mock/cmd/service-sendmail-onestatus +3 -0
  182. data/test/unit/mock/cmd/service-sshd-status +1 -0
  183. data/test/unit/mock/cmd/sockstat +5 -0
  184. data/test/unit/mock/cmd/success +0 -0
  185. data/test/unit/mock/cmd/systemctl-show-all-sshd +6 -0
  186. data/test/unit/mock/cmd/win32_product +8 -0
  187. data/test/unit/mock/cmd/yum-repolist-all +52 -0
  188. data/test/unit/mock/files/auditd.conf +4 -0
  189. data/test/unit/mock/files/bond0 +37 -0
  190. data/test/unit/mock/files/etcgroup +3 -0
  191. data/test/unit/mock/files/example.csv +6 -0
  192. data/test/unit/mock/files/inetd.conf +2 -0
  193. data/test/unit/mock/files/kitchen.yml +7 -0
  194. data/test/unit/mock/files/limits.conf +5 -0
  195. data/test/unit/mock/files/login.defs +5 -0
  196. data/test/unit/mock/files/mysql.conf +8 -0
  197. data/test/unit/mock/files/mysql2.conf +2 -0
  198. data/test/unit/mock/files/ntp.conf +5 -0
  199. data/test/unit/mock/files/passwd +2 -0
  200. data/test/unit/mock/files/policyfile.lock.json +12 -0
  201. data/test/unit/mock/files/ssh_config +5 -0
  202. data/test/unit/mock/files/sshd_config +7 -0
  203. data/test/unit/mock/profiles/empty/metadata.rb +0 -0
  204. data/test/unit/mock/profiles/metadata/metadata.rb +1 -0
  205. data/test/unit/profile_context_test.rb +140 -0
  206. data/test/unit/profile_test.rb +49 -0
  207. data/test/unit/resources/apt_test.rb +46 -0
  208. data/test/unit/resources/audit_policy_test.rb +13 -0
  209. data/test/unit/resources/auditd_conf_test.rb +15 -0
  210. data/test/unit/resources/auditd_rules_test.rb +21 -0
  211. data/test/unit/resources/bond_test.rb +24 -0
  212. data/test/unit/resources/bridge_test.rb +56 -0
  213. data/test/unit/resources/csv_test.rb +35 -0
  214. data/test/unit/resources/etc_group_test.rb +37 -0
  215. data/test/unit/resources/gem_test.rb +20 -0
  216. data/test/unit/resources/group_test.rb +96 -0
  217. data/test/unit/resources/host_test.rb +38 -0
  218. data/test/unit/resources/inetd_conf_test.rb +15 -0
  219. data/test/unit/resources/interface_test.rb +54 -0
  220. data/test/unit/resources/iptables_test.rb +30 -0
  221. data/test/unit/resources/json_test.rb +36 -0
  222. data/test/unit/resources/kernel_module_test.rb +23 -0
  223. data/test/unit/resources/kernel_parameter_test.rb +13 -0
  224. data/test/unit/resources/limits_conf_test.rb +14 -0
  225. data/test/unit/resources/login_def_test.rb +16 -0
  226. data/test/unit/resources/mysql_conf_test.rb +14 -0
  227. data/test/unit/resources/npm_test.rb +20 -0
  228. data/test/unit/resources/ntp_conf_test.rb +16 -0
  229. data/test/unit/resources/oneget_test.rb +45 -0
  230. data/test/unit/resources/os_env_test.rb +13 -0
  231. data/test/unit/resources/package_test.rb +51 -0
  232. data/test/unit/resources/passwd_test.rb +24 -0
  233. data/test/unit/resources/pip_test.rb +15 -0
  234. data/test/unit/resources/port_test.rb +46 -0
  235. data/test/unit/resources/processes_test.rb +32 -0
  236. data/test/unit/resources/registry_key_test.rb +19 -0
  237. data/test/unit/resources/script_test.rb +19 -0
  238. data/test/unit/resources/security_policy_test.rb +16 -0
  239. data/test/unit/resources/service_test.rb +116 -0
  240. data/test/unit/resources/ssh_conf_test.rb +33 -0
  241. data/test/unit/resources/user_test.rb +93 -0
  242. data/test/unit/resources/windows_feature.rb +17 -0
  243. data/test/unit/resources/yaml_test.rb +34 -0
  244. data/test/unit/resources/yum_test.rb +68 -0
  245. data/test/unit/simpleconfig_test.rb +80 -0
  246. data/test/unit/utils/content_parser_test.rb +30 -0
  247. metadata +555 -0
@@ -0,0 +1,7 @@
1
+ Last password change : Aug 14, 2015
2
+ Password expires : never
3
+ Password inactive : never
4
+ Account expires : never
5
+ Minimum number of days between password change : 0
6
+ Maximum number of days between password change : 99999
7
+ Number of days of warning before password expires : 7
@@ -0,0 +1,21 @@
1
+ Package: curl
2
+ Status: install ok installed
3
+ Priority: optional
4
+ Section: web
5
+ Installed-Size: 306
6
+ Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
7
+ Architecture: amd64
8
+ Multi-Arch: foreign
9
+ Version: 7.35.0-1ubuntu2
10
+ Depends: libc6 (>= 2.17), libcurl3 (= 7.35.0-1ubuntu2), zlib1g (>= 1:1.1.4)
11
+ Description: command line tool for transferring data with URL syntax
12
+ curl is a command line tool for transferring data with URL syntax, supporting
13
+ DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3,
14
+ POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP.
15
+ .
16
+ curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form
17
+ based upload, proxies, cookies, user+password authentication (Basic, Digest,
18
+ NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a
19
+ busload of other useful tricks.
20
+ Homepage: http://curl.haxx.se
21
+ Original-Maintainer: Alessandro Ghedini <ghedo@debian.org>
@@ -0,0 +1,5 @@
1
+ NFSHomeDirectory: /Users/chartmann
2
+ PrimaryGroupID: 20
3
+ RecordName: chartmann
4
+ UniqueID: 501
5
+ UserShell: /bin/zsh
@@ -0,0 +1,7 @@
1
+ deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu wily main
2
+ # deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu wily main
3
+ # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4
+ # newer versions of the distribution.
5
+
6
+ deb http://archive.ubuntu.com/ubuntu/ wily main restricted
7
+ deb-src http://archive.ubuntu.com/ubuntu/ wily main restricted
@@ -0,0 +1,12 @@
1
+ /etc/rc.d/rc0.d/S01halt
2
+ /etc/rc.d/rc0.d/S00killall
3
+ /etc/rc.d/rc2.d/S90crond
4
+ /etc/rc.d/rc2.d/S55sshd
5
+ /etc/rc.d/rc5.d/S90crond
6
+ /etc/rc.d/rc5.d/S55sshd
7
+ /etc/rc.d/rc1.d/S99single
8
+ /etc/rc.d/rc3.d/S90crond
9
+ /etc/rc.d/rc3.d/S55sshd
10
+ /etc/rc.d/rc4.d/S08ip6tables
11
+ /etc/rc.d/rc4.d/S90crond
12
+ /etc/rc.d/rc4.d/S55sshd
@@ -0,0 +1,9 @@
1
+ [speed]
2
+ 10000
3
+ [phys_switch_id]
4
+ [duplex]
5
+ full
6
+ [address]
7
+ 02:42:ac:11:00:11
8
+ [operstate]
9
+ up
@@ -0,0 +1 @@
1
+ rubocop (0.33.0, 0.32.1, 0.28.0)
@@ -0,0 +1,24 @@
1
+ [
2
+ {
3
+ "State": 2,
4
+ "Caption": null,
5
+ "Description": null,
6
+ "LocalAddress": "::",
7
+ "LocalPort": 135,
8
+ "RemoteAddress": "::",
9
+ "RemotePort": 0,
10
+ "DisplayName": null,
11
+ "Status": null
12
+ },
13
+ {
14
+ "State": 2,
15
+ "Caption": null,
16
+ "Description": null,
17
+ "LocalAddress": "192.168.10.157",
18
+ "LocalPort": 135,
19
+ "RemoteAddress": "0.0.0.0",
20
+ "RemotePort": 0,
21
+ "DisplayName": null,
22
+ "Status": null
23
+ }
24
+ ]
@@ -0,0 +1,4 @@
1
+ {
2
+ "Name": "Network Bridge",
3
+ "InterfaceDescription": "Microsoft Network Adapter Multiplexor Driver"
4
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "ProviderName": "Programs",
3
+ "Dependencies": [],
4
+ "Source": "",
5
+ "Status": "Installed",
6
+ "SearchKey": "Mozilla Firefox",
7
+ "FullPath": "",
8
+ "PackageFilename": "",
9
+ "FromTrustedSource": false,
10
+ "Summary": "Mozilla Firefox 40.0.3 (x86 en-US)",
11
+ "CanonicalId": "programs:Mozilla Firefox 40.0.3 (x86 en-US)/40.0.3",
12
+ "Metadata": {},
13
+ "SwidTagText": "",
14
+ "Name": "Mozilla Firefox 40.0.3 (x86 en-US)",
15
+ "Version": "40.0.3",
16
+ "VersionScheme": "unknown",
17
+ "Attributes": {
18
+ "Keys": [
19
+ "name",
20
+ "version",
21
+ "versionScheme"
22
+ ],
23
+ "Values": [
24
+ "Mozilla Firefox 40.0.3 (x86 en-US)",
25
+ "40.0.3",
26
+ "unknown"
27
+ ],
28
+ "Count": 3
29
+ }
30
+ }
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "ProviderName": "Programs",
4
+ "Status": "Installed",
5
+ "SearchKey": "Ruby 2.1.6-p336-x64",
6
+ "CanonicalId": "programs:Ruby 2.1.6-p336-x64/2.1.6-p336",
7
+ "Name": "Ruby 2.1.6-p336-x64",
8
+ "Version": "2.1.6-p336"
9
+ },
10
+ {
11
+ "ProviderName": "Programs",
12
+ "Status": "Installed",
13
+ "SearchKey": "Ruby 2.1.6-p336-x64",
14
+ "CanonicalId": "programs:Ruby 2.1.6-p336-x64/2.1.6-p336",
15
+ "Name": "Ruby 2.1.6-p336-x64",
16
+ "Version": "2.1.6-p336"
17
+ }
18
+ ]
@@ -0,0 +1,10 @@
1
+ {
2
+ "Service": {
3
+ "Name": "dhcp",
4
+ "DisplayName": "DHCP Client",
5
+ "Status": 4
6
+ },
7
+ "WMI": {
8
+ "StartMode": "Auto"
9
+ }
10
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "Name": "DHCP",
3
+ "DisplayName": "DHCP Server",
4
+ "Description": "Dynamic Host Configuration Protocol (DHCP) Server enables you to centrally configure, manage, and provide temporary IP addresses and related information for client computers.",
5
+ "Installed": false,
6
+ "InstallState": 0
7
+ }
@@ -0,0 +1 @@
1
+ 2606:2800:220:1:248:1893:25c8:1946 example.com
@@ -0,0 +1 @@
1
+ root:x:0:0:root:/root:/bin/bash
@@ -0,0 +1 @@
1
+ uid=501(chartmann) gid=20(staff) groups=20(staff),701(com.apple.sharepoint.group.1),12(everyone)
@@ -0,0 +1 @@
1
+ uid=0(root) gid=0(root) groups=0(root)
@@ -0,0 +1,3 @@
1
+ ssh
2
+ start on (filesystem or runlevel [2345])
3
+ stop on runlevel [!2345]
@@ -0,0 +1 @@
1
+ ssh start/running, process 1291
@@ -0,0 +1,6 @@
1
+ -P INPUT DROP
2
+ -P FORWARD DROP
3
+ -P OUTPUT ACCEPT
4
+ -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
5
+ -A INPUT -i eth0 -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT
6
+ -A INPUT -i eth0 -p tcp -m tcp --dport 80 -m state --state NEW -j ACCEPT
@@ -0,0 +1,3 @@
1
+ PID Status Label
2
+ 2892 0 org.openbsd.ssh-agent
3
+ - 0 com.apple.FilesystemUI
@@ -0,0 +1,2 @@
1
+ crond
2
+ sshd
@@ -0,0 +1,2 @@
1
+ eth1
2
+ eth2
@@ -0,0 +1,2 @@
1
+ Module Size Used by
2
+ bridge 73728 1 br_netfilter
@@ -0,0 +1,4 @@
1
+ COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
2
+ UserEvent 697 chartmann 4u IPv4 0xf0f511b94b566c77 0t0 UDP *:*
3
+ VBoxHeadl 6835 chartmann 21u IPv4 0xf0f511b96bd8db37 0t0 TCP 127.0.0.1:2022 (LISTEN)
4
+ VBoxHeadl 6835 chartmann 23u IPv4 0xf0f511b94cc8c5d7 0t0 UDP *:61197
@@ -0,0 +1,5 @@
1
+ Active Internet connections (only servers)
2
+ Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
3
+ tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 21699 1/sshd
4
+ tcp6 0 48 2601:1:ad80:1445::54776 2620:0:861:52:208::6667 LISTEN 0 21702 2043/pidgin
5
+ tcp6 0 0 :::22 :::* LISTEN 0 21701 1/sshd
@@ -0,0 +1,9 @@
1
+ {
2
+ "dependencies": {
3
+ "bower": {
4
+ "version": "1.4.1",
5
+ "from": "bower@*",
6
+ "resolved": "https://registry.npmjs.org/bower/-/bower-1.4.1.tgz"
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,21 @@
1
+ Name : curl
2
+ Version : 7.37.0-1
3
+ Description : An URL retrieval utility and library
4
+ Architecture : x86_64
5
+ URL : http://curl.haxx.se
6
+ Licenses : MIT
7
+ Groups : None
8
+ Provides : libcurl.so=4-64
9
+ Depends On : ca-certificates krb5 libssh2 openssl zlib
10
+ Optional Deps : None
11
+ Required By : pacman
12
+ Optional For : gnupg
13
+ Conflicts With : None
14
+ Replaces : None
15
+ Installed Size : 962.00 KiB
16
+ Packager : Dave Reisner <dreisner@archlinux.org>
17
+ Build Date : Wed May 21 17:55:21 2014
18
+ Install Date : Mon Jul 21 01:15:48 2014
19
+ Install Reason : Installed as a dependency for another package
20
+ Install Script : No
21
+ Validated By : Signature
@@ -0,0 +1,6 @@
1
+ PING example.com (93.184.216.34) 56(84) bytes of data.
2
+ 64 bytes from 93.184.216.34: icmp_seq=1 ttl=61 time=172 ms
3
+
4
+ --- example.com ping statistics ---
5
+ 1 packets transmitted, 1 received, 0% packet loss, time 0ms
6
+ rtt min/avg/max/mdev = 172.585/172.585/172.585/0.000 ms
@@ -0,0 +1,11 @@
1
+ ---
2
+ Metadata-Version: 2.0
3
+ Name: Jinja2
4
+ Version: 2.8
5
+ Summary: A small but fast and easy to use stand-alone template engine written in pure python.
6
+ Home-page: http://jinja.pocoo.org/
7
+ Author: Armin Ronacher
8
+ Author-email: armin.ronacher@active-4.com
9
+ License: BSD
10
+ Location: /Library/Python/2.7/site-packages
11
+ Requires: MarkupSafe
@@ -0,0 +1,3 @@
1
+ USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
2
+ root 1 0.0 0.0 18084 3228 ? Ss 14:15 0:00 /bin/bash
3
+ root 13 0.0 0.0 15284 2148 ? R+ 15:08 0:00 ps aux
@@ -0,0 +1 @@
1
+ root:*:0:0:Charlie &:/root:/bin/csh
@@ -0,0 +1 @@
1
+ 2
@@ -0,0 +1,24 @@
1
+ Name : curl
2
+ Version : 7.29.0
3
+ Release : 19.el7
4
+ Architecture: x86_64
5
+ Install Date: Thu Jun 18 12:38:01 2015
6
+ Group : Applications/Internet
7
+ Size : 535105
8
+ License : MIT
9
+ Signature : RSA/SHA256, Fri Jul 4 01:04:23 2014, Key ID 24c6a8a7f4a80eb5
10
+ Source RPM : curl-7.29.0-19.el7.src.rpm
11
+ Build Date : Mon Jun 9 23:19:16 2014
12
+ Build Host : worker1.bsys.centos.org
13
+ Relocations : (not relocatable)
14
+ Packager : CentOS BuildSystem <http://bugs.centos.org>
15
+ Vendor : CentOS
16
+ URL : http://curl.haxx.se/
17
+ Summary : A utility for getting files from remote servers (FTP, HTTP, and others)
18
+ Description :
19
+ curl is a command line tool for transferring data with URL syntax, supporting
20
+ FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP,
21
+ SMTP, POP3 and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP
22
+ uploading, HTTP form based upload, proxies, cookies, user+password
23
+ authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer
24
+ resume, proxy tunneling and a busload of other useful tricks.
@@ -0,0 +1 @@
1
+ 1
@@ -0,0 +1,7 @@
1
+ [System Access]
2
+ MaximumPasswordAge = 42
3
+ [Registry Values]
4
+ MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole\SecurityLevel=4,0
5
+ [Privilege Rights]
6
+ SeUndockPrivilege = *S-1-5-32-544
7
+ SeRemoteInteractiveLogonRight = *S-1-5-32-544,*S-1-5-32-555
@@ -0,0 +1,2 @@
1
+ /etc/rc.d/sshd
2
+ /etc/rc.d/sendmail
@@ -0,0 +1,3 @@
1
+ sendmail is running as pid 671.
2
+ sendmail_submit is running as pid 671.
3
+ sendmail_msp_queue is running as pid 674.
@@ -0,0 +1 @@
1
+ openssh-daemon (pid 1220) is running...
@@ -0,0 +1,5 @@
1
+ USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
2
+ root sendmail 671 3 tcp4 127.0.0.1:25 *:*
3
+ root sshd 668 4 tcp6 *:22 *:*
4
+ root sshd 668 4 tcp4 *:22 *:*
5
+ ? ? ? ? udp6 *:2049 *:*
File without changes
@@ -0,0 +1,6 @@
1
+ Id=sshd.service
2
+ Names=sshd.service
3
+ Description=OpenSSH server daemon
4
+ LoadState=loaded
5
+ ActiveState=active
6
+ SubState=running
@@ -0,0 +1,8 @@
1
+ {
2
+ "Name": "Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161",
3
+ "Version": "9.0.30729.6161",
4
+ "Vendor": "Microsoft Corporation",
5
+ "PackageCode": "{9C7D912C-6EDE-47A4-962E-7A83663440BA}",
6
+ "Caption": "Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161",
7
+ "Description": "Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161"
8
+ }
@@ -0,0 +1,52 @@
1
+ Config time: 0.006
2
+ Yum version: 3.4.3
3
+ base | 3.6 kB 00:00:00
4
+ epel/x86_64/metalink | 26 kB 00:00:00
5
+ epel | 4.3 kB 00:00:00
6
+ extras | 3.4 kB 00:00:00
7
+ updates | 3.4 kB 00:00:00
8
+ (1/3): epel/x86_64/group_gz | 169 kB 00:00:00
9
+ epel/x86_64/primary_db FAILED
10
+ https://ftp.fau.de/epel/7/x86_64/repodata/ccbc93c2ab37b82a6376c9562d2aec27b81112bc3c943e1871f7ed0318fe24b9-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
11
+ Trying other mirror.
12
+ (2/3): epel/x86_64/updateinfo | 349 kB 00:00:00
13
+ (3/3): epel/x86_64/primary_db | 3.5 MB 00:00:04
14
+ Loading mirror speeds from cached hostfile
15
+ * base: ftp.hosteurope.de
16
+ * epel: ftp-stud.hs-esslingen.de
17
+ * extras: mirror.informatik.hs-fulda.de
18
+ * updates: mirror.softaculous.com
19
+ Setting up Package Sacks
20
+ pkgsack time: 0.005
21
+ Repo-id : base/7/x86_64
22
+ Repo-name : CentOS-7 - Base
23
+ Repo-status : enabled
24
+ Repo-revision: 1427842153
25
+ Repo-updated : Tue Mar 31 22:50:46 2015
26
+ Repo-pkgs : 8652
27
+ Repo-size : 6.3 G
28
+ Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
29
+ Repo-baseurl : http://ftp.hosteurope.de/mirror/centos.org/7.1.1503/os/x86_64/ (9 more)
30
+ Repo-expire : 21600 second(s) (last: Sun Sep 6 10:20:46 2015)
31
+ Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
32
+
33
+ Repo-id : base-debuginfo/x86_64
34
+ Repo-name : CentOS-7 - Debuginfo
35
+ Repo-status : disabled
36
+ Repo-baseurl : http://debuginfo.centos.org/7/x86_64/
37
+ Repo-expire : 21600 second(s) (last: Unknown)
38
+ Repo-filename: /etc/yum.repos.d/CentOS-Debuginfo.repo
39
+
40
+ Repo-id : extras/7/x86_64
41
+ Repo-name : CentOS-7 - Extras
42
+ Repo-status : enabled
43
+ Repo-revision: 1441314199
44
+ Repo-updated : Thu Sep 3 21:03:33 2015
45
+ Repo-pkgs : 181
46
+ Repo-size : 742 M
47
+ Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
48
+ Repo-baseurl : http://mirror.informatik.hs-fulda.de/centos7.1.1503/extras/x86_64/ (9 more)
49
+ Repo-expire : 21600 second(s) (last: Sun Sep 6 10:20:48 2015)
50
+ Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
51
+
52
+ repolist: 18618