feat(ubuntu): add ubuntu 23.10(mantic) (#1750)
This commit is contained in:
		@@ -196,6 +196,9 @@ func GetEOL(family, release string) (eol EOL, found bool) {
 | 
			
		||||
			"23.04": {
 | 
			
		||||
				StandardSupportUntil: time.Date(2024, 1, 31, 23, 59, 59, 0, time.UTC),
 | 
			
		||||
			},
 | 
			
		||||
			"23.10": {
 | 
			
		||||
				StandardSupportUntil: time.Date(2024, 7, 31, 23, 59, 59, 0, time.UTC),
 | 
			
		||||
			},
 | 
			
		||||
		}[release]
 | 
			
		||||
	case constant.OpenSUSE:
 | 
			
		||||
		// https://en.opensuse.org/Lifetime
 | 
			
		||||
 
 | 
			
		||||
@@ -363,6 +363,14 @@ func TestEOL_IsStandardSupportEnded(t *testing.T) {
 | 
			
		||||
			stdEnded: false,
 | 
			
		||||
			extEnded: false,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			name:     "Ubuntu 23.10 supported",
 | 
			
		||||
			fields:   fields{family: Ubuntu, release: "23.10"},
 | 
			
		||||
			now:      time.Date(2024, 7, 31, 23, 59, 59, 0, time.UTC),
 | 
			
		||||
			found:    true,
 | 
			
		||||
			stdEnded: false,
 | 
			
		||||
			extEnded: false,
 | 
			
		||||
		},
 | 
			
		||||
		//Debian
 | 
			
		||||
		{
 | 
			
		||||
			name:     "Debian 8 supported",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							@@ -48,7 +48,7 @@ require (
 | 
			
		||||
	github.com/vulsio/go-exploitdb v0.4.7-0.20231017104626-201191637c48
 | 
			
		||||
	github.com/vulsio/go-kev v0.1.4-0.20231017105707-8a9a218d280a
 | 
			
		||||
	github.com/vulsio/go-msfdb v0.2.4-0.20231017104449-b705e6975831
 | 
			
		||||
	github.com/vulsio/gost v0.4.6-0.20231017094944-b2272b3bc9e7
 | 
			
		||||
	github.com/vulsio/gost v0.4.6-0.20231018164544-c4d0a39db372
 | 
			
		||||
	github.com/vulsio/goval-dictionary v0.9.5-0.20231017110023-3ae99de8d1c5
 | 
			
		||||
	go.etcd.io/bbolt v1.3.7
 | 
			
		||||
	golang.org/x/exp v0.0.0-20231006140011-7918f672742d
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							@@ -789,8 +789,8 @@ github.com/vulsio/go-kev v0.1.4-0.20231017105707-8a9a218d280a h1:pdV8P4krLPt2xxb
 | 
			
		||||
github.com/vulsio/go-kev v0.1.4-0.20231017105707-8a9a218d280a/go.mod h1:+Tl/94+ckHpnRgurzQMsuPr9rjZuzEv4kyVYouD3v1w=
 | 
			
		||||
github.com/vulsio/go-msfdb v0.2.4-0.20231017104449-b705e6975831 h1:K0SiMnTEH+uxXFkv7QFhmCVy6/U2rdojsd99P5Kw+qM=
 | 
			
		||||
github.com/vulsio/go-msfdb v0.2.4-0.20231017104449-b705e6975831/go.mod h1:yzjPeHw7Ba0HniSiRiFbxne5XSXmDu7PRrOBIsWa6mw=
 | 
			
		||||
github.com/vulsio/gost v0.4.6-0.20231017094944-b2272b3bc9e7 h1:gwWcGjkvtcogSlVvD7/9abYJHx0BmVjudrnKXwoo5k0=
 | 
			
		||||
github.com/vulsio/gost v0.4.6-0.20231017094944-b2272b3bc9e7/go.mod h1:+YjZF2zcmi1UFkHspF8EyLbe06tXOjvDSjon3SJ1jBI=
 | 
			
		||||
github.com/vulsio/gost v0.4.6-0.20231018164544-c4d0a39db372 h1:NisWi165rKBALMZdrZWDTPvLTYk/XGPYF6JHaLRObME=
 | 
			
		||||
github.com/vulsio/gost v0.4.6-0.20231018164544-c4d0a39db372/go.mod h1:+YjZF2zcmi1UFkHspF8EyLbe06tXOjvDSjon3SJ1jBI=
 | 
			
		||||
github.com/vulsio/goval-dictionary v0.9.5-0.20231017110023-3ae99de8d1c5 h1:kfqeMTa1Q3JRzulBv2zdA69khiYOnFkUhaSiwJ4X6TU=
 | 
			
		||||
github.com/vulsio/goval-dictionary v0.9.5-0.20231017110023-3ae99de8d1c5/go.mod h1:+FaS9XJ0lq4zmQ8qFYFS3b65tKkvIANpebHl3U42hqg=
 | 
			
		||||
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
 | 
			
		||||
 
 | 
			
		||||
@@ -61,6 +61,7 @@ func (ubu Ubuntu) supported(version string) bool {
 | 
			
		||||
		"2204": "jammy",
 | 
			
		||||
		"2210": "kinetic",
 | 
			
		||||
		"2304": "lunar",
 | 
			
		||||
		"2310": "mantic",
 | 
			
		||||
	}[version]
 | 
			
		||||
	return ok
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user