Skip to content

Commit

Permalink
Merge branch 'master' into nonight/feature/send-operate
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rdfree committed Mar 31, 2022
2 parents 9ea75e0 + c8e1c50 commit 8161d0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/protos/grpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ service Yak {
// Fuzzer
rpc GetHistoryHTTPFuzzerTask(GetHistoryHTTPFuzzerTaskRequest) returns (HistoryHTTPFuzzerTaskDetail);
rpc QueryHistoryHTTPFuzzerTask(Empty) returns (HistoryHTTPFuzzerTasks);
rpc DeleteHistoryHTTPFuzzerTask(DeleteHistoryHTTPFuzzerTaskRequest) returns (Empty);
rpc HTTPFuzzer(FuzzerRequest) returns (stream FuzzerResponse);
rpc RedirectRequest(RedirectRequestParams) returns (FuzzerResponse);
rpc HTTPRequestMutate(HTTPRequestMutateParams) returns (MutateResult);
Expand Down Expand Up @@ -214,6 +215,10 @@ service Yak {
rpc QueryICMPTrigger(QueryICMPTriggerRequest) returns (QueryICMPTriggerResponse);
}

message DeleteHistoryHTTPFuzzerTaskRequest {
int32 Id = 1;
}

message RiskTableStats {
// 最近一次更新的漏洞信息
int64 LatestCreatedAtTimestamp = 1;
Expand Down
3 changes: 2 additions & 1 deletion app/renderer/src/main/src/pages/mitm/MITMPluginList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const MITMPluginList: React.FC<MITMPluginListProp> = (props) => {

return <AutoCard
bordered={false}
bodyStyle={{padding: 0}}
bodyStyle={{padding: 0, overflowY: "auto"}}
loading={!initialed}
title={<Space>
<Form size={"small"} onSubmitCapture={e => e.preventDefault()}>
Expand Down Expand Up @@ -179,6 +179,7 @@ export const MITMPluginList: React.FC<MITMPluginListProp> = (props) => {
{hooksItem.map(i => {
return <>
<MITMYakScriptLoader
key={i.name}
onSendToPatch={code => {
setScript(code)
setMode("hot-patch")
Expand Down

0 comments on commit 8161d0a

Please sign in to comment.