Commit e539d10
Allow secure cookies (#279)
* go fmt
* Allow Secure Cookies
* gitignore
* Merging changes from arch4ngel/static-locations
* Dev/hacks (#2)
* Trying out some things to fix using a target domain that isn't a TLD+1
* Adding meta refresh to control panel page
* Added Timestamp for victims
* Hopefully fixed the html template
* More fixes
* One timestamp to rule them all....
* Fixed the htmltemplate for the control panel
* Always set "Access-Control-Allow-Origin" to the original origin
* Created a volume in the Dockerfile
* Indent the JSON cookies for the control panel
* Dev/control delete victim (#3)
* Added a delete button to the control panel UI
* Allow an empty user_id when deleting a victim
* Removed vendor directory
* fix cert serial
* Put cookies in a pre tag
* dont decode body before matching passwords... some people may have & in their password...
* sometimes we dont want to force everything to be proxied...
* fix regex
* go back to old password logic, if it happens again we can fix it in the matcher regexp (hopefully)
* added .microsoft file extension to regex variables in runtime/const.go so O365 websites can be rewritten
* Added a download data button that, when clicked, will go through the list of users and ONLY download the information of people who entered in a username or password. The items that get downloaded are the UUID, the username, and the Termination Status. The purpose of this functionality is to retrieve this data and combine it with data from GoPhish to create a nice word document to help track phished users and their actions. This can be done for the client or for our own records.
* Update const.go
removed 'ge' from regex
* add dist directory to .gitignore
* Track the user agent string and display with the cookies.
* patch cookie values with rules
* Redirect to the termination URL sooner.
* Option to disable the use of dynamic subdomains.
* Option to change which domain a request goes to based on the URL path. Useful in combination with disableDynamicSubdomains.
* fix failing test
* fix format string
* run tests on push
---------
Co-authored-by: Josh Roberts <joshua.roberts@stage2sec.com>
Co-authored-by: Josh <80706317+JoshRobertsS2@users.noreply.github.com>
Co-authored-by: dfktvS2 <64235915+dfktvS2@users.noreply.github.com>
Co-authored-by: peter cipolone <peter.cipolone@uvcyber.com>
Co-authored-by: ROBot_UV <81599676+UV-ROBot@users.noreply.github.com>
Co-authored-by: Paul Whiting <PaulWhitingS2@users.noreply.github.com>1 parent 3ebc29e commit e539d10
File tree
802 files changed
+679
-290130
lines changed- .github/workflows
- config
- core
- extra/docker
- log
- plugin
- runtime
- vendor
- github.com
- cespare/go-smaz
- dsnet/compress
- brotli
- internal
- errors
- manifoldco/go-base32
- miekg/dns
- tidwall
- btree
- buntdb
- gjson
- grect
- match
- pretty
- rtred
- base
- tinyqueue
- golang.org/x
- mod
- semver
- net
- bpf
- internal
- iana
- socket
- ipv4
- ipv6
- publicsuffix
- data
- sys
- execabs
- unix
- windows
- tools
- go
- gcexportdata
- internal/packagesdriver
- packages
- types/objectpath
- internal
- event
- core
- keys
- label
- tag
- gcimporter
- gocommand
- packagesinternal
- pkgbits
- tokeninternal
- typeparams
- typesinternal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
802 files changed
+679
-290130
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | | - | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
71 | | - | |
72 | | - | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | | - | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | | - | |
78 | | - | |
| 83 | + | |
| 84 | + | |
79 | 85 | | |
80 | 86 | | |
81 | | - | |
| 87 | + | |
82 | 88 | | |
83 | | - | |
84 | | - | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
90 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
91 | 103 | | |
92 | 104 | | |
93 | 105 | | |
| |||
141 | 153 | | |
142 | 154 | | |
143 | 155 | | |
144 | | - | |
145 | 156 | | |
146 | 157 | | |
147 | 158 | | |
| |||
177 | 188 | | |
178 | 189 | | |
179 | 190 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 191 | + | |
188 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
189 | 199 | | |
190 | 200 | | |
191 | 201 | | |
192 | | - | |
193 | 202 | | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
197 | | - | |
198 | 206 | | |
199 | 207 | | |
200 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
0 commit comments