File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ The first step in reconnaissance is enumerating the available targets for a give
42
42
✨ * Learn how to set up Reaper's proxy [ using this guide] ( proxy_certs.md ) .*
43
43
44
44
Capture traffic by following these steps:
45
- 1 . Switch the ` Proxy on ` toggle at the top of the page Explore page in Reaper .
45
+ 1 . The proxy is on by default. It can be stopped and restarted using the ` Proxy on/off ` toggle at the top of the page Explore page.
46
46
2 . Configure your browser or other client to route requests through the proxy at ` localhost:8080 ` for both HTTP and HTTPS.
47
47
3 . Browse through your target app, targeting any interactions or workflows you want to test for vulnerabilities.
48
48
4 . The Explore page in Reaper will show an inventory of hosts and endpoints captured by the proxy.
Original file line number Diff line number Diff line change 1
1
package handlers
2
2
3
3
import (
4
+ "log"
5
+
4
6
"gorm.io/gorm"
5
7
6
8
ws "github.com/ghostsecurity/reaper/internal/handlers/websocket"
@@ -16,9 +18,16 @@ type Handler struct {
16
18
}
17
19
18
20
func NewHandler (pool * ws.Pool , db * gorm.DB ) * Handler {
21
+ proxy := proxy .NewProxy (pool , db )
22
+ // start proxy by default
23
+ err := proxy .Start ()
24
+ if err != nil {
25
+ log .Fatalf ("error starting proxy: %v" , err )
26
+ }
19
27
return & Handler {
20
- pool : pool ,
21
- db : db ,
28
+ proxy : proxy ,
29
+ pool : pool ,
30
+ db : db ,
22
31
}
23
32
}
24
33
You can’t perform that action at this time.
0 commit comments