Commit graph

171 commits

Author SHA1 Message Date
a804518ef6
Fixed sakisafecli to work with latest commit 2023-02-15 12:57:18 +01:00
e62bcfa9d8
Added template for downlaod link in browsers, curl and similars just spit the link. 2023-02-13 21:30:11 +01:00
5605143ffa
Version 2023-02-12 13:46:33 +01:00
4b06627b0a
Goddamit, emacs 2023-02-12 13:44:09 +01:00
4fcd649b0b
Alright fixed more bugs 2023-02-12 13:42:18 +01:00
dcea6b2a24
Bug fix 2023-02-12 13:29:44 +01:00
f52dcbb721
Add colors to the warnings 2023-02-12 10:19:16 +01:00
b8dd0be83b
More verbose error messages using the 'Carp' module and $ERRNO 2023-02-12 10:02:36 +01:00
c8f7473690
Added support for OpenBSD's pledge because i was bored. 2023-02-11 11:43:49 +01:00
92c502b4a6
better language :) :) 2023-02-09 15:47:26 +01:00
5aece18736
Fixed the nginx configuration on README.md 2023-02-02 14:57:39 +01:00
e8f03c430c
Added MIME types and stuff so the browser is able to show the file [experimental] 2022-12-30 08:52:51 +01:00
2d9e3fc94c
this code should be refactored 2022-12-19 18:34:17 +01:00
e28e8f54f8
Updated documentation 2022-11-30 15:04:25 +01:00
6d5632ee81
Installation instructions in the readme 2022-11-23 19:45:34 +01:00
e361669b87
Added feature to ban IP addresses and also a logger 2022-11-22 15:23:03 +01:00
80ef5e6ba2
append .txt to the filename if the filename is "-" 2022-11-21 13:02:00 +01:00
db06f1cdc4
Better index 2022-11-21 12:59:53 +01:00
7ef35ba9bd
Removed unnecessary files 2022-11-20 15:08:49 +01:00
5fbb1f5257
Renamed upload.cgi to sakisafe.pl 2022-11-20 15:07:45 +01:00
868ba54822
Allow post to / 2022-11-20 15:07:34 +01:00
84ec3c9bc1
Rewrote the shit using Mojo 2022-11-20 12:21:31 +01:00
b39bd3bc5b Added compilation option for sakisafecli to use strlcpy on Linux systems 2022-11-12 14:41:00 +01:00
955985b825 Make code better 2022-07-15 11:16:15 +02:00
9c8749e664 Clean code 2022-07-09 16:40:25 +02:00
957b87161c Added features about sakisafecli in the readme 2022-07-09 16:31:23 +02:00
300f9fe78c Updated readme 2022-07-09 16:27:34 +02:00
cdb7bdd148 Fix memory leak 2022-07-09 09:48:37 +02:00
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
1f60c083b5 Now HTTP uploads are not a mess to stdout 2022-07-08 20:53:45 +02:00
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
2daedef710 Add experimental scp support 2022-07-08 19:22:27 +02:00
272f41022b I was trolled by the FSF 2022-07-05 15:11:10 +02:00
cf163acb3e Changed to the BSD license 2022-07-05 15:06:46 +02:00
e43df05e80 Update readme and gitignore 2022-06-25 23:13:13 +02:00
64767aa30d Improved help message and added manpage entry for -C 2022-06-23 16:49:53 +02:00
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
a4db8e35e3 Added -x options (paste mode). And updated manpage referencing that switch. 2022-06-22 18:45:42 +02:00
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
3aa6ba02a7 Use curl_mime instead of the deprecated curl_formadd. Also removed the
token feature as nothing uses it.
2022-06-21 16:00:51 +02:00
3cf76d429e Apparently this works 2022-06-20 12:40:51 +02:00
76e713f5b1 Mr Matao 2022-06-20 12:38:25 +02:00
9e0b5bbf08 FUG _D 2022-06-20 12:36:38 +02:00
2bd36de5e1 damn 2022-06-20 12:31:02 +02:00
e9ea553fb0 Yet another fix 2022-06-20 12:25:25 +02:00
418fce13bf Modified makefile for FreeBSD porting 2022-06-20 12:21:22 +02:00
f36642ca74 Added makefile at the root and updated readme. 2022-06-09 19:21:09 +02:00
3945bbcdcb manpages written in mdoc and added a manpage for the configuration file. Also makefile installs the manpages 2022-06-09 19:11:47 +02:00
dbb3038f8f Made the thing better for BSD systems 2022-06-09 18:32:18 +02:00
qorg11
491e309c9d
nixx1 | Oh yeah I changed that to 'file' now by the way
I_NEED_MONEY | ...
I_NEED_MONEY | I added a `if` statement for that.
2022-05-24 14:17:12 +02:00