Skip to content

Commit

Permalink
Edit default rules
Browse files Browse the repository at this point in the history
Credit: RajUmadas on the CarveSystems/Mallory fork
ivision-research/Mallory@3ec5110
  • Loading branch information
Tokarak committed Jun 7, 2022
1 parent c88fe02 commit b5dfee7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ruleconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"direction":"c2s",
"passthru":"True"
},
{
"name":"FuzzS2C",
"action":rule.Fuzz(bit_flip_percentage=45, bof_injection_percentage=100, bit_flip_density=12),
"direction":"s2c",
"passthru":"True"
},
# {
# "name":"FuzzS2C",
# "action":rule.Fuzz(bit_flip_percentage=45, bof_injection_percentage=100, bit_flip_density=12),
# "direction":"s2c",
# "passthru":"True"
# },
{
"name":"default",
"action":rule.Debug()
Expand Down
17 changes: 17 additions & 0 deletions src/rules.ini
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,20 @@
passthru=True
action=Muck
muck_1=A/B/g
;
[DefaultFixGzip]
addr=*
port=*
direction=c2s
passthru=True
action=Muck
muck_1=gzip,deflate/ /1
muck_2=deflate/ /1
muck_3=gzip/ /1

[DefaultDebug]
addr=*
port=*
direction=*
passthru=False
action=Debug

0 comments on commit b5dfee7

Please sign in to comment.