Commit Graph

349 Commits

Author SHA1 Message Date
Samson-W da61977969 Modify the check_audit_path method to pass check when audited record path does not exist in OS. 2020-04-16 17:21:08 +08:00
Samson-W 93031e98fe Update harbianaudit.sh 2020-04-15 15:49:18 +08:00
Samson-W 5ae5c84416 Add save iptables rules commands to harbianaudit.sh 2020-04-13 17:02:57 +08:00
Samson-W 3d2bae1173 Rename bin/harbianaudit to bin/harbianaudit.sh 2020-04-12 18:02:18 +08:00
Samson-W d4d97c6288 Add bash script for deb package. 2020-04-12 16:58:27 +08:00
Samson-W 0989b9f4e3 Modify variable name: *REDHAT to *CENTOS. 2020-03-06 16:02:11 +08:00
Samson-W 3b61a0e406 Modify methods name: *_redhat to *_centos. 2020-03-06 03:57:46 +08:00
Samson-W 4bb01e5c2e Modify audit and apply methods for CentOS 8 to 10.1.5 2020-03-04 14:50:07 +08:00
Samson-W e8b70e9bf7 Modify the values in 10.1.1 and 10.1.2 check items according to U_Red_Hat_Enterprise_Linux_7_V2R5. 2020-03-04 14:47:00 +08:00
Samson-W 38c4df36fb Update comment: CentOS8->CentOS 8. 2020-02-28 15:02:13 +08:00
Samson-W 6e1c9b36bb Update comment for Description of which operating systems are implemented. 2020-02-28 00:56:28 +08:00
Samson-W 20b68e21b5 Fix some bugs for 12.2 12.4 12.6 12.13, and test others(12.*) and add comments. 2020-02-24 05:09:17 +08:00
Samson-W ba36181d3a Modify audit method for 11.1 2020-02-20 01:55:32 +08:00
Samson-W 24fd4aacc2 Fix some bugs for 6.18 and lib 2020-01-17 04:04:54 +08:00
Samson-W 3cc483526b Modify 10.1.8 for CentOS8. 2020-01-16 05:00:39 +08:00
Samson-W 665e54898a Modify audit and apply methods for redhat/CentOS to 10.1.8 2020-01-16 04:27:58 +08:00
Samson-W cd82d799fc Modify audit and apply methods for redhat/CentOS to 10.1.9 10.1.10 2020-01-15 20:13:54 +08:00
Samson-W 0cf45160f4 Modify audit and apply methods for redhat/CentOS to 10.1.2 10.1.3 10.1.4 2020-01-15 03:45:17 +08:00
Samson-W 490ee96c94 Fix some bug for 10.1.1 2020-01-15 03:34:31 +08:00
Samson-W 13ae52fb76 Rename 9.2.13 and 9.2.17 2020-01-15 03:03:34 +08:00
Samson-W 623cfa4812 Fix a bug for 9.2.16 2020-01-15 02:59:42 +08:00
Samson-W 39dc43adb2 Modify audit and apply methods for redhat/CentOS to 9.2.15 9.2.16 9.2.17
Add reset_ok function.
2020-01-15 02:54:00 +08:00
Samson-W 1700f375a4 Fix a bug for 9.2.14 2020-01-15 00:06:57 +08:00
Samson-W 74a6bb379f Fix some bug for 9.2.14 2020-01-14 15:40:32 +08:00
Samson-W 9254968cea Modify audit and apply methods for redhat/CentOS to 9.2.14 2020-01-14 15:25:08 +08:00
Samson-W dc2a8d3a51 Modify audit and apply methods for redhat/CentOS to 9.2.14 2020-01-14 15:24:15 +08:00
Samson-W 88d444950a Modify audit and apply methods for redhat/CentOS to 9.2.12. 2020-01-14 12:06:47 +08:00
Samson-W 42b057347c Add add_line_file_after_pattern_lastline function.
Add audit and apply methods for redhat/CentOS to 9.2.11.
2020-01-13 16:08:51 +08:00
Samson-W e777a839e3 Modify 5.3 for CentOS8. 2020-01-08 17:27:47 +08:00
Samson-W f5b0d991c4 Fix a bug for 8.1.3 2020-01-07 13:39:10 +08:00
Samson-W ae142b1cf9 Modify 8.1.27 for CentOS. 2020-01-06 17:20:52 +08:00
Samson-W 8b3cecb3fa Fix a bug of check_audit_path function. 2020-01-06 16:41:15 +08:00
Samson-W b4a598ad18 Fix a bug for 2.25, and add uninstall_pkg methods. 2019-12-29 16:54:24 +08:00
Samson-W c2417d89ee Fix a bug for 10.1.6 2019-12-29 15:12:23 +08:00
Samson-W b7794be540 Fix a bug for 13.7 2019-12-28 17:02:19 +08:00
Samson-W ffa8e2b01f Fix a bug for 9.5 2019-12-28 16:53:15 +08:00
Samson-W 60daf8a4f6 Fix some bugs for CentOS8. 2019-12-28 16:38:34 +08:00
Samson-W fa9d907985 Fix some bugs for CentOS8. 2019-12-28 04:28:09 +08:00
Samson-W 912ba677ff Fix some bugs for CentOS8. 2019-12-28 03:51:09 +08:00
Samson-W 816c101241 Fix some bugs for CentOS8 2019-12-28 02:32:49 +08:00
Samson-W d98f6f1ca8 Fix a bug for 7.7.1 2019-12-28 00:43:53 +08:00
Samson-W 8c591a1ef0 Add audit and apply methods for redhat/CentOS to 7.4.2 7.7.1 2019-12-27 18:05:10 +08:00
Samson-W 7c85266947 Fix some bugs: tcp wrapper not be avaliable in CentOS8. 2019-12-27 14:29:32 +08:00
Samson-W 9a1ccdbcbf Fix 6.8 and 7.4.1, and add is_centos_8 method. 2019-12-23 02:13:49 +08:00
Samson-W 837125d368 Fix a bug for 6.17: install clamav in CentOS8. 2019-12-20 15:14:09 +08:00
Samson-W 33588912b3 Fix a bug for 6.2 2019-12-19 15:35:29 +08:00
Samson-W cce1204ad5 Rename 5.8 to 5.5 2019-12-18 14:56:33 +08:00
Samson-W ad6ecae6ac Fix a bug: when audit-all in CentOS, 10.1.7 have a error. 2019-12-17 15:29:49 +08:00
Samson-W 61327ff523 Fix a bug for 6.18 2019-10-18 03:23:30 +08:00
Samson-W 6a4de4e4d5 Fix some bugs for CentOS. 2019-10-17 15:36:19 +08:00