Skip to content

Commit

Permalink
fix: webfuzzer允许设置最大值20000 (#2121)
Browse files Browse the repository at this point in the history
  • Loading branch information
song-xiao-lin authored Nov 15, 2024
1 parent d6a37d0 commit de67117
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion app/renderer/src/main/src/pages/fuzzer/HTTPFuzzerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,6 @@ const HTTPFuzzerPage: React.FC<HTTPFuzzerPageProp> = (props) => {
setSuccessCount(0)
setFailedCount(0)
setRuntimeId("")
setFuzzerTableMaxData(DefFuzzerTableMaxData)
})

const retryRef = useRef<boolean>(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ import {YakitFormDraggerContent} from "@/components/yakitUI/YakitForm/YakitForm"
import {OutlineBadgecheckIcon} from "@/assets/icon/outline"
import {CacheDropDownGV} from "@/yakitGV"
import {ExtractorsPanel, MatchersPanel, MatchersPanelEditProps, VariablePanel} from "./FuzzerConfigPanels"
import {DefFuzzerTableMaxData} from "@/defaultConstants/HTTPFuzzerPage"
import {
matcherTypeList,
extractorTypeList,
Expand Down Expand Up @@ -489,7 +488,7 @@ export const HttpQueryAdvancedConfig: React.FC<HttpQueryAdvancedConfigProps> = R
type='horizontal'
size='small'
min={1}
max={DefFuzzerTableMaxData}
max={20000}
disabled={!isbuttonIsSendReqStatus}
/>
</Form.Item>
Expand Down

0 comments on commit de67117

Please sign in to comment.