mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
refact: minor refactoring
This commit is contained in:
parent
b6af6ffc8b
commit
dc440f1cc6
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ func NewProxyFilter(type_, expression string) (error, *ProxyFilter) {
|
|||
return nil, filter
|
||||
}
|
||||
|
||||
func (f *ProxyFilter) Process(req *http.Request, response_body string) string {
|
||||
orig := response_body
|
||||
func (f *ProxyFilter) Process(req *http.Request, responseBody string) string {
|
||||
orig := responseBody
|
||||
filtered := f.Compiled.ReplaceAllString(orig, f.Replace)
|
||||
|
||||
// TODO: this sucks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue