Commit Graph

182 Commits (master)

Author SHA1 Message Date
Barrington 968a288866
Add support to ban extensions 2023-09-24 13:44:04 +02:00
Rawley 47d733b2f4
Add .perltidyrc, and format (#24)
* Add .perltidyrc, and format

* Format code

* Change tab size
2023-04-26 18:02:41 +02:00
Barrington 12d506219a
Create c-cpp.yml
this is a test it might be nuked
2023-04-24 16:26:07 +02:00
Barrington 72a3b42d36
Create c-cpp.yml
this is a test it might be nuked
2023-04-24 16:25:58 +02:00
Rawley ac77cbfe4b
Improve logging (#23)
* Greatly improve logging with Mojo::Log
2023-03-24 08:05:01 +01:00
Barrington 338c4c2771
Added POD documentation to sakisafe.pl 2023-03-15 14:54:25 +01:00
Rawley 1d53129435
Add Dockerfile (#22)
* added perl makefile

* fixup gitignore and eval

* add docker file
2023-03-14 13:14:48 +01:00
Rawley deb4318cd9
Add Makefile.PL and allow banned IP's to be derived from a file (#21)
* added perl makefile

* fixup gitignore and eval
2023-03-13 14:18:46 +01:00
Barrington 9af44501cc
Deleted a I that was there for free and removed an useless line 2023-03-10 14:57:17 +01:00
psydbernz d67de26e90
added Linux-specific build hints (#20)
Co-authored-by: Bernz Pallek <dev@berniepallek.ca>
2023-03-09 16:36:18 +01:00
Barrington 82422e6d37
Curl devs were very smart and decided to deprecated the
CURL_PROGRESSFUNCTION option that had 0 problems in my opinion and
decided to change it with CURL_XFERINFOFUNCTION thing which barely
works and had to do a very weird workaround so I don't get a floating
point exception just because. Well, it works and that's what matters.
2023-03-09 15:39:38 +01:00
Barrington a804518ef6
Fixed sakisafecli to work with latest commit 2023-02-15 12:57:18 +01:00
Barrington e62bcfa9d8
Added template for downlaod link in browsers, curl and similars just spit the link. 2023-02-13 21:30:11 +01:00
Barrington 5605143ffa
Version 2023-02-12 13:46:33 +01:00
Barrington 4b06627b0a
Goddamit, emacs 2023-02-12 13:44:09 +01:00
Barrington 4fcd649b0b
Alright fixed more bugs 2023-02-12 13:42:18 +01:00
Barrington dcea6b2a24
Bug fix 2023-02-12 13:29:44 +01:00
Barrington f52dcbb721
Add colors to the warnings 2023-02-12 10:19:16 +01:00
Barrington b8dd0be83b
More verbose error messages using the 'Carp' module and $ERRNO 2023-02-12 10:02:36 +01:00
Barrington c8f7473690
Added support for OpenBSD's pledge because i was bored. 2023-02-11 11:43:49 +01:00
Barrington 92c502b4a6
better language :) :) 2023-02-09 15:47:26 +01:00
Barrington 5aece18736
Fixed the nginx configuration on README.md 2023-02-02 14:57:39 +01:00
Barrington e8f03c430c
Added MIME types and stuff so the browser is able to show the file [experimental] 2022-12-30 08:52:51 +01:00
Barrington 2d9e3fc94c
this code should be refactored 2022-12-19 18:34:17 +01:00
Barrington e28e8f54f8
Updated documentation 2022-11-30 15:04:25 +01:00
Barrington 6d5632ee81
Installation instructions in the readme 2022-11-23 19:45:34 +01:00
Barrington e361669b87
Added feature to ban IP addresses and also a logger 2022-11-22 15:23:03 +01:00
Barrington 80ef5e6ba2
append .txt to the filename if the filename is "-" 2022-11-21 13:02:00 +01:00
Barrington db06f1cdc4
Better index 2022-11-21 12:59:53 +01:00
Barrington 7ef35ba9bd
Removed unnecessary files 2022-11-20 15:08:49 +01:00
Barrington 5fbb1f5257
Renamed upload.cgi to sakisafe.pl 2022-11-20 15:07:45 +01:00
Barrington 868ba54822
Allow post to / 2022-11-20 15:07:34 +01:00
Barrington 84ec3c9bc1
Rewrote the shit using Mojo 2022-11-20 12:21:31 +01:00
Barrington b39bd3bc5b Added compilation option for sakisafecli to use strlcpy on Linux systems 2022-11-12 14:41:00 +01:00
qorg11 955985b825 Make code better 2022-07-15 11:16:15 +02:00
qorg11 9c8749e664 Clean code 2022-07-09 16:40:25 +02:00
qorg11 957b87161c Added features about sakisafecli in the readme 2022-07-09 16:31:23 +02:00
qorg11 300f9fe78c Updated readme 2022-07-09 16:27:34 +02:00
qorg11 cdb7bdd148 Fix memory leak 2022-07-09 09:48:37 +02:00
qorg11 81e2129dd5 Moved the curl_mime thing inside the HTTP upload process, so there isn't a memory leak and the thing isn't allocated if it isn't needed. 2022-07-09 09:40:15 +02:00
qorg11 1f60c083b5 Now HTTP uploads are not a mess to stdout 2022-07-08 20:53:45 +02:00
qorg11 bfcc3b9d94 Cleaned the code, added the 'key' option to the config file (so you
can give a default ssh key) and added it to the manpages.
2022-07-08 20:49:19 +02:00
qorg11 2daedef710 Add experimental scp support 2022-07-08 19:22:27 +02:00
qorg11 272f41022b I was trolled by the FSF 2022-07-05 15:11:10 +02:00
qorg11 cf163acb3e Changed to the BSD license 2022-07-05 15:06:46 +02:00
qorg11 e43df05e80 Update readme and gitignore 2022-06-25 23:13:13 +02:00
qorg11 64767aa30d Improved help message and added manpage entry for -C 2022-06-23 16:49:53 +02:00
qorg11 1d71334340 Better documentation in the code
New flag: -C, which prints the current settings (Still have to add it to the manpage and help message)
2022-06-23 16:45:46 +02:00
qorg11 a4db8e35e3 Added -x options (paste mode). And updated manpage referencing that switch. 2022-06-22 18:45:42 +02:00
qorg11 7c8ebde582 Removed the store_links function, use the standard \033 escape
sequences. And created config.c which contains configuration file
related functions.
2022-06-21 16:18:07 +02:00