Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Song/feat/open http payloads #1605

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: 放开payloads
  • Loading branch information
song-xiao-lin committed Apr 23, 2024
commit 01610f778e7dbafa62b2e33708944cffd49b2f71
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
Tags: []
}),
SourceType: props.params?.SourceType || "mitm",
WithPayload: false,
WithPayload: toWebFuzzer,
RuntimeIDs: runTimeId && runTimeId.indexOf(",") !== -1 ? runTimeId.split(",") : undefined,
RuntimeId: runTimeId && runTimeId.indexOf(",") === -1 ? runTimeId : undefined
})
Expand Down Expand Up @@ -1842,24 +1842,24 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
}

// toWebFuzzer
// if (toWebFuzzer) {
// return [
// ID,
// Method,
// StatusCode,
// Url,
// HtmlTitle,
// WebPayloads,
// Tags,
// IPAddress,
// BodyLength,
// GetParamsTotal,
// ContentType,
// UpdatedAt,
// RequestSizeVerbose,
// action
// ]
// }
if (toWebFuzzer) {
return [
ID,
Method,
StatusCode,
Url,
HtmlTitle,
WebPayloads,
Tags,
IPAddress,
BodyLength,
GetParamsTotal,
ContentType,
UpdatedAt,
RequestSizeVerbose,
action
]
}

return [
ID,
Expand Down Expand Up @@ -2048,7 +2048,7 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
SourceType: props.params?.SourceType || "mitm",
ExcludeId: params.ExcludeId,
ExcludeInUrl: params.ExcludeInUrl,
WithPayload: false,
WithPayload: toWebFuzzer,
RuntimeIDs: runTimeId && runTimeId.indexOf(",") !== -1 ? runTimeId.split(",") : undefined,
RuntimeId: runTimeId && runTimeId.indexOf(",") === -1 ? runTimeId : undefined
}
Expand Down Expand Up @@ -2182,6 +2182,10 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
title: "Title",
key: "response"
},
{
title: "Payloads",
key: "payloads"
},
{
title: "Tags",
key: "tags"
Expand Down Expand Up @@ -2770,7 +2774,7 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
SourceType: props.params?.SourceType || "mitm",
ExcludeId: params.ExcludeId,
ExcludeInUrl: params.ExcludeInUrl,
WithPayload: false,
WithPayload: toWebFuzzer,
RuntimeIDs: runTimeId && runTimeId.indexOf(',') !== -1 ? runTimeId.split(",") : undefined,
RuntimeId: runTimeId && runTimeId.indexOf(',') === -1 ? runTimeId : undefined
}
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/src/main/src/pages/fuzzer/HTTPFuzzerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ export const defaultAdvancedConfigValue: AdvancedConfigValueProps = {
}

// WebFuzzer表格最多显示多少数据
export const FuzzerTableMaxData = 20000
export const FuzzerTableMaxData = 10000
export const defaultAdvancedConfigShow: AdvancedConfigShowProps = {
config: true,
rule: true
Expand Down