Skip to content

Commit

Permalink
Addig highlighting and search features
Browse files Browse the repository at this point in the history
  • Loading branch information
summitt committed Oct 8, 2023
1 parent 89d9770 commit 64a9ffe
Show file tree
Hide file tree
Showing 8 changed files with 593 additions and 423 deletions.
18 changes: 9 additions & 9 deletions NonHTTPProxy/src/josh/dao/Requests.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public class Requests {
private String original_str;
@Column(name = "protocol")
private String protocol;

@Column(name = "color")
private String color;

public Requests(){};

Expand All @@ -62,6 +63,7 @@ public Requests(int Index, byte[] requestResponse, byte[] original, String SrcIp
this.original_str =new String(original).replaceAll("[^\\x00-\\x7F]", "");
this.data_str = new String(requestResponse).replaceAll("[^\\x00-\\x7F]", "");
this.protocol = protocol;
this.color="";


}
Expand Down Expand Up @@ -192,12 +194,10 @@ public void setProtocol(String protocol){
this.protocol = protocol;
}
}








public void setColor(String color){
this.color = color;
}
public String getColor(){
return this.color;
}
}
Loading

0 comments on commit 64a9ffe

Please sign in to comment.