Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSquires committed Sep 16, 2024
1 parent e38d1d5 commit 6b40360
Show file tree
Hide file tree
Showing 35 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cortexes/model-0.2.28/axon/cell.guid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
41ac59fe4d8a573eff07bf86e37b287c
fa22e86b56ec1069d9ed2c6be38f2893
2 changes: 1 addition & 1 deletion cortexes/model-0.2.28/axon/cookie.secret
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2b42456fd40a71db9f3df8af43847d89
75b13263f5ebedf4de22bcb8325bbdd4
Binary file modified cortexes/model-0.2.28/axon/slabs/cell.lmdb/data.mdb
Binary file not shown.
2 changes: 1 addition & 1 deletion cortexes/model-0.2.28/cell.guid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
530ae14cbf8757039ec1ef210e062223
67fe008c2c95aa33e7a0a58c16b12aca
2 changes: 1 addition & 1 deletion cortexes/model-0.2.28/cookie.secret
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ff764804713b3c6453786d0c65f0b1c4
132354ab573a20d5a49b90aec2a57e76
2 changes: 1 addition & 1 deletion cortexes/model-0.2.28/jsonstor/cell.guid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8736a2eda1fa31df596410d5dc3fc925
fa264c7ecebd1b6862bc421d64fc10f7
2 changes: 1 addition & 1 deletion cortexes/model-0.2.28/jsonstor/cookie.secret
Original file line number Diff line number Diff line change
@@ -1 +1 @@
690022f846334d6235490c384bf38665
0bb1c7e86fd05da0259b5807d48bac90
Binary file modified cortexes/model-0.2.28/jsonstor/slabs/cell.lmdb/data.mdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--- {}
...
Binary file modified cortexes/model-0.2.28/slabs/cell.lmdb/data.mdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--- {}
...
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--- {}
...
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--- {}
...
18 changes: 18 additions & 0 deletions scripts/gen-0.2.28.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ async def main():
infork00 = {'view': fork00}
print(f'{fork00=}')

fork01 = await core.callStorm('return($lib.view.get().fork().iden)', opts=infork00)
infork01 = {'view': fork01}
print(f'{fork01=}')

q = r'''
// 22valid, 23valid
[( it:prod:soft=(prod, 22v, 23v)
Expand Down Expand Up @@ -303,6 +307,20 @@ async def main():
'''
await core.callStorm(q, opts=infork00)

# Primary and v2_2 valid in lower layer, v2_2 invalid in fork
q = r'''
it:sec:cpe="cpe:2.3:a:01generator:pireospay:-:*:*:*:*:prestashop:*:*"
[ :v2_2 = "cpe:/a:01generator:pireospay\r\n:-::~~~prestashop~~" ]
'''
await core.callStorm(q, opts=infork01)

# Primary and v2_2 invalid in lower layer, v2_2 valid in fork
q = r'''
it:sec:cpe="cpe:2.3:a:openbsd:openssh:7.4\r\n:*:*:*:*:*:*:*"
[ :v2_2 = "cpe:/a:openbsd:openssh:7.4" ]
'''
await core.callStorm(q, opts=infork01)

s_backup.backup(tmpdir, modldir)

if __name__ == '__main__':
Expand Down

0 comments on commit 6b40360

Please sign in to comment.