File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 33This software is in beta and has not yet been subject to formal security audit. It may lack adequate user input validation or other features.
44
55Therefore, gone is only intended for use on a secure network with trusted devices, such as a private LAN.
6+
7+ # Features
8+
9+ - basic authentication (via header or form field)
10+ - delay "tarpit" applied to requests failing auth
11+ - robust audit logging with time and event detail
12+ - files stored, indexed with randomly-selected id
13+ - global request rate limiting (throttle package)
Original file line number Diff line number Diff line change @@ -39,5 +39,8 @@ func (s *Storage) ServeWall(w http.ResponseWriter) {
3939 disposition := "attachment; filename=\" wall.txt\" "
4040 w .Header ().Set ("Content-Disposition" , disposition )
4141 w .Header ().Set ("Content-Type" , "text/plain" )
42- fmt .Fprintf (w , "%s" , s .WallContent )
42+ _ , err := fmt .Fprintf (w , "%s" , s .WallContent )
43+ if err != nil {
44+ return
45+ }
4346}
You can’t perform that action at this time.
0 commit comments